Skip to content

Updating/adding copilot-setup-steps.yaml to enable the Copilot coding agent to access Azure - #10

Open
robpitcher wants to merge 1 commit into
mainfrom
azd-enable-copilot-coding-agent-with-azure
Open

Updating/adding copilot-setup-steps.yaml to enable the Copilot coding agent to access Azure#10
robpitcher wants to merge 1 commit into
mainfrom
azd-enable-copilot-coding-agent-with-azure

Conversation

@robpitcher

Copy link
Copy Markdown
Owner

Update copilot-setup-steps.yml to use a federated credential to access Azure resources.

Final steps

NOTE: one final step, and you're ready to use the Copilot coding agent with Azure!

After this pull request merges, you'll need to update the Copilot coding agent's MCP settings (link) with
the following JSON to activate the Azure MCP server:

{
    "mcpServers": {
        "Azure": {
            "type": "local",
            "command": "npx",
            "args": [
                "-y",
                "@azure/mcp@latest",
                "server",
                "start"
            ],
            "tools": [
                "*"
            ]
        }
    }
}

Extending the managed identity's roles and scopes

By default, the identity is configured with the Reader role, on the resource group you created/selected. You can expand the role and scope for the identity, to fit better with your needs:

Some further instructions on how to assign roles:

Resources

  • coding-agent readme: (link)

@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants