This cmdlet is available only in the cloud-based service.

Note: This cmdlet has been replaced by the Get-MyAnalyticsFeatureConfig cmdlet in the Exchange Online PowerShell V2 module version 2.0.4 or later. For connection instructions using the module, see Connect to Exchange Online PowerShell.

Use the Get-UserAnalyticsConfig cmdlet to view the MyAnalytics privacy settings for cloud-based users.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.


   -Identity <RecipientIdParameter>


You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.


Example 1

Get-UserAnalyticsConfig -Identity

This example returns the MyAnalytics privacy setting for the user with email address



The Identity parameter specifies the user that you want to view. You can use any value that uniquely identifies the user. For example:

  • Name
  • Alias
  • Distinguished name (DN)
  • Canonical DN
  • Email address
  • GUID
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online