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:
parent
6f2e39a5c5
commit
9f19a28af3
@ -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>();
|
||||
|
||||
|
||||
@ -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).");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user