Forum Discussion
vinod-sunkara
Jun 02, 2021Copper Contributor
Update the Azure DevOps service endpoint (connection) using REST API
we are using the REST API Method (PUT) to update the existing AWS service connection in our ADO environment by assigning a minimum level of access (scopes) to the PAT. The access levels are Servic...
JeffTech74
Copper Contributor
vinod-sunkara Fixed both issues. There was an extra comma after "UsernamePassword" for the Convert-From-json error and I found that there was another permission to set for the account that my PAT was using to be an Administrator for the Service Connection which is why I was getting a NULL value for the Service Connection.
harjot_singh_bagga
Dec 26, 2023Copper Contributor
JeffTech74 Hello Jeff, I am getting the same error, '401 Unauthorized', if you could, can you please give some details on how you resolved the second issue, i.e., the another permission to set for the account that PAT was using.