-
Notifications
You must be signed in to change notification settings - Fork 301
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
azuread_group returning 401 #622
Comments
Hi @valerio-battelle, thanks for raising this. I don't believe this is related to #588. Unfortunately the provider is not currently logging the claims from the access token so it's not possible to determine the audience your token was issued for. However, given that you are using the usgov cloud, the provider should not be querying |
Hey @manicminer, thanks for replying so quickly. Good catch on I assume when you do a The output of
|
Hi @valerio-battelle, no worries, you'll need to set the |
@manicminer, sorry for the confusion, but now I understand. I set this up in azure CLI via |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_group
Terraform Configuration Files
Debug Output
link to output
Panic Output
None
Expected Behavior
This should create an Azure AD group named AAD DC Administrators but fails with a 401 error with version 2.0 and greater
Actual Behavior
Fails to create the azure AD group and returns the following error:
Steps to Reproduce
terraform init
terraform apply
Important Factoids
References
issue seems similar and I was hopeful that version 2.6 would fix this issue, but that was not the case.
The text was updated successfully, but these errors were encountered: