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.

Leave a Reply