EnvironmentCredential authentication unavailable. Environment variables are not fully configured.

Anil Kumar 1 Reputation point
2022-12-31T05:53:01.603+00:00

I am able to run the project locally in windows but when I tried the same project in MAC visual studio 2022 I am getting an error like

"EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
ManagedIdentityCredential authentication unavailable, no managed identity endpoint found.
SharedTokenCacheCredential authentication unavailable. No accounts were found in the cache.. ErrorCode:, Key:COMPLIANCE:SecondaryEncryptionKey, Label:DEV, Etag:BCcMS5NYmrBESOWbasdn06GntNOhwOJeyTP4cvkht0o, SecretIdentifier:https://kvt-eus-nprod-t01-deeng.vault.azure.net/secrets/COM-SecondaryEncryptionKey-DEV-MML
"

Also I have created PAT in the azure and tried az login as well but still same issue .

275221-screenshot-2022-12-31-at-112108-am.png

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
273 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.