Create Delete Agent Identities
In brief
The documentation now uses `<your-tenant-id>` instead of `<my-test-tenant>` in the token endpoint and `TenantId` code examples.
What Entra admins need to know
Administrators following the samples should replace the placeholder with their tenant ID; no product behavior change is indicated.
This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
After you obtain a token for the managed identity, request a token for the agent identity blueprint:
POST https://login.microsoftonline.com/<my-test-tenantyour-tenant-id>/oauth2/v2.0/token
Content-Type: application/x-www-form-urlencoded
client_id=<agent-blueprint-id>
{
"AzureAd": {
"Instance": "https://login.microsoftonline.com/",
"TenantId": "<my-test-tenantyour-tenant-id>",
"ClientId": "<my-agent-blueprint-id>",
"Scopes": "access_agent",
"ClientCredentials": [
@@ -71,7 +71,7 @@ Metadata: True After you obtain a token for the managed identity, request a token for the agent identity blueprint: ```-POST https://login.microsoftonline.com/<my-test-tenant>/oauth2/v2.0/token+POST https://login.microsoftonline.com/<your-tenant-id>/oauth2/v2.0/token Content-Type: application/x-www-form-urlencoded client_id=<agent-blueprint-id>@@ -131,7 +131,7 @@ To use *Microsoft.Identity.Web* to execute the Microsoft Graph API request to cr { "AzureAd": { "Instance": "https://login.microsoftonline.com/",- "TenantId": "<my-test-tenant>",+ "TenantId": "<your-tenant-id>", "ClientId": "<my-agent-blueprint-id>", "Scopes": "access_agent", "ClientCredentials": [ 