-
Notifications
You must be signed in to change notification settings - Fork 300
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_directory_role_assignment fails in v2.26.0 when directory_scope_id is not set #839
Comments
I did a bit more testing, and setting |
Hi @sjovang, thanks for reporting this. You have found the correct resolution in specifying In 2.25.0 the provider defaulted this value, however this was causing issues with some combinations of |
@sjovang Actually, please disregard my previous reply! I have realized that it's possible to retain the default value and given that this was a breaking change, I think the best course is for us to issue a patch release restoring the previous behavior (making |
This functionality has been released in v2.26.1 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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_directory_role_assignment
Terraform Configuration Files
Debug Output
https://gist.github.com/sjovang/1c91c65e1b42c38483a435b50a49f92f
Expected Behavior
Global Administrator-role assigned to the user. When rolling back to v2.25.0 the configuration assigns the role as expected.
Actual Behavior
Apply returns the following error:
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: