Skip to content

docs(azure-mcp): add tenant + subscription prompt templates [Issue 159]#1666

Closed
Abhinav-ranish wants to merge 3 commits intomicrosoft:mainfrom
Abhinav-ranish:main
Closed

docs(azure-mcp): add tenant + subscription prompt templates [Issue 159]#1666
Abhinav-ranish wants to merge 3 commits intomicrosoft:mainfrom
Abhinav-ranish:main

Conversation

@Abhinav-ranish
Copy link

What does this PR do?

Adds a new documentation section, “Azure MCP Context Prompts”, with copy/paste prompt templates that help users set Microsoft Entra tenant and Azure subscription context once per conversation when using Azure MCP tools. This reduces repetitive prompting and helps avoid acquiring auth tokens for the wrong tenant.

The section includes:

  • Default context (tenant + subscription) template
  • Context confirmation template
  • One-request override template
  • Guidance for when only a subscription is provided (don’t guess tenant)
  • Safety prompt to confirm destructive operations
  • Troubleshooting steps for tenant/subscription mismatches (including cross-tenant access scenarios such as B2B/Lighthouse)

GitHub issue number?

Fixes #159

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

Thank you for your contribution @Abhinav-ranish! We will review the pull request and get back to you soon.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds end-user documentation to help set/confirm Microsoft Entra ID tenant and Azure subscription context once per conversation when using Azure MCP tools, reducing repeated prompting and tenant/token mismatches.

Changes:

  • Added a new doc page with copy/paste “Azure MCP Context Prompts” templates (default context, confirmation, overrides, safety, troubleshooting).
  • Linked the new prompt-templates doc from the Azure MCP Server README.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
servers/Azure.Mcp.Server/docs/azure-context-prompts.md New documentation page with tenant/subscription context prompt templates and troubleshooting guidance.
servers/Azure.Mcp.Server/README.md Adds a documentation link to the new context prompt templates page.

@Abhinav-ranish
Copy link
Author

@microsoft-github-policy-service agree

Abhinav-ranish and others added 2 commits February 6, 2026 16:44
co-pilot suggestion

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@g2vinay
Copy link
Contributor

g2vinay commented Feb 18, 2026

This work has been completed via #1744
Closing this.

@g2vinay g2vinay closed this Feb 18, 2026
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Azure MCP Server Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Provide sample prompt templates for users

2 participants