Get Access Denied error when attempting to access DevOps audit logs

Patrick 21 Reputation points
2021-05-26T14:58:00.333+00:00

Hi
I am getting a

"Access Denied: xxx-xxx-xxx needs the following permission(s) to perform this action: View audit log"

when attempting to call https://auditservice.dev.azure.com/_apis/audit/auditlog?api-version=5.1-preview.1&batchSize=100 . I have added the user to the "Project Collection Administrator" with full permissions and the user is able to access the logs via the front-end, but not via the API.

Anyone had this problem before?
Thanks.

Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-05-26T15:10:23.753+00:00

    Devops / TFS is not currently supported here on QnA. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.