Share via


ManagedIdentityApplication.GetManagedIdentitySource Method

Definition

Caution

Use GetManagedIdentitySourceAsync() instead. "ManagedIdentityApplication mi = miBuilder.Build() as ManagedIdentityApplication;"

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

[System.Obsolete("Use GetManagedIdentitySourceAsync() instead. "ManagedIdentityApplication mi = miBuilder.Build() as ManagedIdentityApplication;"")]
public static Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource GetManagedIdentitySource();
[<System.Obsolete("Use GetManagedIdentitySourceAsync() instead. "ManagedIdentityApplication mi = miBuilder.Build() as ManagedIdentityApplication;"")>]
static member GetManagedIdentitySource : unit -> Microsoft.Identity.Client.ManagedIdentity.ManagedIdentitySource
Public Shared Function GetManagedIdentitySource () As ManagedIdentitySource

Returns

Managed identity source detected on the environment if any.

Attributes

Applies to