Start now →

Creating Entra Agent ID Blueprints and Identities with PowerShell and .NET

By Will Velida · Published March 2, 2026 · 1 min read · Source: Level Up Coding
Blockchain
Creating Entra Agent ID Blueprints and Identities with PowerShell and .NET

Member-only story

Creating Entra Agent ID Blueprints and Identities with PowerShell and .NET

Learn how to create agent identity blueprints using Microsoft Graph PowerShell and provision agent identities through an ASP.NET Web API running on Azure Container Apps, with managed identity authentication and federated credentials.

Will VelidaWill Velida15 min read·2 days ago

--

Press enter or click to view image in full size

In Microsoft Entra Agent ID, we use agent identity blueprints to create agent identities and request tokens using those agent identities. These agent identities represent AI Agents within your tenant, and is usually provisioned when we create a new AI Agent.

In this post, we’ll go through an end-to-end example of creating an agent blueprint using Microsoft Graph PowerShell, then we’ll create an Agent Identity using a ASP.NET Web API that we’ll deploy to Azure Container Apps.

For the complete E2E sample, please check it out on my GitHub.

Note. At the time of writing, Microsoft Entra Agent ID is currently in preview. Please check the docs for the latest information.

Creating an agent identity blueprint using Microsoft Graph PowerShell

This article was originally published on Level Up Coding and is republished here under RSS syndication for informational purposes. All rights and intellectual property remain with the original author. If you are the author and wish to have this article removed, please contact us at [email protected].

NexaPay — Accept Card Payments, Receive Crypto

No KYC · Instant Settlement · Visa, Mastercard, Apple Pay, Google Pay

Get Started →