Hello,
I am trying to set up a flow that would take a form submission and create a new work item in a DevOps boards. The issue I am running into is that our OnDev instance is hosted on-premises, running on a server. We don't use the cloud version of DevOps currently.
I installed the On-prem Gateway on the server hosting our DevOps instance. Went through the steps to configure that, just the steps for basic installation and made sure the HTTPS option was selected. It's connected using my company O365 account, and the service account is one we use for other services.
I am not sure what steps to take after this. I am trying to call the Devops instance in PowerAutomate, but cannot get it to connect to the On-Prem instance. For the organization name, I have tried putting the direct URL to the board, the URL to the DevOp site, the name of the board itself, the company name the board is assigned to, and I am usually met with a 400 error:
"Could not retrieve values. The dynamic invocation request failed with error: {
"status": 400,
"message": "Invalid relative URI provided: '_apis/projects?api-version=1.0'.\r\nclientRequestId: 5a57a7b8-f2a6-4cdf-9d95-80c8-d945effa",
"error": {
"message": "Invalid relative URI provided: '_apis/projects?api-version=1.0'."
},
"source": "vsts-eus2.azconn-eus2-01.p.azurewebsites.net"
}.
The only different response I get is when I use DefaultCollection as the organization name, which gives me the following error:
Could not retrieve values. The dynamic invocation request failed with error: {
"status": 401,
"message": "TF400813: The user '5dfa5a60-f4dc-41ed-9bfb-ea729d539df5\\jsands@.com' is not authorized to access this resource.\r\nAzure DevOps ActivityId: 7017eecf-93e7-41c2-88a0-b73e1f184206\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400813: The user '5dfa5a60-f4dc-41ed-9bfb-ea729d539df5\\\\jsands@.com' is not authorized to access this resource.\",\"typeName\":\"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"UnauthorizedRequestException\",\"errorCode\":0,\"eventId\":3000}\r\nclientRequestId: 88a177af-da13-4ec9-99f7-cecb-18d8260e",
"error": {
"message": "TF400813: The user '5dfa5a60-f4dc-41ed-9bfb-ea729d539df5\\jsands@.com' is not authorized to access this resource.\r\nAzure DevOps ActivityId: 7017eecf-93e7-41c2-88a0-b73e1f184206\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF400813: The user '5dfa5a60-f4dc-41ed-9bfb-ea729d539df5\\\\jsands@.com' is not authorized to access this resource.\",\"typeName\":\"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"UnauthorizedRequestException\",\"errorCode\":0,\"eventId\":3000}"
},
"source": "vsts-eus2.azconn-eus2-01.p.azurewebsites.net"
}.
I am sure I am just missing a step somewhere, but I can't figure out what I am missing. Any help would be appreciated! Thank you!