ManagedIdentityApplicationBuilder.Create(ManagedIdentityId) Method

Definition

Creates a ManagedIdentityApplicationBuilder from a user assigned managed identity clientID / resourceId / objectId. For example, for a system assigned managed identity use ManagedIdentityApplicationBuilder.Create(ManagedIdentityId.SystemAssigned) and for a user assigned managed identity use ManagedIdentityApplicationBuilder.Create(ManagedIdentityId.WithUserAssignedClientId(clientId)) or ManagedIdentityId.WithUserAssignedResourceId("resourceId") or ManagedIdentityId.WithUserAssignedObjectId("objectid"). For more details see https://aka.ms/msal-net-managed-identity

public static Microsoft.Identity.Client.ManagedIdentityApplicationBuilder Create (Microsoft.Identity.Client.AppConfig.ManagedIdentityId managedIdentityId);
static member Create : Microsoft.Identity.Client.AppConfig.ManagedIdentityId -> Microsoft.Identity.Client.ManagedIdentityApplicationBuilder
Public Shared Function Create (managedIdentityId As ManagedIdentityId) As ManagedIdentityApplicationBuilder

Parameters

managedIdentityId
ManagedIdentityId

Configuration of the Managed Identity assigned to the resource.

Returns

A ManagedIdentityApplicationBuilder from which to set more parameters, and to create a managed identity application instance

Applies to