Share via


Administrative units

Administrative units in Microsoft Entra ID allow you to restrict administrative permissions to specific parts of your Microsoft Entra organization. You create, delete, and edit administrative units in Microsoft Entra. In Microsoft Entra, you manage the users or groups that are members of the administrative unit. This feature lets you subdivide your organization into smaller units and assign specific administrators to manage only the members within those units. Microsoft Purview role groups allow you to assign admins to specific administrative units. Microsoft Purview solutions that support administrative unit will then restrict visibility and management permissions to the members of the unit.

For example, you could use administrative units to delegate permissions to administrators for each geographic region in a large multi-national organization, or for grouping administrator access by department within your organization. You can create region or department-specific policies or view user activity as a result of those policies and administrative unit assignment. You can also use administrative units as an initial scope for a policy, where the selection of users eligible for the policy depends on membership in administrative units.

If you're using adaptive scopes for compliance policies, see How adaptive scopes work with Microsoft Entra administrative units.

Administrative units support in Microsoft Purview

The following Microsoft Purview compliance solutions support administrative units:

Solution Configuration support
Data lifecycle management Role groups, retention policies, and retention label policies
Data Loss Prevention (DLP) Role groups and DLP policies
Communication compliance Role groups and policies
Insider risk management Role groups and policies
Records management Role groups, retention policies, retention label policies, and adaptive scopes
Sensitivity labeling Role groups, sensitivity label policies, and auto-labeling policies

The configuration for administrative units automatically flows down to the following features:

Note

Microsoft Purview Data Loss Prevention and Insider Risk Management, surface alerts in Microsoft Defender XDR. Microsoft Defender XDR supports up to 100 administrative units.

Permissions for administrative units

To assign a role group member to an administrative unit, admins must be assigned the Role management role. To learn more about Microsoft Purview role groups and roles, see Role groups in Microsoft Purview.

You can assign role group members to administrative units within the following built-in role groups:

  • Communication Compliance
  • Communication Compliance Admins
  • Communication Compliance Analysts
  • Communication Compliance Investigators
  • Compliance Administrator
  • Compliance Data Administrators
  • Global Reader
  • Information Protection
  • Information Protection Admins
  • Information Protection Analyst
  • Information Protection Investigators
  • Information Protection Readers
  • Insider Risk Management
  • Insider Risk Management Admins
  • Insider Risk Management Analysts
  • Insider Risk Management Investigators
  • Insider Risk Management Session Approvers
  • Insider Risk Management Approvers
  • Organization Management
  • Records Management
  • Security Administrator
  • Security Operator
  • Security Reader

When you assign role groups, you can select individual members or groups, and then select the Assign admin units option to select administrative units that have been defined in Microsoft Entra ID:

Assign admin units option when you edit role groups.

Important

Assign admin units is always available when you've created custom role groups. You can assign administrative units for any custom role group.

These administrators, referred to as restricted administrators, can now select one or more of their assigned administrative units to automatically define the initial scope of policies that they create or edit. Only if administrators don't have administrative units assigned (unrestricted administrators), will they be able to assign policies to the entire directory without being required to select individual administrative units.

Important

After you've assigned administrative units to members of the role groups, these restricted administrators can't see and edit existing policies. However, there's no operational change to these policies and they remain visible and can be edited by unrestricted administrators.

Restricted administrators also can't see historical data using features that support administrative units, such as activity explorer and alerts. They remain visible to unrestricted administrators. Going forward, restricted administrators are able to see this related data for their assigned administrative units only.

Prerequisites for administrative units

Before configuring administrative units for Microsoft Purview compliance solutions, make sure your organization and users meet the following subscription and licensing requirements:

  • Microsoft Entra ID P1 or P2 licensing

  • Microsoft Purview licensing:

    • Microsoft 365 E5/A5/G5
    • Microsoft 365 E5/A5/G5/F5 Compliance or F5 Security & Compliance
    • Microsoft 365 E5/A5/G5/F5 Information Protection & Governance
    • Microsoft 365 E5/A5/F5 Insider Risk Management

Configure and use administrative units

Complete the following steps to configure and use administrative units with Microsoft Purview compliance solutions:

  1. Create administrative units to restrict the scope of role permissions in Microsoft Entra ID.

  2. Add users and distribution groups to administrative units.

    Important

    Members of Dynamic Distribution Groups don't automatically become members of an administrative unit.

  3. If creating a geographic region or department-based administrative units, configure administrative units with dynamic membership rules.

    Note

    You can't add groups to an administrative unit that uses dynamic membership rules. If needed, create two administrative units, one for users and one for groups.

  4. Use any of the role groups from the Microsoft Purview compliance solutions that support administrative units to assign administrative units to members.

Now, when these restricted administrators create or edit policies that support administrative units, they can select administrative units so that only the users in those administrative units are eligible for the policy:

  • Unrestricted administrators don't have to select administrative units as part of the policy configuration. They can keep the default of the entire directory, or select one or more administrative units.
  • Restricted administrators must now select one or more administrative units as part of the policy configuration.

Further into the policy configuration, administrators who selected administrative units must then include or exclude (if supported) individual users and groups from the administrative units that they previously selected for the policy.

For information about administrative units that is specific to each supported solution, see the following sections:

Administrative units support for SharePoint sites (preview)

Microsoft Purview now supports adding SharePoint sites to administrative units. This enables you to tailor visibility and management control of Microsoft Purview administrators within the Microsoft Purview portal. This support is only available for Microsoft Information Protection auto-labeling policies and Microsoft Data Loss Prevention policies that support application to SharePoint sites.

Note

You'll continue to manage administrative unit creation, deletion, and Microsoft Entra resource membership from Microsoft Entra ID. Any administrative unit created appears in the listing for Microsoft Purview.

It can take up to five days for a query to fully populate, changes aren't immediate. Wait until this query is fully populated before you associate a policy with an administrative unit.

Configure administrative units for SharePoint sites

Follow these steps to configure and use administrative units. These steps guide you through administrative unit creation, how to associate resources to that administrative unit, and how to assign Microsoft Purview compliance role group members to administrative units. Once you create administrative units, use the following steps to associate SharePoint sites to the administrative unit.

Microsoft Purview customers entitled to this feature can now access Administrative units under the Roles and scopes in Microsoft Purview portal settings. Within Administrative units, select an administrative unit and edit it to associate SharePoint sites to the administrative unit.

To complete the following steps to configure SharePoint sites within administrative units for use in Microsoft Purview, you must have the admin unit extension manager role assigned. This role is assigned by an administrator with role management rights in Microsoft Purview, either by using a built-in role group with this role or using a custom role group.

  1. Go to the Microsoft Purview portal.
  2. Select se.ttings and select Roles and scopes.
  3. Select Administrative units.
  4. Select an existing administrative unit from the list
  5. Select Edit.
  6. Create a query to associate SharePoint sites with the administrative unit.
  7. Use any of the role groups from the Microsoft Purview compliance solutions that support administrative units to assign administrative units to members.

Queries to associate SharePoint sites with administrative units support site properties for Site URL, Site name, and RefinableString00-RefinableString99. These queries apply both to SharePoint sites and OneDrive accounts, with the exception of shared channel SharePoint sites. The property names for sites are based on SharePoint site managed properties. For more information about associating custom properties to managed properties (RefinableString00-RefinableString99), see Using Custom SharePoint Site Properties to Apply Microsoft 365 Retention with Adaptive Policy Scopes.

Test your query

To test your query using SharePoint search, complete the following steps:

  1. Using an account with the SharePoint admin role, go to https://<your_tenant>.sharepoint.com/search.
  2. Use the search bar to input the query shown in the query summary for your SharePoint sites in the administrative unit.
  3. Verify that the search results match the expected site URLs for your administrative unit. If they don't, check your query and the URLs with the relevant administrator for SharePoint.

Now when restricted administrators create or edit policies that support administrative units, they can select administrative units so that only the SharePoint sites, users, or groups in those administrative units are eligible for the policy:

  • Unrestricted administrators don't have to select administrative units as part of the policy configuration. They can keep the default of the entire directory, or select one or more administrative units.
  • Restricted administrators must now select one or more administrative units as part of the policy configuration.

Administrators selecting administrative units can't include or exclude individual SharePoint sites. SharePoint sites support application to all sites associated to the administrative unit.

Important

You can edit a SharePoint query for an administrative unit to result in no site memberships if you would like to remove associated sites from an administrative unit. You can make the query result in no sites to clear site membership.

View administrative unit SharePoint site membership details in Purview

After creating a SharePoint query for an administrative unit in Microsoft Purview, you can view the site members of the administrative unit. User and Group membership of an administrative unit are only visible from the Microsoft Entra ID portal.

Complete the following steps to access the member details page to see SharePoint site members of an administrative unit in Microsoft Purview:

  1. Navigate to the Microsoft Purview portal at purview.microsoft.com
  2. Select settings and select Roles and scopes.
  3. Select Administrative units
  4. Select an existing administrative unit from the list.
  5. Select Member Details
  6. A list of SharePoint site members is shown.
  7. The State column in the list shows Added for sites added to the administrative unit or Removed if the site was previously in the administrative unit but is removed once no longer a match for the SharePoint query.
  8. Use the Export function to download a list of the displayed sites to a CSV file.

Note

It might take up to 5 days for the member details list to update added or removed sites.

For information about administrative units and the SharePoint site (preview) in Microsoft Purview solutions, see: