Share via


ManagedIdentityApplication Class

Definition

Class to be used for managed identity applications (on Azure resources like App Services, Virtual Machines, Azure Arc, Service Fabric and Cloud Shell).

public sealed class ManagedIdentityApplication : Microsoft.Identity.Client.ApplicationBase, Microsoft.Identity.Client.IManagedIdentityApplication
type ManagedIdentityApplication = class
    inherit ApplicationBase
    interface IManagedIdentityApplication
    interface IApplicationBase
Public NotInheritable Class ManagedIdentityApplication
Inherits ApplicationBase
Implements IManagedIdentityApplication
Inheritance
ManagedIdentityApplication
Implements

Remarks

Managed identity can be enabled on Azure resources as a system assigned managed identity or a user assigned managed identity.

Methods

AcquireTokenForManagedIdentity(String)

Acquires token for a managed identity configured on Azure resource. See https://aka.ms/msal-net-managed-identity.

GetManagedIdentitySource()

Detects and returns the managed identity source available on the environment.

Applies to