IAccount.Environment Property

Definition

Gets a string containing the identity provider for this account, e.g. login.microsoftonline.com.

public string Environment { get; }
member this.Environment : string
Public ReadOnly Property Environment As String

Property Value

Remarks

This property replaces the IdentityProvider property of IUser in previous versions of MSAL.NET except that IdentityProvider was a URL with information about the tenant (in addition to the cloud environment), whereas Environment is only the Host

Applies to