skip to Main Content

Set Azure DevOps Pipeline Permissions via API

I am trying to set Azure DevOps Pipeline permission using the following API from Powershell: PATCH https://dev.azure.com/{organization}/{project}/_apis/pipelines/pipelinepermissions?api-version=7.0-preview.1 I have successfully achieved this for most resource types (Environments, Service Connections, and Variable Groups, however when I try to use it to…

VIEW QUESTION

Azure – Cannot Migrate my CSP application to use granular delegated admin privileges using partner center api

I cannot migrate my CSP APP with the api.partnercenter.microsoft.com/v1/customers/{<customer_id>}/applicationconsents api. I've used https://learn.microsoft.com/en-us/partner-center/developer/gdap-and-secure-application-model and https://tminus365.com/my-automations-break-with-gdap-the-fix/ to migrate the CSP app, but i only get resource not found errors. I did the following: Ive created the OBO account and via PIM,…

VIEW QUESTION

Powershell ConvertFrom-Json unexpectedly produces a string instead of object array from single item array containing a string

File "array.json": ["bogus"] PS C:UsersMe> (Get-Content "array.json" | ConvertFrom-Json -NoEnumerate).GetType() IsPublic IsSerial Name BaseType -------- -------- ---- -------- True True Object[] System.Array PS C:UsersMe> (Get-Content "array.json" | ConvertFrom-Json).GetType() IsPublic IsSerial Name BaseType -------- -------- ---- -------- True True String System.Object…

VIEW QUESTION
Back To Top
Search