This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am trying to access VSTS API URL (Azure) from Alteryx using download tool. Normal configuration with email id password couldnt establish the connection. Then while searching came accross the use of Personal Access token. Could you please share the sample code if you have done something similar to this.
Attached is an example of how to successfully connect to VSTS/Azure DevOps via Rest API for a GET request. Adjustable for PUT or POST requests as well.
Hope this helps some users looking to do this. Need to update the first API endpoint with your proper URL and then paste in your personal authentication token. Both of these changes are made in the text input tool. The API endpoint provided will take a query and return all of the work item IDs from the query.
Struggling with this also. The token truncated warning I solved in the first formula tool - instead of modifying the existing fixed length string, I made a new string of a longer length. However my API call to Azure DevOps is still not working. I get a 404 not found error:
HTTP/1.1 200 Connection established
HTTP/1.1 404 Not Found
When setting authorization = "Basic" + Base64_encoded and accept = "application/json". I've checked, and these headers and encoding work perfectly when calling the same endpoint using the Python requests library, and a cURL version also works. So it's specifically an Alteryx issue for me. Anyone else seen this?