Stuart Ellis
Stuart Ellis

Reputation: 1609

Cannot request permissions report through API

If we request a permissions report with the API, Azure DevOps responds with an error.

GET Request path: /_apis/permissionsreport?api-version=6.1-preview.1

Response:

message: "The requester XXX does not have permissions to perform this operation"

typeKey: AccessCheckException errorCode: 0 eventId: 3000

Upvotes: 1

Views: 354

Answers (1)

Edward Han-MSFT
Edward Han-MSFT

Reputation: 3195

Testing this Rest API: Permissions Report - List in my side and found that if user is not a member of the Project Collection Administrators group, and then will encounter this issue.

Please contact one member to add you to this group, and then create a PAT with full access, you could use this API.

Upvotes: 2

Related Questions