Skip to content

Commit 6c7d728

Browse files
author
Andrew
committed
2 parents 2120ee2 + 458d2b1 commit 6c7d728

File tree

408 files changed

+11122
-2890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

408 files changed

+11122
-2890
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"redirect_url": "/previous-versions/azure/private-multi-access-edge-compute-mec/index",
66
"redirect_document_id": false
77
},
8+
{
9+
"source_path": "articles/site-recovery/shared-disks-common-questions.md",
10+
"redirect_url": "/azure/site-recovery/azure-to-azure-common-questions",
11+
"redirect_document_id": false
12+
},
813
{
914
"source_path": "articles/network-watcher/traffic-analytics-schema-update.md",
1015
"redirect_url": "/previous-versions/azure/network-watcher/traffic-analytics-schema-update",
@@ -499,6 +504,11 @@
499504
"redirect_url": "/azure/security/fundamentals/azure-CA-details",
500505
"redirect_document_id": false
501506
},
507+
{
508+
"source_path": "articles/security/fundamentals/recover-from-identity-compromise.md",
509+
"redirect_url": "/azure/security/fundamentals/ransomware-detect-respond#road-to-recovery",
510+
"redirect_document_id": false
511+
},
502512
{
503513
"source_path": "articles/event-grid/event-schema-storage-actions.md",
504514
"redirect_url": "/azure/storage-actions/overview",

articles/api-center/build-register-apis-vscode-extension.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: API developers can use the Azure API Center extension for Visual St
44
author: dlepow
55
ms.service: azure-api-center
66
ms.topic: how-to
7-
ms.date: 11/08/2024
7+
ms.date: 05/28/2025
88
ms.author: danlep
99
ms.collection: ce-skilling-ai-copilot
1010
ms.custom:
@@ -60,6 +60,8 @@ Use the power of [GitHub Copilot](https://marketplace.visualstudio.com/items?ite
6060
6161
:::image type="content" source="media/build-register-apis-vscode-extension/generate-api-documentation.gif" alt-text="Animation showing how to use GitHub Copilot to generate an OpenAPI spec from code." lightbox="media/build-register-apis-vscode-extension/generate-api-documentation.gif":::
6262

63+
You can also generate an OpenAPI specification from all of the files in your current project. Use the **Azure API Center: Generate OpenAPI Spec from Entire Project** command from the Command Palette.
64+
6365
After generating the OpenAPI specification file and checking for accuracy, you can register the API with your API center using the **Azure API Center: Register API** command.
6466

6567
> [!TIP]
@@ -70,6 +72,6 @@ After generating the OpenAPI specification file and checking for accuracy, you c
7072
* [Azure API Center - key concepts](key-concepts.md)
7173
* [Discover and consume APIs with the Azure API Center extension for Visual Studio Code](discover-apis-vscode-extension.md)
7274
* [Govern APIs with the Azure API Center extension for Visual Studio Code](govern-apis-vscode-extension.md)
73-
* [Enable and view API Center portal in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
75+
* [Enable API Center portal view in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
7476
* [Overview of GitHub Copilot for Azure](/azure/developer/github-copilot-azure/introduction)
7577

articles/api-center/discover-apis-vscode-extension.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: API developers can use the Azure API Center extension for Visual St
44
author: dlepow
55
ms.service: azure-api-center
66
ms.topic: how-to
7-
ms.date: 10/16/2024
7+
ms.date: 05/27/2025
88
ms.author: danlep
99
ms.custom:
1010
# Customer intent: As an API developer, I want to use my Visual Studio Code environment to discover and consume APIs in my organizations API center.
@@ -21,12 +21,13 @@ API developers in your organization can discover and consume APIs in your [API c
2121
API developers can also take advantage of features in the extension to [register APIs](build-register-apis-vscode-extension.md) in the API center and ensure [API governance](govern-apis-vscode-extension.md).
2222

2323
> [!TIP]
24-
> If you want enterprise app developers to discover your APIs in a centralized location, optionally enable the read-only [API Center portal](enable-api-center-portal-vs-code-extension.md) in Visual Studio Code.
24+
> If you want enterprise app developers to discover your APIs in a centralized location, optionally enable the read-only [API Center portal view](enable-api-center-portal-vs-code-extension.md) in Visual Studio Code.
2525
2626
[!INCLUDE [vscode-extension-basic-prerequisites](includes/vscode-extension-basic-prerequisites.md)]
2727

2828
* [REST client extension](https://marketplace.visualstudio.com/items?itemName=humao.rest-client) - to send HTTP requests and view the responses in Visual Studio Code directly
2929
* [Microsoft Kiota extension](https://marketplace.visualstudio.com/items?itemName=ms-graph.kiota) - to generate API clients
30+
- [Microsoft 365 Agents Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) - to create Microsoft 365 declarative agents
3031

3132
[!INCLUDE [vscode-extension-setup](includes/vscode-extension-setup.md)]
3233

@@ -36,7 +37,7 @@ API center resources appear in the tree view on the left-hand side. Expand an AP
3637

3738
:::image type="content" source="media/discover-apis-vscode-extension/explore-api-centers.png" alt-text="Screenshot of API Center tree view in Visual Studio Code." lightbox="media/discover-apis-vscode-extension/explore-api-centers.png":::
3839

39-
Search for APIs within an API Center by using the search icon shown in the **Apis** tree view item.
40+
Search for APIs within an API Center by using the search icon shown in the **APIs** tree view item.
4041

4142
## View API documentation
4243

@@ -53,7 +54,7 @@ You can view the documentation for an API definition in your API center and try
5354
> Depending on the API, you might need to provide authorization credentials or an API key to try the API.
5455
5556
> [!TIP]
56-
> Using the pre-release version of the extension, you can generate API documentation in Markdown, a format that's easy to maintain and share with end users. Right-click on the definition, and select **Generate Markdown**.
57+
> You can generate API documentation in Markdown, a format that's easy to maintain and share with end users. Right-click on the definition, and select **Generate Markdown**.
5758
5859
## Generate HTTP file
5960

@@ -103,10 +104,24 @@ You can also export a specification using the Command Palette:
103104
1. Select **Azure API Center: Export API Specification Document**.
104105
1. Make selections to navigate to an API definition. A new tab appears that renders an API specification document.
105106

106-
## Related content
107+
108+
## Create M365 declarative agent
109+
110+
You can create a [declarative agent for Microsoft 365 Copilot](/microsoft-365-copilot/extensibility/overview-declarative-agent) from an OpenAPI definition in your API center. With a declarative agent, you customize Microsoft 365 Copilot to help you meet the unique business needs of your users. When you build a declarative agent, you provide the instructions, actions, and knowledge to tailor Copilot for your business scenarios.
111+
112+
To export a declarative agent in the extension's tree view:
113+
114+
1. Expand the API Center tree view to show an OpenAPI definition.
115+
1. Right-click on the definition, and select **Export M365 Declarative Agent**.
116+
1. When prompted:
117+
1. Select one or more API operations that Copilot can interact with.
118+
1. Select a workspace folder.
119+
1. Enter an application name.
120+
121+
The declarative agent is created in the selected workspace folder. Use the Microsoft 365 Agents Toolkit to further customize and deploy the agent.
107122

108123
* [Azure API Center - key concepts](key-concepts.md)
109124
* [Build and register APIs with the Azure API Center extension for Visual Studio Code](build-register-apis-vscode-extension.md)
110125
* [Govern APIs with the Azure API Center extension for Visual Studio Code](govern-apis-vscode-extension.md)
111-
* [Enable and view API Center portal in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
126+
* [Enable API Center portal view in Visual Studio Code](enable-api-center-portal-vs-code-extension.md)
112127

articles/api-center/enable-api-center-portal-vs-code-extension.md

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Enable enterprise developers to view the enterprise's API Center po
44
author: dlepow
55
ms.service: azure-api-center
66
ms.topic: how-to
7-
ms.date: 03/20/2025
7+
ms.date: 05/27/2025
88
ms.author: danlep
99
ms.custom:
1010
# Customer intent: As an API program manager, I want to enable an API catalog so that app developers in my organization can discover and consume the APIs in my organization's API center without needing to manage the API inventory itself.
@@ -19,6 +19,8 @@ This article shows how to provide enterprise developers access to the Azure API
1919
2020
## Prerequisites
2121

22+
### For API center administrators
23+
2224
* An API center in your Azure subscription. If you haven't created one already, see [Quickstart: Create your API center](set-up-api-center.md).
2325

2426
* Permissions to create an app registration in a Microsoft Entra tenant associated with your Azure subscription, and permissions to grant access to data in your API center.
@@ -27,10 +29,13 @@ This article shows how to provide enterprise developers access to the Azure API
2729

2830
* [Azure API Center extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=apidev.azure-api-center)
2931

32+
> [!NOTE]
33+
> Where noted, certain features are available only in the Azure API Center extension's pre-release version. [!INCLUDE [vscode-extension-prerelease-features](includes/vscode-extension-prerelease-features.md)]
3034
31-
The following Visual Studio Code extension is optional:
35+
The following Visual Studio Code extensions are optional:
3236

3337
* [Microsoft Kiota extension](https://marketplace.visualstudio.com/items?itemName=ms-graph.kiota) - to generate API clients
38+
* GitHub Copilot and GitHub Copilot Chat, provided with [access to GitHub Copilot](https://code.visualstudio.com/docs/copilot/setup) - to use language model tools in agent mode for discovering APIs
3439

3540
## Steps for API center administrators to enable access to API Center portal view
3641

@@ -48,12 +53,10 @@ Enterprise developers must sign in with a Microsoft account to see the API Cente
4853

4954
## Steps for enterprise developers to access the API Center portal view
5055

51-
Developers can follow these steps to connect and sign in to view an API Center portal view using the Visual Studio Code extension. Settings to connect to the API center need to be provided by the API center administrator.
56+
Developers can follow these steps to connect and sign in to an API Center portal view using the Visual Studio Code extension. Settings to connect to the API center need to be provided by the API center administrator. After connecting, developers can discover and consume the APIs in the API center.
5257

5358
### Connect to an API center
5459

55-
1. Install the pre-release version of the [Azure API Center extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=apidev.azure-api-center) for Visual Studio Code.
56-
5760
1. In Visual Studio Code, in the Activity Bar on the left, select API Center.
5861

5962
:::image type="content" source="media/enable-api-center-portal-vs-code-extension/api-center-activity-bar.png" alt-text="Screenshot of the API Center icon in the Activity Bar.":::
@@ -66,7 +69,7 @@ Developers can follow these steps to connect and sign in to view an API Center p
6669
1. The directory (tenant) ID from the app registration configured by the administrator in the previous section.
6770

6871
> [!TIP]
69-
> An API center administrator needs to provide these connection details to developers, or provide a direct link in the following format:
72+
> An API center administrator needs to provide the preceding connection details to developers, or provide a direct link in the following format:
7073
> `vscode://apidev.azure-api-center?clientId=<Client ID>&tenantId=<tenant ID>&runtimeUrl=<service-name>.data.<region>.azure-apicenter.ms`
7174
7275
After you connect to the API center, the name of the API center appears in the API Center portal view.
@@ -90,6 +93,33 @@ The API Center portal view helps enterprise developers discover API details and
9093
* **Generate Markdown** - Generate API documentation in Markdown format
9194
* **OpenAPI documentation** - View the documentation for an API definition and try operations in a Swagger UI (only available for OpenAPI definitions)
9295

96+
## Use language model tools
97+
98+
In the pre-release version of the Azure API Center extension, developers with access to the API Center portal view can add API Center language model tools to use in GitHub Copilot's agent mode. [Learn more about using tools in agent mode](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode#_agent-mode-tools).
99+
100+
The API Center tools can be used in agent mode to help search for APIs and API versions, API definitions and specifications, deployments, and more using natural language prompts.
101+
102+
To add and use API Center language mode tools in GitHub Copilot's agent mode:
103+
104+
1. [Connect to an API center](#create-microsoft-entra-app-registration) as described in a previous section.
105+
1. Open GitHub Copilot Chat in Visual Studio Code.
106+
1. Set the mode of GitHub Copilot Chat to **Agent**.
107+
1. Select the **Tools** icon in the chat window.
108+
109+
:::image type="content" source="media/enable-api-center-portal-vs-code-extension/language-model-tools.png" alt-text="Screenshot of GitHub Copilot chat window in Visual Studio Code.":::
110+
111+
1. Select one or more API Center tools to be available in the chat.
112+
113+
:::image type="content" source="media/enable-api-center-portal-vs-code-extension/api-center-tools.png" alt-text="Screenshot of selecting API Center tools in Visual Studio Code.":::
114+
115+
1. Enter a prompt in the chat window to use the available tools. For example:
116+
117+
```copilot-prompt
118+
Find potential MCP servers for a project I'm working on. I need the deployment URLs from my API center of any MCP servers that can run code snippets.
119+
```
120+
121+
1. Review the responses from GitHub Copilot Chat. Continue with the conversation to refine the results or ask follow-up questions.
122+
93123
94124
## Troubleshooting
95125

articles/api-center/includes/api-center-portal-app-registration.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,28 @@ author: dlepow
66

77
ms.service: azure-api-center
88
ms.topic: include
9-
ms.date: 03/20/2025
9+
ms.date: 05/28/2025
1010
ms.author: danlep
1111
ms.custom: Include file
1212
---
1313

1414
First configure an app registration in your Microsoft Entra ID tenant. The app registration enables the API Center portal to access data from your API center on behalf of a signed-in user.
1515

16+
API Center can set up the app registration automatically, or you can create the app registration manually.
17+
18+
#### Set up the app registration automatically
19+
20+
To set up the app registration automatically, follow these steps:
21+
22+
1. In the [Azure portal](https://portal.azure.com), navigate to your API center.
23+
1. In the left-hand menu, select **API Center portal** > **Settings**.
24+
1. On the **Identity provider** tab, select **Start set up**.
25+
1. Select **Save + publish**.
26+
27+
#### Set up the app registration manually
28+
29+
If you want to create the app registration manually, follow these steps:
30+
1631
1. In the [Azure portal](https://portal.azure.com), navigate to **Microsoft Entra ID** > **App registrations**.
1732
1. Select **+ New registration**.
1833
1. On the **Register an application** page, set the values as follows:
@@ -23,12 +38,15 @@ First configure an app registration in your Microsoft Entra ID tenant. The app r
2338
Enter the URI of your API Center portal deployment, in the following form: `https://<service-name>.portal.<location>.azure-api-center.ms`. Replace `<service name>` and `<location>` with the name of your API center and the location where it's deployed, Example: `https://myapicenter.portal.eastus.azure-api-center.ms`.
2439
1. Select **Register**.
2540

26-
When enabling the API Center portal in the Visual Studio Code extension for API Center, also configure the following redirect URIs.
41+
#### Configure additional redirect URIs for VS Code extension
42+
43+
When enabling the API Center portal view in the Visual Studio Code extension for API Center, also configure the following redirect URIs in the app registration:
2744

28-
1. On the **Manage** > **Authentication** page, Select **Add a platform** and select **Mobile and desktop applications**.
45+
1. In the [Azure portal](https://portal.azure.com), navigate to your app registration.
46+
1. On the **Manage** > **Authentication** page, select **Add a platform** and select **Mobile and desktop applications**.
2947
1. Configure the following three custom redirect URIs:<br/>
3048
`https://vscode.dev/redirect`<br/>
3149
`http://localhost`<br/>
3250
`ms-appx-web://Microsoft.AAD.BrokerPlugin/<application-client-id>`<br/>
3351

34-
Replace `<application-client-id>` with the application (client) ID of this app. You can find this value on the **Overview** page.
52+
Replace `<application-client-id>` with the application (client) ID of this app. You can find this value on the **Overview** page of the app registration.
74.8 KB
Loading
14.1 KB
Loading

0 commit comments

Comments
 (0)