Export a list of users and their access levels

Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019 | TFS 2018

You can get a list of users and groups that have access to your organization in Azure DevOps by exporting users. The downloaded list also indicates which access level has been granted.

You can get a list of users and groups that have access to your Azure DevOps Server instance by exporting the audit log. The audit log also indicates which access level has been granted.

You can get a list of users and groups that have access to your Team Foundation Server (TFS) instance by exporting the audit log. The audit log also indicates which access level has been granted.

Important

Auditing is only available for organizations backed by Azure Active Directory. For more information, see Connect your organization to Azure Active Directory.

Prerequisites

  • You must be a member of the Azure DevOps Server Administrators group. If you aren't a member, get added now. See Add administrators.

Export a list of users

From your web portal or the Azure DevOps CLI command, you can get a list of the users in your organization and view their access level information.

From your web portal, you can get a list of the users in your organization and view their access level information.

  1. Choose the Azure DevOps logo to open Projects. Then choose Admin settings.

    Screenshot of Open Organization settings.

  2. Choose Users, and then Export users.

    Screenshot of Export users.

You can get a list of users and groups that have accessed your Azure DevOps Server instance by exporting the audit log. The audit log also indicates which access level has been granted.

  1. From the web portal home page for a project, choose the Azure DevOps logo, (1) the project collection, and (2) Access levels.

    Screenshot of Open Access levels.

    Note

    If you're not a member of the Team Foundation Server Administrators group, the Access levels page won't appear.

  2. Choose Export audit log.

    Screenshot of Export audit log, Azure DevOps Server 2019 and 2020, Web portal,

  3. The user log file is saved as a .csv file to your Download folder.

    To determine the access level assigned to each user or group, open the file in Excel.

You can get a list of users and groups that have access to your TFS instance by exporting the audit log. The audit log also indicates which access level has been granted.

  1. From the web portal home page for a project, choose the gear icon and select Server settings.

    Screenshot of Open Server settings admin context, TFS 2018.
  2. Choose Access levels, and then Export audit log.

    Screenshot of Export audit log, TFS 2018.

    Note

    If you're not a member of the Team Foundation Server Administrators group, the link to the Access levels page won't appear.

  3. The user log file is saved as a .csv file to your Download folder.
    To determine the access level assigned to each user or group, open the file in Excel.