question

81091258 avatar image
0 Votes"
81091258 asked azure-cxp-api edited

POST API call through service connection does not work for Project Admins

We have created our Azure devops Services extension and we make POST call through service connection which works fine if project is created by self. If it is shared with other team user, they do not have permission to make the service connection API call and hence our functionality fails to work as expected. Adding user to Project Administrator group also does not solve the issue.


You would keep getting error "You don't have enough permissions required for \"Post\" request." if checked in Developer tool when the drop down population fails. Neither any other project level settings could get the POST request working There seems to be some bug(https://developercommunity.visualstudio.com/t/cant-post-to-service-endpoint-from-a-widget/1111670) with Azure Devops platform where this issue is with POST type of API calls and not with GET requests.

The only permission group that solves this issue is ‘Project Collection Administrator’. But this is an organization level admin which should not be the case and Project admin should also be allowed to make service connection calls. Is there any other settings that can solve this issue.

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SamaraSoucy-MSFT avatar image
0 Votes"
SamaraSoucy-MSFT answered

We want to make sure your question is read by the right people (who will be able to give you the best answers).  Please post your question in the following forum, where the Azure DevOps team and DevOps community are actively answering questions:
https://developercommunity.visualstudio.com/spaces/21/index.html


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.