I am trying to setup a recurring logic app that gets a snapshot of our DevOps wiki and saves it into our Storage Container. When I trigger the Logic app to run it fails when trying to send an HTTP Request to the Azure DevOps API.
The error is...
{
"status": 401,
"message": "TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.\r\nAzure DevOps ActivityId: 21840274-6bb7-4422-a630-286ead7d9440\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.\",\"typeName\":\"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server\",\"typeKey\":\"UnauthorizedRequestException\",\"errorCode\":0,\"eventId\":3000}\r\nclientRequestId: 1b08f899-0332-4658-9387-73e9762a7f03",
"error": {
"message": "TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.\r\nAzure DevOps ActivityId: 21840274-6bb7-4422-a630-286ead7d9440\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.\",\"typeName\":\"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server\",\"typeKey\":\"UnauthorizedRequestException\",\"errorCode\":0,\"eventId\":3000}"
},
"source": "vsts-eus2.azconn-eus2-004.p.azurewebsites.net"
}
I feeel like I have everything setup correctly. The basic auth in the header is the PAT in base64. Any ideas?


