Aug 10 2022
07:33 AM
- last edited on
Mar 05 2024
01:56 PM
by
TechCommunityAP
Aug 10 2022
07:33 AM
- last edited on
Mar 05 2024
01:56 PM
by
TechCommunityAP
When I execute this it seems to change the permissions in PowerShell but doesn't actually update the permissions inside ADO
$ADOToken = ""
$Org = ""
$Organization = "https://dev.azure.com/$Org/"
$Project = "Test"
$Token = ""
az devops security permission reset --permission-bit 1 --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --organization $Organization --subject "vssgp.Uy0xLTktMTU1MTM3NDI0NS03MTcwNzg0MTMtMjcwNjA5OTUzMC0yNDc2ODgyODEzLTEyMDIzNzM5MzgtMS0zMDk1NjMyMTU0LTMwMTU1ODA5OTItMzExNTIxOTU0Mi0xMDAxMzk2NzI" --token $Token --output table
az devops security permission reset --permission-bit 2 --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --organization $Organization --subject "vssgp.Uy0xLTktMTU1MTM3NDI0NS03MTcwNzg0MTMtMjcwNjA5OTUzMC0yNDc2ODgyODEzLTEyMDIzNzM5MzgtMS0zMDk1NjMyMTU0LTMwMTU1ODA5OTItMzExNTIxOTU0Mi0xMDAxMzk2NzI" --token $Token --output table
az devops security permission update --allow-bit 4 --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --organization $Organization --subject "vssgp.Uy0xLTktMTU1MTM3NDI0NS03MTcwNzg0MTMtMjcwNjA5OTUzMC0yNDc2ODgyODEzLTEyMDIzNzM5MzgtMS0zMDk1NjMyMTU0LTMwMTU1ODA5OTItMzExNTIxOTU0Mi0xMDAxMzk2NzI" --token $Token --output table
az devops security permission update --allow-bit 8 --namespace-id 52d39943-cb85-4d7f-8fa8-c6baac873819 --organization $Organization --subject "vssgp.Uy0xLTktMTU1MTM3NDI0NS03MTcwNzg0MTMtMjcwNjA5OTUzMC0yNDc2ODgyODEzLTEyMDIzNzM5MzgtMS0zMDk1NjMyMTU0LTMwMTU1ODA5OTItMzExNTIxOTU0Mi0xMDAxMzk2NzI" --token $Token --output table