My Analytics Opt-in | Opt-out

MyAnalytics provides insights into two of the key factors in personal productivity: how people spend their time and who they spend it with. You and your team can get these benefits after an administrator sets up MyAnalytics within your organization.

Even Microsoft has already designed My Analytics to support customers’ needs to comply with GDPR requirement but there could be exceptional request from your compliance team to enable or disable this service for certain region of employee’s.

I got a similar requirement to enable privacy mode “Opt-out” for employee located in a particular country which is falling under compliance where analytics service should not be enabled default. To do it, i have to set “Opt-out” options enable for all users and let them have capability to do “Opt-in” when they need. you need to run below cmdlets for group of users.

$inFileName=”” $outFileName=”” $privacyMode = “Opt-out” $users=Import-Csv $inFileName ForEach ($user in $users) { $user.Userprincipalname $upn=$user.UserPrincipalName Set-UserAnalyticsConfig –Identity $upn -PrivacyMode $privacyMode Get-UserAnalyticsConfig –Identity $upn | Export-Csv $outFileName }

Use the Exchange Online PowerShell V2 module to run above command.

How employees can opt-in and opt-out

Users can opt-in or opt-out of the elements of MyAnalytics by using the Settings > Feature settings menu in Office 365, as shown below.

Opt out and opt in

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Chirag Patel

Microsoft 365 Specialist

All about Microsoft 365 & Teams

lEt's eNaBle MoDeRn WoRkPlAcE !

The WordPress.com Blog

The latest news on WordPress.com and the WordPress community.

%d bloggers like this: