Use aka.ms link to Identity troubleshooting (#4449)

* Use aka.ms link to Identity troubleshooting

* Update default_azure_credential.cpp

* Update default_azure_credential.cpp

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2023-03-15 16:18:51 -07:00 committed by GitHub
parent 6f2e39a5c5
commit 9f19a28af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -14,8 +14,7 @@ int main()
// Step 1: Initialize Default Azure Credential.
// Default Azure Credential is good for samples and initial development stages only.
// It is not recommended used it in a production environment.
// To diagnose, see
// https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/identity/azure-identity#troubleshooting
// To diagnose, see https://aka.ms/azsdk/cpp/identity/troubleshooting
auto defaultAzureCredential = std::make_shared<Azure::Identity::DefaultAzureCredential>();

View File

@ -69,7 +69,6 @@ AccessToken DefaultAzureCredential::GetToken(
throw AuthenticationException(
"Failed to get token from " + GetCredentialName()
+ ".\nSee Azure::Core::Diagnostics::Logger for details "
"(https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/"
"identity/azure-identity#troubleshooting).");
"(https://aka.ms/azsdk/cpp/identity/troubleshooting).");
}
}