process-migrator icon indicating copy to clipboard operation
process-migrator copied to clipboard

Access requirements

Open code-on-git opened this issue 11 months ago • 4 comments

When I read the documentation I got the impression that the PAT's in the config file are all you need to migrate a process. But it turns out that I had to be logged in with my own Azure Devops admin account as well. Otherwise I get this error message: VS402356: You do not have the permissions required to perform the attempted operation on this process.

Is this written somewhere in the documentation or is it a bug?

code-on-git avatar Mar 12 '24 11:03 code-on-git

@code-on-git was this in the export or import phase?

MOlausson avatar Mar 13 '24 18:03 MOlausson

It was in the import phase.

code-on-git avatar Mar 13 '24 19:03 code-on-git

Thanks. Which Azure DevOps versions are you migrating from and to? The PAT should only need the "Work Items 'Read, Write, & Manage" permission scope.

MOlausson avatar Mar 14 '24 22:03 MOlausson

From: Version Dev19.M235.1 (AzureDevOps_M235_20240304.10) To: Version Dev19.M235.1 (AzureDevOps_M235_20240311.1)

code-on-git avatar Mar 15 '24 07:03 code-on-git

Hello, I've just tested it, and you don't need to be logged in. Please try creating a new access token and test again Screenshot 2024-05-08 at 16 15 24

AminTi avatar May 08 '24 14:05 AminTi

@code-on-git Had the same issue. Problem was that i set the rights in the token, but my user itself did not have permissions to create a process on organisation level. I did not find that requirement explicitely mentioned in the docu.

Bifeater avatar Jun 25 '24 09:06 Bifeater