Forum Discussion
bbliang
Feb 16, 2023Copper Contributor
How to grant Service Principle access right to Azure Repos
In Azure Pipelines, we need to get source code of another organization's Azure Repos. Currently we use personal access token, but it links to a user who might leave the organization. Can we use a ser...
bbliang
Apr 13, 2023Copper Contributor
Have added the service principle to the organization
Have granted the service principle "Project Reader" Role for the project
Have granted read access right to all repositories of the project.
But still got the error message when verify the service connection
Robina
Apr 14, 2023MCT
Kindly type error message over here
- bbliangApr 18, 2023Copper ContributorError Message when verify the service connection:
Failed to query service connection API: 'https://email address removed for privacy reasons/xxx/xxx/_git/xxxx/_apis/projects'. Status Code: 'Unauthorized', Response from server: ''- RobinaApr 19, 2023MCTContact Azure support for further assistance. They can help investigate the issue in more detail and provide guidance on resolving the problem.