-
Notifications
You must be signed in to change notification settings - Fork 168
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3High priority, do before Pri2 and Pri3doc-bugProblem with the content; needs to be fixed [org][type][category]Problem with the content; needs to be fixed [org][type][category]in-prokr-healthokr-qualityContent-health KR: Concerns article defects/freshness or build warnings.Content-health KR: Concerns article defects/freshness or build warnings.
Description
The requirements at
https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/local-provisioning#requirements
are incomplete. The machine needs the az CLI installed. When it isn't installed, I get the following error:
2024-10-31T11:27:58 Provisioning openai...
2024-10-31T11:27:58
Error provisioning openai.
Azure.Identity.CredentialUnavailableException: DefaultAzureCredential failed to retrieve a token from the included credentials. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/defaultazurecredential/troubleshoot
- EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot
- Visual Studio Token provider can't be accessed at C:\Users\eerhardt\AppData\Local\.IdentityService\AzureServiceAuth\tokenprovider.json
- Azure CLI not installed
- Azure Developer CLI could not be found.
---> System.AggregateException: Multiple exceptions were encountered while attempting to authenticate. (EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot) (Visual Studio Token provider can't be accessed at C:\Users\eerhardt\AppData\Local\.IdentityService\AzureServiceAuth\tokenprovider.json) (Azure CLI not installed) (Azure Developer CLI could not be found.)
---> Azure.Identity.CredentialUnavailableException: EnvironmentCredential authentication unavailable. Environment variables are not fully configured. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/environmentcredential/troubleshoot
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex, String additionalMessage, Boolean isCredentialUnavailable)
at Azure.Identity.EnvironmentCredential.GetTokenImplAsync(Boolean async, TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.EnvironmentCredential.GetTokenAsync(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Identity.DefaultAzureCredential.GetTokenFromSourcesAsync(TokenCredential[] sources, TokenRequestContext requestContext, Boolean async, CancellationToken cancellationToken)
Metadata
Metadata
Assignees
Labels
📌 seQUESTeredIdentifies that an issue has been imported into Quest.Identifies that an issue has been imported into Quest.Pri1High priority, do before Pri2 and Pri3High priority, do before Pri2 and Pri3doc-bugProblem with the content; needs to be fixed [org][type][category]Problem with the content; needs to be fixed [org][type][category]in-prokr-healthokr-qualityContent-health KR: Concerns article defects/freshness or build warnings.Content-health KR: Concerns article defects/freshness or build warnings.