Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When migrating project between two organizations, prompt authentication does not work, use PAT tokens #2563

Closed
2 tasks done
svdoever opened this issue Dec 15, 2024 · 0 comments

Comments

@svdoever
Copy link

svdoever commented Dec 15, 2024

Version

  • I confirm that I am using the latest version

Source Version

Azure DevOps Service

Target Version

Azure DevOps Service

Relevant configuration

No response

Relevant log output

No response

What happened?

When I use prompt for authentication, I'm only prompted once. On accessing the target organization, I get a redirect (302) on images, probably to the authentication page, when trying to load image in the function UploadedAndRetrieveAttachmentLinkUrl() when is tries to do var result = DownloadFile(httpClient, matchedSourceUri, fullImageFilePath);.

This leads to not rewriting the URLs of the source images to an URL in the target organization (and copying over the image).

Works correctly when using different PAT tokens for source and target organizations for the authentication.

Debug in Visual Studio

  • Visual Studio Debug
@nkdAgility nkdAgility locked and limited conversation to collaborators Jan 3, 2025
@MrHinsh MrHinsh converted this issue into discussion #2573 Jan 3, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
Development

No branches or pull requests

1 participant