You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alexc-MSFT If I'm not mistaken, I am a global administrator. I have been able to run these lines without errors before, I'm unsure why they are being thrown now. I have tried deleting the key vault and rerun, as well as just creating an entirely new key vault (with a different name).
@alexc-MSFT It seems like this is the only issue I am having. The script runs to completion afterwards. I can see that the Key Vault is still being created. Could I manually add the keyvault secret? Was the " Set-AzKeyVaultAccessPolicy" meant to come before?
It seems to have something to do with my permissions for the keyvault.
Although I am listed as an owner of the keyvault
Also, does it matter that my Azure AD tenant ID is different from my Teams' tenant ID? I have run into problems with other custom apps on teams for this reason before.
Having an error with the 2 lines of Set-AzKeyVaultSecret on lines 547 and 548 regarding KeyVaults:
The same error is thrown:

"Set-AzKeyVaultSecret : Operation returned an invalid status code 'Forbidden'"
Note the 2 warnings prior to the errors. There were no errors prior to this.
Thank you!
The text was updated successfully, but these errors were encountered: