I have a Logic app that establishes a connection to DevOps via the standard connector.
Here I perform various activities (GetQuery, Update Item…)
Since 10 June it no longer runs reliably and sometimes in a loop it gives the following error for an item:
Used connector -> https://learn.microsoft.com/en-us/connectors/visualstudioteamservices/
Code:
{
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"referenceName": "visualstudioteamservices"
}
},
"method": "get",
"path": "/_apis/wit/workitems/@{encodeURIComponent(items('For_each_DevOps_Item')?['System.Id'])}",
"queries": {
"account": "@variables('account')",
"project": "@variables('DevOpsProject')",
"typeName": "@{items('For_each_DevOps_Item')['System.WorkItemType']}"
}
}
}
It also happen when i not use a variable as account, that was the initial setup for over one year.
Code:
{
"status": 400,
"message": "The account name you entered is invalid. Enter 'fabrikam' if your Azure DevOps URL is 'fabrikam.visualstudio.com'.rnclientRequestId: XXXXXXXXXX",
"error": {
"message": "The account name you entered is invalid. Enter 'fabrikam' if your Azure DevOps URL is 'fabrikam.visualstudio.com'."
},
"source": "vsts-we.azconn-we-002.p.azurewebsites.net"
}
Does anyone know the problem?
I have already tested everything:
- Connection API re-verified
- Checked authorisations
- Nobody has changed anything …
Daniel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.