question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Accessing dev.azure.com environments fails

See original GitHub issue

I am trying to sync work items between an project running as “environment.visualstudio.com” to “dev.azure.com/environment”. Unfortunately, I cannot login, the system rejects access to the dev.azure.com environment. I don’t even get an login prompt whatsoever.

Accessing said environment via Visual Studio 2017 works fine with my credentials.

If I try to sync to another environment.visualstudio.com-style site within the same AAD environment, things work like a breeze.

Broken config

{
	"TelemetryEnableTrace": true,
	"workaroundForQuerySOAPBugEnabled": false,
	"Source": {
		"Collection": "https://oldsite.visualstudio.com/",
		"Name": "someproject"
	},
	"Target": {
		"Collection": "https://dev.azure.com/newsite/",
		"Name": "Test"
	},

Working config

{
	"TelemetryEnableTrace": true,
	"workaroundForQuerySOAPBugEnabled": false,
	"Source": {
		"Collection": "https://oldsite.visualstudio.com/",
		"Name": "someproject"
	},
	"Target": {
		"Collection": "https://othersite.visualstudio.com//",
		"Name": "Test"
	},

I am a Project Collection Administrator level user in both target environments.

In the source environment I am a more limited user, but using it works fine in the second case, where the authentication constellation is the same. Note, however, that source belongs to another AAD domain.

Any insights would be helpful.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MrHinshcommented, Mar 1, 2019

The account that you use needs to have access to both Source and Target organisations. Make sure that the account is:

  1. Added as a B2B Guest in the other Tennant (the one it’s not natively from)
  2. Has been added to Collection Admins group on both Azure DevOps organisations.
0reactions
MichelZcommented, Mar 1, 2019

Indeed interesting. I’m not really sure if the tool (and the client libraries that it uses) is designed for this scenario (2 different authentications for Azure DevOps).

My suggestion:

  • Temporarily allow the user from one Org into the other Org, and just one set of Credentials for both temporarily for the Migration.

Worth a shot…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot access, permission issues - Azure DevOps
Find helpful troubleshooting information for resolving access and permission issues in Azure DevOps.
Read more >
dev.azure.com can't be reached - Developer Community
Hello,. I am trying to access dev.azure.com which can't be reached or taking long to respond. Kindly help with the same.
Read more >
TF30063:You are not authorized to access dev.azure.com ...
Go to Control Panel (with small icon view)--> User Accounts --> Manage your credentials (on the left column)-->Select Windows Credentials --> ...
Read more >
Configuring CI/CD Pipelines as Code with YAML in Azure ...
Navigate to your team project on Azure DevOps in a new browser tab. Before digging into the YAML pipelines, you will want to...
Read more >
Rider keeps my prompting for my credentials in private ...
Hi,. we using a lot of internal nuget feeds out of azure devops in different solutions. As architect I need to switch these...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found