-
Notifications
You must be signed in to change notification settings - Fork 280
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
Unable to create user entitlement for service principal using full-access PAT of org owner #1071
Comments
We re also hitting this issue with a managed identity |
The There is, however, a PR to add the resource |
While waiting for #1028 to get released, here's a hack for registering an Azure SPN via
|
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_user_entitlement
Terraform Configuration Files
Debug Output
https://gist.github.com/tdg5/30e58f99ab019e04b577755c4e8d3578
Panic Output
Expected Behavior
I should be able to add a user entitlement to a service principal using a full-access PAT belonging to the ADO organization owner.
Actual Behavior
Server side failure :(
I can add the service principal through the UI and then import the resource, for what it's worth, so it doesn't seem like it's a credential issue.
Steps to Reproduce
terraform apply
Important Factoids
This is a vanilla US azure tenant. I've tried this with several ADO orgs and with several service principals, the result is the same.
References
I think @fredgate may have also hit this error and thought it was something else: #444 (comment)
The text was updated successfully, but these errors were encountered: