Agentics.Extensions.Aspire.MicrosoftTenant 0.2.6

dotnet add package Agentics.Extensions.Aspire.MicrosoftTenant --version 0.2.6
                    
NuGet\Install-Package Agentics.Extensions.Aspire.MicrosoftTenant -Version 0.2.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Agentics.Extensions.Aspire.MicrosoftTenant" Version="0.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Agentics.Extensions.Aspire.MicrosoftTenant" Version="0.2.6" />
                    
Directory.Packages.props
<PackageReference Include="Agentics.Extensions.Aspire.MicrosoftTenant" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Agentics.Extensions.Aspire.MicrosoftTenant --version 0.2.6
                    
#r "nuget: Agentics.Extensions.Aspire.MicrosoftTenant, 0.2.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Agentics.Extensions.Aspire.MicrosoftTenant@0.2.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Agentics.Extensions.Aspire.MicrosoftTenant&version=0.2.6
                    
Install as a Cake Addin
#tool nuget:?package=Agentics.Extensions.Aspire.MicrosoftTenant&version=0.2.6
                    
Install as a Cake Tool

Agentics.Extensions.Aspire.MicrosoftTenant

Models a local Microsoft tenant as an Aspire resource and supplies the OAuth client-credentials endpoint shared by the Graph and ARM emulator packages.

var tenant = builder.AddMicrosoftTenant(
    "kjeldager.com",
    "00000000-0000-0000-0000-000000000001")
    .AddAppRegistration(
        "azure-resource-api",
        "00000000-0000-0000-0000-000000000002",
        "local-only-secret");

This is a development emulator. It is not an Entra security test product.

Opening the tenant resource endpoint shows a built-in read-only portal for app registrations, service principals, subscriptions, resource groups, custom roles, Communication Services and dynamically provisioned ARM objects. It exposes metadata only; seeded client secrets and generated credentials are never part of the portal state.

The portal understands Azure Portal-compatible hash routes such as #view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/{appId} and #resource/{resourceId}/overview. A consuming app can therefore use the tenant endpoint as its local portal base URL without changing deep-link shapes.

Set PersistData = true to retain dynamically provisioned Graph applications, service principals and ARM objects in the tenant resource's data volume across AppHost sessions. Generated credential values are never persisted.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Agentics.Extensions.Aspire.MicrosoftTenant:

Package Downloads
Agentics.Extensions.Aspire.MicrosoftGraph

A versioned Microsoft Graph emulator extension for local Aspire Microsoft tenants.

Agentics.Extensions.Aspire.AzureResourceManager

Extensible, API-version-aware Azure Resource Manager provider emulator for Aspire.

Agentics.Extensions.Aspire.AzureCapabilityBroker

Aspire hosting for the Agentics Azure capability broker with local Microsoft tenant emulation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.6 146 9/3/2026
0.2.5 114 8/29/2026
0.2.4 117 8/20/2026
0.2.3 175 8/3/2026