diff --git a/sdk/identity/Azure.Identity/TROUBLESHOOTING.md b/sdk/identity/Azure.Identity/TROUBLESHOOTING.md index ffbf01fb575e..217da90df4bb 100644 --- a/sdk/identity/Azure.Identity/TROUBLESHOOTING.md +++ b/sdk/identity/Azure.Identity/TROUBLESHOOTING.md @@ -239,6 +239,7 @@ curl 'http://169.254.169.254/metadata/identity/oauth2/token?resource=https://man |Failed To Read VS Code Credentials

OR

Authenticate via Azure Tools plugin in VS Code|No Azure account information was found in the VS Code configuration.|| |MSAL Interaction Required Error|The `VisualStudioCodeCredential` was able to read the cached credentials from the cache but the cached token is likely expired.|Log into the Azure Account extension via **View > Command Palette** to execute the **Azure: Sign In** command in the VS Code IDE.| |ADFS tenant not supported|ADFS tenants aren't currently supported by Visual Studio `Azure Service Authentication`.|Use credentials from a supported cloud when authenticating with Visual Studio. The supported clouds are:

| +|AADSTS50020| User account '{EmailHidden}' from identity provider 'live.com' doesn't exist in tenant 'Microsoft Services' and cannot access the application '04f0c124-f2bc-4f59-8241-bf6df9866bbd'(VS with native MSA) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.|Specify a `TenantId` value that corresponds to the resource to which you're authenticating in the `VisualStudioCredentialOptions` (or the `DefaultAzureCredentialOptions` if you're using `DefaultAzureCredential`).| ## Troubleshoot `VisualStudioCredential` authentication issues diff --git a/sdk/identity/Azure.Identity/src/Credentials/ManagedIdentityCredential.cs b/sdk/identity/Azure.Identity/src/Credentials/ManagedIdentityCredential.cs index e554d2eef970..a773123556f3 100644 --- a/sdk/identity/Azure.Identity/src/Credentials/ManagedIdentityCredential.cs +++ b/sdk/identity/Azure.Identity/src/Credentials/ManagedIdentityCredential.cs @@ -10,8 +10,8 @@ namespace Azure.Identity { /// - /// Attempts authentication using a managed identity that has been assigned to the deployment environment. This authentication type works in Azure VMs, - /// App Service and Azure Functions applications, as well as the Azure Cloud Shell. More information about configuring managed identities can be found here: + /// Attempts authentication using a managed identity that has been assigned to the deployment environment. This authentication type works for all Azure hosted + /// environments that support managed identity. More information about configuring managed identities can be found here: /// https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview /// public class ManagedIdentityCredential : TokenCredential