Open seblatre opened 2 months ago
@seblatre azuredevops_variable_group_permissions
manage the permissions by security namespaces while the UI permission mange page is using role permission APIs. They are different APIs and role permissions API is new API and easy to manage
@xuzhang3, therefore no way to see it working in the AureDevops portal, right?
@seblatre Currently yes, the old permission management page is now unavailable
Community Note
Terraform (and Azure DevOps Provider) Version
Terraform v1.7.3 on windows_amd64
Affected Resource(s)
azuredevops_variable_group_permissions
Terraform Configuration Files
Debug Output
Terraform output is not relevant for this issue (code is not producing any error).
Panic Output
Expected Behavior
I was expecting to see the created permissions in the AzureDevops UI under Security dialog of the variable group
https://dev.azure.com/yyyyyyy/XXX/_library?itemType=VariableGroups&view=VariableGroupView&variableGroupId=2459&path=My%20var%20group
Actual Behavior
The permissions for the team is not visible in the UI.![image](https://github.com/microsoft/terraform-provider-azuredevops/assets/7345463/8979a48d-370d-4238-b175-b008ec6aba61)
I troubleshooted a bit to get a first level analysis: When created through UI, the permissions is targeting the endpoint
PUT https://dev.azure.com/corporatedatalake/_apis/securityroles/scopes/distributedtask.variablegroup/roleassignments/resources/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx%242459
while the azuredevops_variable_group_permissions resource is targeting this endpointPOST https://dev.azure.com/corporatedatalake/_apis/AccessControlEntries/b7e84409-6553-448a-bbb2-af228e07cbeb
and apparently the provider resource permission are not visible in the UI.
Steps to Reproduce
terraform apply
Important Factoids
References