Skip to content

Commit 8dd1370

Browse files
committed
Edits
1 parent 3c09873 commit 8dd1370

1 file changed

Lines changed: 30 additions & 34 deletions

File tree

concepts/mcp-server/use-azure-ai-foundry.md

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,88 +6,84 @@ ms.author: eunicewaweru
66
ms.reviewer: FaithOmbongi
77
ms.subservice: ent-mcp-server
88
ms.topic: how-to
9-
ms.date: 03/03/2026
9+
ms.date: 04/08/2026
10+
ms.custom: msecd-doc-authoring-106
1011

1112
#customer intent: As a developer or IT administrator, I want to integrate Microsoft MCP Server for Enterprise into my Azure AI Foundry agent so that I can query Microsoft Entra data using natural language.
1213
---
1314

1415
# Use Microsoft MCP Server for Enterprise in Azure AI Foundry (preview)
1516

16-
Microsoft MCP Server for Enterprise can be integrated with Azure AI Foundry as a tool, enabling your AI agents to query Microsoft Entra data using natural language. This article explains how to configure and use the MCP Server in your Azure AI Foundry project.
17+
Microsoft MCP Server for Enterprise integrates with Azure AI Foundry as a tool, enabling your AI agents to query Microsoft Entra data using natural language. This article walks you through creating an app registration, connecting the MCP Server as a tool, and querying your organization's data from your Azure AI Foundry project.
18+
19+
## Prerequisites
1720

1821
> [!IMPORTANT]
19-
> Microsoft MCP Server for Enterprise is currently in Preview.
20-
> This information relates to a prerelease product that may be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
22+
> Microsoft MCP Server for Enterprise is currently in preview. This information relates to a prerelease product that might be substantially modified before it's released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
2123
>
2224
> Microsoft MCP Server for Enterprise is offered under the [Microsoft APIs Terms of Use](/legal/microsoft-apis/terms-of-use).
2325
24-
## Prerequisites
25-
26-
Before you begin, ensure you have:
27-
28-
- An Azure AI Foundry project and agent
29-
- Completed the [quick start steps](get-started.md) to provision the Microsoft MCP Server for Enterprise
30-
- **Application Administrator** or **Cloud Application Administrator** role in your Microsoft Entra tenant to create and configure app registrations and grant admin consent for API permissions
31-
- **Contributor** or higher permissions on the Azure AI Foundry project resource to connect tools
26+
- An Azure AI Foundry project and agent.
27+
- Completion of [Get started with the Microsoft MCP Server for Enterprise](get-started.md) to provision the MCP Server.
28+
- At least **Application Administrator** or **Cloud Application Administrator** role in your Microsoft Entra tenant to create and configure app registrations and grant admin consent for API permissions.
29+
- At least [**Contributor**](/azure/role-based-access-control/built-in-roles/general#contributor) permissions scoped to the Azure AI Foundry project resource to connect tools.
3230

3331
## Create and configure an app registration
3432

35-
To enable authentication between Azure AI Foundry and Microsoft MCP Server for Enterprise, you need to create a Microsoft Entra app registration and configure the necessary API permissions.
36-
37-
1. Follow the [app registration guide](../app-registration.md) to create a Microsoft Entra app and obtain the client ID.
33+
To enable authentication between Azure AI Foundry and Microsoft MCP Server for Enterprise, create a Microsoft Entra app registration and grant the necessary API permissions.
3834

39-
1. In your app registration, navigate to **Manage** > **API Permissions**.
35+
1. Follow the [app registration guide](../app-registration.md) to create a Microsoft Entra app and get the client ID.
4036

41-
1. Select **Add a permission**, then search for **Microsoft MCP Server for Enterprise**.
37+
1. In your app registration, go to **Manage** > **API Permissions**.
4238

43-
1. Select the permissions required for your scenarios.
39+
1. Select **Add a permission**, and then search for **Microsoft MCP Server for Enterprise**.
4440

45-
1. Select **Grant admin consent for [your tenant]** to authorize the permissions.
41+
1. Select the permissions required for your scenarios, and then select **Grant admin consent for [your tenant]** to authorize the permissions.
4642

4743
## Connect the MCP Server as a tool in Azure AI Foundry
4844

49-
After creating and configuring your app registration, connect the Microsoft MCP Server for Enterprise as a tool in your Azure AI Foundry project.
45+
After you configure your app registration, connect the Microsoft MCP Server for Enterprise as a tool in your Azure AI Foundry project.
5046

51-
1. In the [Azure AI Foundry portal](https://ai.azure.com/), ensure you're using the "New Foundry" UI and navigate to your project.
47+
1. In the [Azure AI Foundry portal](https://ai.azure.com/), make sure you're using the **New Foundry** UI and navigate to your project.
5248

53-
1. In the sidebar menu, select **Tools**, then search for **Microsoft MCP Server for Enterprise** in the **Catalog**.
49+
1. In the sidebar menu, select **Tools**, and then select **Connect a tool**.
5450

55-
1. Select **Connect** to begin the configuration.
51+
1. Under **Catalog**, search for **Microsoft MCP Server for Enterprise**, and then select **Create**.
5652

5753
1. Provide the following configuration:
58-
- **Name**: Enter a unique identifier for the tool
59-
- **Client ID**: Enter the app registration client ID from the previous section
60-
- **Token URL, Auth URL, and Refresh URL**: Replace `organizations` with your tenant ID if your Azure AI Foundry project and app registration are in different tenants; otherwise, leave as `organizations`
54+
- **Name**: Enter a unique identifier for the tool.
55+
- **Client ID**: Enter the app registration client ID from the previous section.
56+
- **Token URL, Auth URL, and Refresh URL**: Replace `organizations` with your tenant ID if your Azure AI Foundry project and app registration are in different tenants. Otherwise, leave `organizations` as the default value.
6157

62-
1. Select **Connect** and copy the **Redirect URL** provided.
58+
1. Select **Connect**, and then copy the **Redirect URL** provided.
6359

64-
1. Return to your Microsoft Entra app registration, navigate to **Authentication**, add the Redirect URL, and save your changes.
60+
1. Return to your Microsoft Entra app registration, go to **Authentication**, add the Redirect URL, and save your changes.
6561

6662
## Query Microsoft Entra data
6763

68-
After connecting the Microsoft MCP Server for Enterprise tool to your Azure AI Foundry agent, you can query your organization's data using natural language.
64+
After you connect the Microsoft MCP Server for Enterprise tool, add it to your agent and start querying your organization's data using natural language.
6965

7066
### Sign in and authorize access
7167

72-
When you first invoke the tool, you need to sign in and authorize access.
68+
When you first use the tool, sign in and authorize access.
7369

7470
1. Select **Open consent** when prompted to sign in.
7571

7672
1. Follow the authentication prompts to grant access.
7773

78-
1. If sign-in fails, an error code appears in the `/closeme` window. Decode this base64-encoded value to view detailed error information.
74+
1. If sign-in fails, an error code appears in the `/closeme` window. Decode this base64-encoded value to view the detailed error information.
7975

8076
1. Approve each MCP tool call as prompted during query execution.
8177

8278
### Example queries
8379

84-
You can ask questions such as:
80+
After you sign in, you can ask questions such as:
8581

8682
- "How many users are in my tenant?"
8783
- "Which users haven't signed in for the last 30 days?"
88-
- "Show me all guest users with admin roles"
84+
- "Show me all guest users with admin roles."
8985

90-
## Next steps
86+
## Related content
9187

9288
- [Overview of Microsoft MCP Server for Enterprise](overview.md)
9389
- [Sample prompts for Microsoft MCP Server for Enterprise](mcp-server-sample-prompts.md)

0 commit comments

Comments
 (0)