Configure activity monitoring to protect user privacy
In brief
The article now provides expanded guidance for configuring privacy groups, granting admins permission to view private activities, and viewing those activities in the activity log. Wording, headings, image descriptions, anchors, and audit-log explanations were also refined.
What Defender admins need to know
Administrators have clearer instructions for managing private activities and understanding that viewing them is audited and recorded in the governance log.
Summaries are generated from the documentation change itself.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
Configure activity monitoring to protect user privacy
Learn how to configure activity privacy in Microsoft Defender for Cloud Apps to monitor users while complying with your organization's privacy regulations. This article covers how to set up privacy user groups, assign admin permissions to view private activities, and view those activities in the activity log.
Activity privacy overview
Microsoft Defender for Cloud Apps allows enterprises to granularly determine which users they want to monitor based on group membership. Activity privacy will enable you to follow your organization's compliance regulations without compromising user privacy. Activity privacy is achieved by allowing you to monitor users while maintaining their privacy by hiding their activities in the activity log. Only authorized admins can choose to view these private activities, with each instance being audited in the governance log.
Configure activity privacy user groups
You may have users in Defender for Cloud Apps that you want to monitor, but, due to compliance regulations, you need to limit the people who can do so. Activity privacy lets you define a user group for which the activities performed by members of that group will be hidden by default.
To configure your user privacy groups, you must first import user groups to Defender for Cloud Apps. By default, you'll see the following groups:
In the Add user groups dialog, under Select user groups, select all the groups you want to make private in Defender for Cloud Apps, then select Add.
Assign admins permission to view private activities
To grant specific admins permission to view private activities, follow these steps:
In the Microsoft Defender Portal, in the left-hand menu, select Permissions.
Under Cloud Apps, choose Activity Privacy Permissions.
In the Add admin permission dialog, enter the admin's UPN or email address and select Add permission.
View private activities
Once an admin has been granted the appropriate permission to view private activities, the admin can choose to see those activities in the activity log.
View private activities in the activity log
In the Activity log page, to the right of
filethe activity table, select Table settings, and then select Show private activities.
In the Show private activities dialog, select OK to confirm that you understand that showing private activities is being audited. Once confirmed, the private activities are shown in the activity log, and the action of showing private activities is recorded in the governance log.
\ No newline at end of file If you run into any problems, we're here to help. To get assistance or support for your product issue, please contact Microsoft Defender XDR support.
\ No newline at end of file@@ -1,13 +1,15 @@ --- title: Configure activity monitoring to protect user privacy description: This article provides information about how to configure your activity monitoring to comply with your user privacy policy.-ms.date: 06/16/2026+ms.date: 07/03/2026 ms.topic: how-to-ms.custom: sfi-image-nochange, msecd-doc-authoring-1014+ms.custom: sfi-image-nochange, msecd-doc-authoring-1016 ai-usage: ai-assisted --- # Configure activity monitoring to protect user privacy +Learn how to configure activity privacy in Microsoft Defender for Cloud Apps to monitor users while complying with your organization's privacy regulations. This article covers how to set up privacy user groups, assign admin permissions to view private activities, and view those activities in the activity log.+ ## Activity privacy overview Microsoft Defender for Cloud Apps allows enterprises to granularly determine which users they want to monitor based on group membership. Activity privacy will enable you to follow your organization's compliance regulations without compromising user privacy. Activity privacy is achieved by allowing you to monitor users while maintaining their privacy by hiding their activities in the activity log. Only authorized admins can choose to view these private activities, with each instance being audited in the governance log.@@ -17,7 +19,7 @@ Microsoft Defender for Cloud Apps allows enterprises to granularly determine whi ## Configure activity privacy user groups -You may have users in Defender for Cloud Apps that you want to monitor, but, due to compliance regulations, you need to limit the people who can do so. Activity privacy lets you define a user group for which the activities will be hidden by default.+You may have users in Defender for Cloud Apps that you want to monitor, but, due to compliance regulations, you need to limit the people who can do so. Activity privacy lets you define a user group for which activities performed by members of that group will be hidden by default. To configure your user privacy groups, you must first [import user groups](user-groups.md) to Defender for Cloud Apps. By default, you'll see the following groups: @@ -31,13 +33,15 @@ To configure your user privacy groups, you must first [import user groups](user- 1. In the **Add user groups** dialog, under **Select user groups**, select all the groups you want to make private in Defender for Cloud Apps, then select **Add**. - +  > [!NOTE] > Once a user group is added, all the activities performed by users of the group will be made private from then on. Existing activities are not affected. ## Assign admins permission to view private activities +To grant specific admins permission to view private activities, follow these steps:+ 1. In the Microsoft Defender Portal, in the left-hand menu, select **Permissions**. 1. Under **Cloud Apps**, choose **Activity Privacy Permissions**. @@ -47,25 +51,27 @@ To configure your user privacy groups, you must first [import user groups](user- 1. In the **Add admin permission** dialog, enter the admin's UPN or email address and select **Add permission**. - +  > [!NOTE] > Only admins can be assigned permission to view private activities. -## Viewing private activities+<a name="viewing-private-activities"></a>+## View private activities -Once an admin has been granted the appropriate permission to view private activities, they can choose to see these activities in the activity log.+Once an admin has been granted the appropriate permission to view private activities, the admin can choose to see those activities in the activity log. -### To view private activities+<a name="to-view-private-activities"></a>+### View private activities in the activity log 1. In the **Activity log** page, to the right of the activity table, select **Table settings**, and then select **Show private activities**. - +  -1. In the **Show private activities** dialog, select **OK** to confirm that you understand that the action is being audited. Once confirmed, the private activities are shown in the activity log, and the action is recorded in the governance log.+1. In the **Show private activities** dialog, select **OK** to confirm that you understand that showing private activities is being audited. Once confirmed, the private activities are shown in the activity log, and the action of showing private activities is recorded in the governance log. > [!TIP] > When you export activities with the **Show private activities** option selected, the activities inside the export are still private, and no activity details are exposed. > -If you run into any problems, we're here to help. To get assistance or support for your product issue, please [contact Microsoft Defender XDR support](/defender-xdr/contact-defender-support)\ No newline at end of file+If you run into any problems, we're here to help. To get assistance or support for your product issue, please [contact Microsoft Defender XDR support](/defender-xdr/contact-defender-support).\ No newline at end of file 