cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Can't connect to azure devops

For a really long time now when I try to connect to Azure devops connector fist I get:

 

{"Message":"Redirect URI (https://firstrelease-001.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=1ed4387c-ece0-49fb-8138-b3d79e95218a&state=realm%3Dapp.vssps.visualstudio.com%26reply_to%3Dhttps%253A%252F%252Fapp.vssps.visualstudio.com%252Foauth2%252Fauthorize%253Fclient_id%253D6CB5BE61-3F63-42AB-84F7-E2F9DEAECB2B%2526response_type%253DAssertion%2526redirect_uri%253Dhttps%25253A%25252F%25252Ffirstrelease-001.consent.azure-apim.net%25252Fredirect%2526scope%253Dvso.agentpools_manage%252520vso.build_execute%252520vso.chat_manage%252520vso.code_manage%252520vso.code_status%252520vso.connected_server%252520vso.dashboards_manage%252520vso.entitlements%252520vso.extension.data_write%252520vso.extension_manage%252520vso.identity%252520vso.loadtest_write%252520vso.packaging_manage%252520vso.project_manage%252520vso.release_manage%252520vso.test_write%252520vso.work_write%2526state%253Df1a99dfa-250d-4c26-a10b-1df39039b2a2%26ht%3D3%26mkt%3Dcs-CZ%26nonce%3D1ed4387c-ece0-49fb-8138-b3d79e95218a&resource=https:%2F%2Fmanagement.core.windows.net%2F&cid=1ed4387c-ece0-49fb-8138-b3d79e95218a&wsucxt=1&mkt=cs-CZ)."}

and then I'm getting

{"Message":"Redirect URI (https://firstrelease-001.consent.azure-apim.net/redirect?error=InvalidScope) did not receive an expected state query parameter from the authorization service (Referer: https://preview.web.powerapps.com/widget/environments/839eace6-59ab-4243-97ec-a5b8fcc104e4/connections/available?feature.showWidgetAsFlow=true&l=en-us&widgetId=839eace6-59ab-4243-97ec-a5b8fcc104e4)."}

 Capture.JPG

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: Can't connect to azure devops

Hi @ondrejk ,

 

It seems that you got the error message when creating a connection to Azure DevOps.

 

What’s your current situation?

 

What’s your location?

 

When trying to create a connection Azure DevOps on my side, the connection could be created successfully. The issue you’ve mentioned didn’t occur.

 

Please clear browser caches and cookies then try again with it later and if the issue still exists, please post back with more details.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Support
Community Support

Re: Can't connect to azure devops

Hi @ondrejk ,

 

Are you now able to create a connection to Azure DevOps successfully?

 

Please let me know if you need more help.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Can't connect to azure devops

hi @v-yamao-msft ,

still the same issue.

 

I tried to contact you on Teams to share more info about the issue.

Highlighted
Frequent Visitor

Re: Can't connect to azure devops

It seems that you got the error message when creating a connection to Azure DevOps.

 

What’s your current situation? - Still cant

 

What’s your location? - Czech republic

 

Please clear browser caches and cookies then try again with it later and if the issue still exists, please post back with more details. - I did, it is happening on different machines so it's not browser specific.

Highlighted
Community Support
Community Support

Re: Can't connect to azure devops

Hi @ondrejk ,

 

Thanks for updating.

 

I have reported this issue and will back to you once I got any response.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Community Support
Community Support

Re: Can't connect to azure devops

Hi @ondrejk ,

 

We need additional info to investigate into this issue.

 

Provide your connection ID.

 

You could get the URL to the connection by clicking Details of the selected connection.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Can't connect to azure devops

Hi @v-yamao-msft 

I can see those ids:

https://preview.web.powerapps.com/oauth?oauthPopupId=e79e508d-6988-4a9e-af91-34ebffeb1f75

 

Key 'Token' not found in connection profile. clientRequestId: e8809f90-8aba-45bb-b8fa-84177d396012

 

{"Message":"Redirect URI (https://firstrelease-001.consent.azure-apim.net/redirect?error=InvalidScope) did not receive an expected state query parameter from the authorization service (Referer: https://preview.web.powerapps.com/widget/environments/839eace6-59ab-4243-97ec-a5b8fcc104e4/connections/available?feature.showWidgetAsFlow=true&l=en-us&widgetId=839eace6-59ab-4243-97ec-a5b8fcc104e4&auth=postMessage)."}

Not sure where to get details as the connection actually doesn't happen:

image.png

but to make the process easier you can contact me via Teams (ondrejk@microsoft.com) and I can provide any info necessary.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,696)