<PackageReference Include="Microsoft.Identity.Client" Version="4.84.0" />

Microsoft.Identity.Client.AppConfig.ManagedIdentityId

public class ManagedIdentityId
Class to store configuration for a managed identity enabled on a resource. For a system assigned managed identity use ManagedIdentityId.SystemAssigned. For user assigned managed identity use ManagedIdentityId.WithUserAssignedClientId("clientId") or ManagedIdentityId.WithUserAssignedResourceId("resourceId") or ManagedIdentityId.WithUserAssignedObjectId("objectid"). For more details see https://aka.ms/msal-net-managed-identity
namespace Microsoft.Identity.Client.AppConfig { public class ManagedIdentityId { public static ManagedIdentityId SystemAssigned { get; } public static ManagedIdentityId WithUserAssignedClientId(string clientId); public static ManagedIdentityId WithUserAssignedResourceId(string resourceId); public static ManagedIdentityId WithUserAssignedObjectId(string objectId); } }