You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: concepts/mcp-server/use-azure-ai-foundry.md
+24-15Lines changed: 24 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
title: Use Microsoft MCP Server for Enterprise in Azure AI Foundry
3
3
description: "Learn how to add Microsoft MCP Server for Enterprise as a tool in your Azure AI Foundry AI Agent to query enterprise identity data using natural language."
4
-
author: junruotian
5
-
ms.author: junruotian
4
+
author: msewaweru
5
+
ms.author: eunicewaweru
6
6
ms.reviewer: FaithOmbongi
7
7
ms.subservice: ent-mcp-server
8
8
ms.topic: how-to
9
-
ms.date: 02/17/2026
9
+
ms.date: 03/03/2026
10
10
11
11
#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.
12
12
---
@@ -16,7 +16,7 @@ ms.date: 02/17/2026
16
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
17
18
18
> [!IMPORTANT]
19
-
> Microsoft MCP Server for Enterprise is currently in PREVIEW.
19
+
> Microsoft MCP Server for Enterprise is currently in Preview.
20
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.
21
21
>
22
22
> Microsoft MCP Server for Enterprise is offered under the [Microsoft APIs Terms of Use](/legal/microsoft-apis/terms-of-use).
@@ -26,11 +26,14 @@ Microsoft MCP Server for Enterprise can be integrated with Azure AI Foundry as a
26
26
Before you begin, ensure you have:
27
27
28
28
- An Azure AI Foundry project and agent
29
-
- Permissions to create and configure Microsoft Entra app registrations
30
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
31
32
32
33
## Create and configure an app registration
33
34
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
+
34
37
1. Follow the [app registration guide](../app-registration.md) to create a Microsoft Entra app and obtain the client ID.
35
38
36
39
1. In your app registration, navigate to **Manage** > **API Permissions**.
@@ -43,11 +46,13 @@ Before you begin, ensure you have:
43
46
44
47
## Connect the MCP Server as a tool in Azure AI Foundry
45
48
46
-
1. In the Azure AI Foundry portal, ensure you're using the "New Foundry" UI and navigate to your project.
49
+
After creating and configuring your app registration, connect the Microsoft MCP Server for Enterprise as a tool in your Azure AI Foundry project.
50
+
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
52
48
-
1. In the **Tools** section, select **Connect a tool**.
53
+
1. In the sidebar menu, select **Tools**, then search for **Microsoft MCP Server for Enterprise** in the **Catalog**.
49
54
50
-
1.Under**Catalog**, search for **Microsoft MCP Server for Enterprise** and select **Create**.
55
+
1.Select**Connect** to begin the configuration.
51
56
52
57
1. Provide the following configuration:
53
58
-**Name**: Enter a unique identifier for the tool
@@ -58,17 +63,13 @@ Before you begin, ensure you have:
58
63
59
64
1. Return to your Microsoft Entra app registration, navigate to **Authentication**, add the Redirect URL, and save your changes.
60
65
61
-
## Use the tool to query Microsoft Entra data
62
-
63
-
After adding the Microsoft MCP Server for Enterprise tool to your Azure AI Foundry agent, you can query your organization's data using natural language. Example questions include:
66
+
## Query Microsoft Entra data
64
67
65
-
- "How many users are in my tenant?"
66
-
- "Which users haven't signed in for the last 30 days?"
67
-
- "Show me all guest users with admin roles"
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.
68
69
69
70
### Sign in and authorize access
70
71
71
-
When you first invoke the tool:
72
+
When you first invoke the tool, you need to sign in and authorize access.
72
73
73
74
1. Select **Open consent** when prompted to sign in.
74
75
@@ -78,6 +79,14 @@ When you first invoke the tool:
78
79
79
80
1. Approve each MCP tool call as prompted during query execution.
80
81
82
+
### Example queries
83
+
84
+
You can ask questions such as:
85
+
86
+
- "How many users are in my tenant?"
87
+
- "Which users haven't signed in for the last 30 days?"
88
+
- "Show me all guest users with admin roles"
89
+
81
90
## Next steps
82
91
83
92
-[Overview of Microsoft MCP Server for Enterprise](overview.md)
0 commit comments