Closed NotAwar closed 1 month ago
I have the exact same problem. Please let me know if someone figure this one out.
I have heard back from the Product Team, and the Object Model only works with "Full Access" PAT tokens.
Updating this issue in case it helps someone else.
When setting "PersonalAccessTokenVariableName": "*" as well as AccessToken and using prompt:
For some reason this variable is prioritized over the AccessToken and therefore you get a 401 error. This is probably due to it being an env variable.
Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
Relevant log output
What happened?
I have Project Collection administrator in both source and target, I have tried several debugging methods according to #1996 but after a month I still seem to have issues with authenticating. I get no prompt window and the run fails instantly.
Debug in Visual Studio