unable to add repos to SRE Agent

Harsh Gupta 40 Reputation points Microsoft Employee
2026-07-10T12:29:31.23+00:00

unable to add repos whether as attached  or remote search both, repos are in Corp tenant while SRE agent sits in the PME tenant.

Azure DevOps
0 comments No comments

Answer accepted by question author
Christos Panagiotidis 3,551 Reputation points
2026-07-13T12:50:54.22+00:00

Hi! The important detail is that the repositories and SRE Agent are in different tenants. The agent’s connection identity must exist in the corporate tenant and have explicit access to the Azure DevOps organization and repositories. If cross-tenant repository connections are not supported by the current agent experience, deploy the agent in the corporate tenant or mirror the required repositories into an accessible organization. Also check the agent’s connection logs for the exact tenant or authorization failure.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author
Vallepu Venkateswarlu 10,595 Reputation points Microsoft External Staff Moderator
2026-07-10T12:43:29.0866667+00:00

Hi Harsh Gupta,

Welcome to Microsoft Q&A Platform.

As discussed , the Azure SRE Agent was not using the Corp account for Azure DevOps authentication from the PME tenant. Once the correct account was used, the repositories were successfully discovered and added, which is the expected behavior.

This is consistent with the prerequisites outlined in the Microsoft Learn documentation for cross-account Azure DevOps access: https://learn.microsoft.com/en-us/azure/sre-agent/cross-account-azdo-oauth-authorization

Please210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, **this can be beneficial to other community members.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.