Azure DevOps connection failure

When attempting to create a connection to Azure DevOps I get an error after entering my Organization value. The error states “{“message”:“The request failed due to failure of a previous request.”,“code”:“SC424”,“suberrors”:[{“message”:“Status Code Error: 400”,“name”:“RuntimeError”}]”.

Further into the error it does state “{response”,400,{“body”:{“Error”:“unauthorized_client”,“ErrorDescription”:“Client failed validation”}".

Does anyone else have trouble with the Azure DevOps oauth setup?

Hi Kyle.

One thing that might help narrow down the problem is if you’re able to replicate using Postman.

If it works there, then the problem is on the Make end. If it doesn’t, then the problem is likely to be in the parameters you’re sending.

Let us know what you find out …

1 Like

Hi Kyle,

So sorry to see you experienced issues with Azure DevOps app. There was a small issue affected connection creation that is now resolved. Could you please try again and report back to confirm you can create a connection? Thank you.

1 Like

Thank you both - I retried this morning and I get the same error in Make. I have not attempted the Postman route but I will try later today.

I tested from Postman using a PAT and was able to hit the API without any errors. I am still receiving the same error within Make when trying to setup a new DevOps connection. Please let me know if you need any additional info about my account or error.

I’m having the exact same problem at the moment.

Hello Kyle and Brandon,

Can I ask you which specific error are you receiving in Make?

And do you have the option Third-party application access via OAuth active in Azure DevOps? You can find it in Organization Settings > Security > Policies?

Thank you

1 Like

Hi all,

I would like to add on top of what Simo posted. We updated our documentation with details how to 3rd-party applications access via OAuth. So if you are receiving [401] you need to make sure you have this setting enabled.

Please, find our more details in our documentation - https://www.make.com/en/help/apps/it-and-development/azure-devops#connect-azure-devops-to-make

3 Likes

{“message”:“The request failed due to failure of a previous request.”,“code”:“SC424”,“suberrors”:[{“message”:“Status Code Error: 400”,“name”:“RuntimeError”}],“debug”:[[“request”,“POST”,“https://app.vssps.visualstudio.com/oauth2/token",{“body”:{“assertion”:“eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJhdWkiOiJjYmE0YjY2Zi1jN2ZmLTQzOGMtYjk4YS0wMGZjZGY4ZjA4ZjIiLCJuYW1laWQiOiI1ZTg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ob3JpemF0aW9uX2dyYW50IiwiaXNzIjoiYXBwLnZzdG9rZW4udmlzdWFsc3R1ZGlvLmNvbSIsImF1ZCI6ImFwcC52c3Rva2VuLnZpc3VhbHN0dWRpby5jb20iLCJuYmYiOjE2ODIzNjY1NjcsImV4cCI6MTY4MjM2NzQ2N30.kwJz1gNaljpk3chuys3LaEqb8U4kUpTfwhb6xhJWXBuezyAN4EtmrzL4uQhrSIXfaSm5MT4Z5MbTrWeUW6xAqhzi5kigjBtMyOoIsUJg9CI1nmAbugKicyd5KdoMQKkE8yb9bJOy8MAdEg5tCp2Ez9snjLtAdqWYLXpL2bAQka-rj7JkT5cZNNdvz5fJNPwXPqVhVNcYAKQfm9Hh_tv8e28oP_pMzdriNDJRwLdM5rnrD_lK8wSa699StWaP3PZhg__qIYiRK24NW7r7H4j2jW_h5DMse-cMtOTsEeZ1gurWsavYcqHkv2Te-O7LBEslb2p__YE7t268eH4DYT2CdQ”,“grant_type”:“urn:ietf:params:oauth:grant-type:jwt-bearer”,“redirect_uri”:“https://www.integromat.com/oauth/cb/azure-devops”,“client_assertion”:“***”,“client_assertion_type”:“urn:ietf:params:oauth:client-assertion-type:jwt-bearer”},“headers”:{“user-agent”:“Make/production”,“content-type”:“application/x-www-form-urlencoded”},“timeout”:40000,“type”:“urlencoded”}],[“response”,400,{“body”:{“Error”:“unauthorized_client”,“ErrorDescription”:"Client failed validation”},“headers”:{“cache-control”:“no-cache, no-store, must-revalidate”,“pragma”:“no-cache”,“content-length”:“77”,“content-type”:“application/json; charset=utf-8”,“expires”:“-1”,“p3p”:“CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"”,“set-cookie”:[“VstsSession=%7B%22PersistentSessionId%22%3A%22c1a836b3-e2f6-4463-892a-4926d8fffe8a%22%2C%22PendingAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22CurrentAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22SignInState%22%3A%7B%7D%7D;SameSite=None; domain=.visualstudio.com; expires=Tue, 23-Apr-2024 20:02:51 GMT; path=/; secure; HttpOnly”],“x-tfs-processid”:“5d273a70-63fe-4c47-b6f4-0d7ba001f795”,“strict-transport-security”:“max-age=31536000; includeSubDomains”,“activityid”:“5cc9771e-2906-4842-bafd-6701f672dc62”,“x-tfs-session”:“5cc9771e-2906-4842-bafd-6701f672dc62”,“x-vss-e2eid”:“5cc9771e-2906-4842-bafd-6701f672dc62”,“x-vss-senderdeploymentid”:“a5ca35eb-148e-4ccd-bbb3-d31576d75958”,“request-context”:“appId=cid-v1:20b3930f-73dc-453a-b660-e3891d782eef”,“access-control-expose-headers”:“Request-Context”,“x-content-type-options”:“nosniff”,“x-cache”:“CONFIG_NOCACHE”,“x-msedge-ref”:“Ref A: 5724200AA0A242869097311E44D4570D Ref B: BL2AA2030107011 Ref C: 2023-04-24T20:02:51Z”,“date”:“Mon, 24 Apr 2023 20:02:50 GMT”,“connection”:“close”}}]]}

Here is the exact error I get - and yes I have the 3rd party OAuth policy flipped on.

Hi, I am sorry you are still struggling with setting up the Azure DevOps app. Could you please open a ticket so that we can escalate it to the team and investigate?

Please, do make sure to provide as much details as possible. Error message, scenario URL, screenshots, steps to reproduce.

You can open a ticket here: https://www.make.com/en/ticket

Thank you.