Issues with my organization accounts being unable to access my repo

Gurnoor Virdi 0 Reputation points
2025-03-12T01:41:10.6+00:00

I am currently trying to set up my organization permissions so that I can give my developors and other accounts access. Right now on my developer and other accounts it is showing 401 no access error even though the email for the developer and other accounts are listed.

Azure DevOps
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Babafemi Bulugbe 4,025 Reputation points MVP Volunteer Moderator
    2025-03-17T06:30:58.73+00:00

    Hello Gurnoor Virdi,

    Thank you for posting your question in the Microsoft Q&A Community.

    I understand you have added the developers to your DevOps Organization, but still doesn't give them access to the repo.

    Kindly check the access level you have assigned to the developers. The minimum access level to the repos within your project is Basic. If you have assigned them the default access level (Stakeholder), this wont work.

    User's image

    Let me know if the issue persists.

    Babafemi

    0 comments No comments

  2. Suresh Chikkam 2,135 Reputation points Microsoft External Staff Moderator
    2025-03-17T09:05:31.4866667+00:00

    Hi @Gurnoor Virdi ,

    it is showing 401 no access error even though the email for the developer and other accounts are listed.

    This can happen if the user is not added to the organization, lacks proper repository access, has an expired or incorrect Personal Access Token (PAT), or if Azure Entra policies block access.

    • First, check the repository permissions. Go into the project settings in Azure DevOps, find the repository in question, and look at the security settings. Make sure the users or the groups they belong to have at least read or contribute permissions.

    Next, verify that the accounts are actually part of the organization. In the organization settings under the users section, check if they have been added properly. If they are missing from there, they might need to be re-invited. Also, confirm that they have the correct license level (Basic).

    enter image description here

    If they are using a personal access token (PAT) to authenticate, check that the token is still valid and has the right permissions for repository access. If it’s expired or missing the necessary scopes, authentication will fail. If they’re using OAuth or a service principal, the permissions associated with those authentication methods should also be reviewed.

    enter image description here

    Lastly, check if there are any firewall or IP restrictions in place that could be blocking external users from connecting. If they are trying to access from a network outside the allowed range, they might be getting denied before authentication even happens.

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes wherever the information provided helps you, this can be beneficial to other community members. User's image

    If you have any other questions or still running into more issues, let me know in the "comments" and I would be happy to help you.


Your answer

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