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.
209 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,569 questions
{count} votes