Open v-bafa opened 8 months ago
Hi @v-bafa The error message (in debug log) read "AADSTS530003: Your device is required to be managed to access this resource." You need to manage your device or switch to another managed device in order to access the vault. That said, we'll improve the visibility of error message.
Thank you @isra-fel . Is this only applied to Azure KeyVault? I could upload files to Azure Blob Storage via Az PowerShell from this device.
Also, are there changes to this recently? We only see this failure happening since last week. The commands worked without issue before that, and verified there is no changes to the Key Vault itself.
Also, the Vault could be retrieved, but secret is not.
Vaults are control plane, secrets are data plane, their access control are different. I'd assume this is a "policy" thing rather than an API behavior change.
Description
Got following error:
Tried with
Connect-AzAccount -TenantID xxx -SubscriptionID xxx
and not working either.Issue script & Debug output
Environment data
Module versions
Error output