-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-AzKeyVaultSecret: Azure credentials have not been set up or have expired #24942
Comments
were you able to resolve this? i have a similar issue: New-AzResourceGroup: Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.
Authentication failed against tenant 4058a0b6-1d47-4fcd-990d-c1e88e62d0d1. User interaction is required. This may be due to the conditional access policy settings such as multi-factor authentication (MFA). If you need to access subscriptions in that tenant, please rerun 'Connect-AzAccount' with additional parameter '-TenantId 4058a0b6-1d47-4fcd-990d-c1e88e62d0d1'. i tried the suggested fix, but to no avail. |
@katherinejiarufu thanks for reporting but could you share the stack trace? Reproduce the issue then run |
Thanks. I was indeed on version 3.0.0 and running |
|
Description
when I was trying to run
Get-AzKeyVaultSecret
, I received the below error message. I tried to re-log in multiple times and useConnect-AzAccount
and set my environment but it still gave me the same error. I can't seem to find the correct solution for this online. Can someone help me with this? Thank you!Get-AzKeyVaultSecret : Your Azure credentials have not been set up or have expired, please run Connect-AzAccount to set up your Azure credentials.A task was canceled.
Issue script & Debug output
Environment data
Module versions
Error output
No response
The text was updated successfully, but these errors were encountered: