From 8eb5530ca3fa7797cb80853c1e9d90753814a793 Mon Sep 17 00:00:00 2001 From: Jon Gallant <2163001+jongio@users.noreply.github.com> Date: Fri, 21 Feb 2020 10:33:39 -0800 Subject: [PATCH] Update MI msg. (#9958) --- sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs b/sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs index df970c1bcd19..22d80388d1ff 100644 --- a/sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs +++ b/sdk/identity/Azure.Identity/src/ManagedIdentityClient.cs @@ -18,8 +18,8 @@ internal class ManagedIdentityClient { private const string AuthenticationResponseInvalidFormatError = "Invalid response, the authentication response was not in the expected format."; private const string MsiEndpointInvalidUriError = "The environment variable MSI_ENDPOINT contains an invalid Uri."; - internal const string MsiUnavailableError = "ManagedIdentityCredential authentication unavailable, no managed identity endpoint found."; - internal const string IdentityUnavailableError = "ManagedIdentityCredential authentication unavailable, the requested identity has not been assigned to this resource."; + internal const string MsiUnavailableError = "ManagedIdentityCredential authentication unavailable. No Managed Identity endpoint found."; + internal const string IdentityUnavailableError = "ManagedIdentityCredential authentication unavailable. The requested identity has not been assigned to this resource."; // IMDS constants. Docs for IMDS are available here https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-use-vm-token#get-a-token-using-http private static readonly Uri s_imdsEndpoint = new Uri("http://169.254.169.254/metadata/identity/oauth2/token");