Forum Discussion
Gokulnathkumar
Feb 04, 2022Copper Contributor
How to Find the user name from the ID.
I am getting an user ID from the Pipeline Run. However, I see I couldn't find any user with the ID `987l9060-jb7f-4kj6-b976-9g98b0d6789x` mentioned in the Error message. Is there a quick way to find ...
dmki1
May 17, 2023Copper Contributor
Gokulnathkumar your problem here is not finding the user name. The ID you see is likely not your user at all, but lack of user. Here is the scenario that would cause similar problem: you create artifact feed, but don't add your agent to the list of contributors. And that's it, nuget will fail to restore packages, saying that this user can't get access. The ID will not be the ID of your agent.
Check if your agent is properly registered, i.e. you see user "Agent Pool Service (#)", where # is ID of your agent. You may want to modify permissions of PAT used and restart your agent.