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
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 :(
Creating user entitlement: Adding user entitlement: (5000) The Id, OriginId, or User.PrincipalName must be set. The Principal Name is usually an email address.
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
Create a new ADO org, or use an existing one.
Authenticate as org owner.
Create a PAT that is granted full access
Make PAT available to terraform
terraform apply
Weep
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:
tdg5
changed the title
Unable to create user entitlement for service principal using PAT of org owner
Unable to create user entitlement for service principal using full-access PAT of org owner
Jun 11, 2024
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: