web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't connect to Azure...
Power Automate
Answered

Can't connect to Azure Dev Ops

(2) ShareShare
ReportReport
Posted on by 36

I'm trying to create a flow to create an issue at Azure Dev Ops (former VSTS) whenever an email is received.

 

I don't have any trouble connecting to Outlook.com, but when I try to create the connection to Azure Dev Ops an error shows up in the popup window with a Bad Request message in it (HTTP Error 400).

 

I've seen that in the connections list, the Azure Dev Ops connections is still a Preview, but almost all of them are.

 

This is a known issue? There is any solution?

 

Thank you

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @naulacambra,

     

    I have made a test on my side and don't have the issue that you mentioned.

     

    I could create a connection to Azure Dev Ops with no error.

     

    Please take a try to create the connection with correct account information.

     

    Best regards,

    Alice

  • naulacambra Profile Picture
    36 on at

    Hi @v-yuazh-msft,

     

    Thank you for your response, but I still cannot connect to Azure Dev Ops.

     

    I've tried Chrome (my usual browser), Microsoft Edge and Mozilla Firefox, all of them with the same result.

     

    Steps:

    1. Sign in into Microsoft Flows and go to Connections

    1.PNG

    2. Try to create an Azure Dev Ops new connection

    2.PNG

     

    3. When I click on "Create" a sign-in popup shows up, and without letting me try to sign in, a 400 HTTP Error appears3.PNG

     

    This is the url on the popup 

    https://app.vssps.visualstudio.com/oauth2/authorize?client_id=64A11F15-53A8-40BB-AB1B-1EF6EB495373&response_type=Assertion&redirect_uri=https%3a%2f%2fglobal.consent.azure-apim.net%2fredirect&scope=vso.agentpools_manage+vso.build_execute+vso.chat_manage+vso.code_manage+vso.code_status+vso.connected_server+vso.dashboards_manage+vso.entitlements+vso.extension.data_write+vso.extension_manage+vso.identity+vso.loadtest_write+vso.packaging_manage+vso.project_manage+vso.release_manage+vso.test_write+vso.work_write&state=e3f5b8eb-7b93-4662-aefa-f4f636879eaa_europe-002

     

    Anything that I should try?

     

    Thank you

  • Mooster Profile Picture
    10 on at
    This is the exact error that I am facing
  • Linuxcable23 Profile Picture
    10 on at

    Naulacambra 

     

    Do you have at least access in Devops to create a story,bug or anything else  since your error message seems like it could be an issues with what level of access you have

  • naulacambra Profile Picture
    36 on at

    I use the Dev Ops on my work daily, with full access, being able to manage work items. I've never had any permissions issue when working directly at Dev Ops.

  • Linuxcable23 Profile Picture
    10 on at

    Did you also try another browser and do you have a Personal account with Microsoft that it could be trying to use and not your normal one for Dev ops since I do have 2 acccounts one for personal and one for work with the same email which does cause some issues. 

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hello, @naulacambra!

    Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Linuxcable23‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Mooster Profile Picture
    10 on at

    I am now getting a different error message than before. It now displays this message:

    {"Message":"Redirect URI (https://global.consent.azure-apim.net/redirect?error=InvalidScope) did not receive an expected state query parameter from the authorization service (Referer: https://us.flow.microsoft.com/manage/environments/0ae46d49-ab2f-4c24-a9a1-4913a4ab9f60/flows/new)."}

     I tried this using Chrome, Edge, and Firefox and get the same result.

  • naulacambra Profile Picture
    36 on at

    I do have more than one account, a personal account and the work account. And none of them works.

     

    Since I had this issues, I've tried with only one the accounts at the same time, on several browsers (Chrome, Edge and Firefox), with and without incognito windows, always with the same result.

     

    Specifically, now a new error appears.1-E.PNG

     

     

    This is the showing message

    {"Message":"Redirect URI (https://global.consent.azure-apim.net/redirect?error=InvalidScope) did not receive an expected state query parameter from the authorization service (Referer: https://login.microsoftonline.com/common/oauth2/authorize?client_id=499b84ac-1321-427f-aa17-267ca6975798&site_id=501454&response_mode=form_post&response_type=code+id_token&redirect_uri=https:%2F%2Fapp.vssps.visualstudio.com%2F_signedin&nonce=acb3ce0a-5e7f-4f44-9612-d50f06120144&state=realm%3Dapp.vssps.visualstudio.com%26reply_to%3Dhttps%253A%252F%252Fapp.vssps.visualstudio.com%252Foauth2%252Fauthorize%253Fclient_id%253D5C79975E-E99A-465C-8F02-E8A833C784B0%2526response_type%253DAssertion%2526redirect_uri%253Dhttps%25253A%25252F%25252Fglobal.consent.azure-apim.net%25252Fredirect%2526scope%253D%25255Bvariables%252528%252527scopes%252527%252529%25255D%2526state%253D5474c658-70ba-497f-96eb-92bb536bbbc0_europe-002%26ht%3D3%26mkt%3Den-GB%26nonce%3Dacb3ce0a-5e7f-4f44-9612-d50f06120144&resource=https:%2F%2Fmanagement.core.windows.net%2F&cid=acb3ce0a-5e7f-4f44-9612-d50f06120144&wsucxt=1&mkt=en-GB)."}

     

  • Mooster Profile Picture
    10 on at

    I decided to try it connecting again. I have no problem connecting to Dev Ops now.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard