|
| 1 | +--- |
| 2 | +external help file: Microsoft.Exchange.Management.RestApiClient.dll-Help.xml |
| 3 | +Module Name: ExchangeOnlineManagement |
| 4 | +online version: https://docs.microsoft.com/powershell/module/exchange/set-myanalyticsfeatureconfig |
| 5 | +applicable: Exchange Online |
| 6 | +title: Set-MyAnalyticsFeatureConfig |
| 7 | +schema: 2.0.0 |
| 8 | +author: chrisda |
| 9 | +ms.author: chrisda |
| 10 | +--- |
| 11 | + |
| 12 | +# Set-MyAnalyticsFeatureConfig |
| 13 | + |
| 14 | +## SYNOPSIS |
| 15 | +This cmdlet is available only in the Exchange Online PowerShell V2 module. For more information, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell). |
| 16 | + |
| 17 | +**Note**: This cmdlet is available in version 2.0.4-Preview3 of the EXO V2 Module. |
| 18 | + |
| 19 | +Use the Set-MyAnalyticsFeatureConfig cmdlet to configure the availability and features of MyAnalytics for the specified user. |
| 20 | + |
| 21 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 22 | + |
| 23 | +## SYNTAX |
| 24 | + |
| 25 | +``` |
| 26 | +Set-MyAnalyticsFeatureConfig -Identity <String> |
| 27 | + [-Feature <String>] |
| 28 | + [-IsEnabled <Boolean>] |
| 29 | + [-PrivacyMode <String>] |
| 30 | + [-ResultSize <Unlimited>] |
| 31 | + [<CommonParameters>] |
| 32 | +``` |
| 33 | + |
| 34 | +## DESCRIPTION |
| 35 | +You need to be a member of the Organization Management role group (Global admins) in the destination organization to run this cmdlet. |
| 36 | + |
| 37 | +## EXAMPLES |
| 38 | + |
| 39 | +### Example 1 |
| 40 | +```powershell |
| 41 | +Set-MyAnalyticsFeatureConfig -Identity [email protected] -PrivacyMode opt-in |
| 42 | +``` |
| 43 | + |
| 44 | +This example makes MyAnalytics and all features available to Vikram. |
| 45 | + |
| 46 | +### Example 2 |
| 47 | +```powershell |
| 48 | +Set-MyAnalyticsFeatureConfig -Identity [email protected] -PrivacyMode opt-in -Feature digest-email -IsEnabled $false |
| 49 | +``` |
| 50 | + |
| 51 | +This example makes MyAnalytics available to Swathy, but disables the digest email feature. |
| 52 | + |
| 53 | +### Example 3 |
| 54 | +```powershell |
| 55 | +Set-MyAnalyticsFeatureConfig -Identity [email protected] -Feature digest-email -IsEnabled $false |
| 56 | +``` |
| 57 | + |
| 58 | +This example disables the digest email feature for Akshath. |
| 59 | + |
| 60 | +## PARAMETERS |
| 61 | + |
| 62 | +### -Identity |
| 63 | +The Identity parameter specifies the user you want to view. You identify the user by their email address. |
| 64 | + |
| 65 | +```yaml |
| 66 | +Type: String |
| 67 | +Parameter Sets: (All) |
| 68 | +Aliases: |
| 69 | +Applicable: Exchange Online |
| 70 | + |
| 71 | +Required: True |
| 72 | +Position: Named |
| 73 | +Default value: None |
| 74 | +Accept pipeline input: False |
| 75 | +Accept wildcard characters: False |
| 76 | +``` |
| 77 | +
|
| 78 | +### -Feature |
| 79 | +The Feature parameter specifies the MyAnalytics features to enable or disable for the user. Valid values are: |
| 80 | +
|
| 81 | +- all (this is the default value) |
| 82 | +- add-in |
| 83 | +- dashboard |
| 84 | +- digest-email |
| 85 | +
|
| 86 | +To actually enable or disable a feature that's specified by this parameter, use the IsEnabled parameter in the same command. |
| 87 | +
|
| 88 | +```yaml |
| 89 | +Type: String |
| 90 | +Parameter Sets: (All) |
| 91 | +Aliases: |
| 92 | +Accepted values: dashboard, add-in, digest-email, all |
| 93 | +Applicable: Exchange Online |
| 94 | + |
| 95 | +Required: False |
| 96 | +Position: Named |
| 97 | +Default value: None |
| 98 | +Accept pipeline input: False |
| 99 | +Accept wildcard characters: False |
| 100 | +``` |
| 101 | +
|
| 102 | +### -IsEnabled |
| 103 | +The IsEnabled parameter specifies whether to enable or disable the feature that's specified by the Feature parameter. Valid values are: |
| 104 | +
|
| 105 | +- $true: The specified feature is enabled. |
| 106 | +- $false: The specified feature is disabled. |
| 107 | +
|
| 108 | +```yaml |
| 109 | +Type: Boolean |
| 110 | +Parameter Sets: (All) |
| 111 | +Aliases: |
| 112 | +Applicable: Exchange Online |
| 113 | + |
| 114 | +Required: False |
| 115 | +Position: Named |
| 116 | +Default value: None |
| 117 | +Accept pipeline input: False |
| 118 | +Accept wildcard characters: False |
| 119 | +``` |
| 120 | +
|
| 121 | +### -PrivacyMode |
| 122 | +The PrivacyMode parameter specifies whether to enable or disable MyAnalytics for the specified user. Valid values are: |
| 123 | +
|
| 124 | +-opt-in: MyAnalytics is enabled for the user. Use the Feature and IsEnabled parameters to enable or disable specific MyAnalytics features. |
| 125 | +-opt-out: MyAnalytics is disabled for the user. |
| 126 | +
|
| 127 | +```yaml |
| 128 | +Type: String |
| 129 | +Parameter Sets: (All) |
| 130 | +Aliases: |
| 131 | +Accepted values: opt-in, opt-out |
| 132 | +Applicable: Exchange Online |
| 133 | + |
| 134 | +Required: False |
| 135 | +Position: Named |
| 136 | +Default value: None |
| 137 | +Accept pipeline input: False |
| 138 | +Accept wildcard characters: False |
| 139 | +``` |
| 140 | +
|
| 141 | +### -ResultSize |
| 142 | +This parameter is reserved for internal Microsoft use. |
| 143 | +
|
| 144 | +```yaml |
| 145 | +Type: Unlimited |
| 146 | +Parameter Sets: (All) |
| 147 | +Aliases: |
| 148 | +Applicable: Exchange Online |
| 149 | + |
| 150 | +Required: False |
| 151 | +Position: Named |
| 152 | +Default value: None |
| 153 | +Accept pipeline input: False |
| 154 | +Accept wildcard characters: False |
| 155 | +``` |
| 156 | +
|
| 157 | +### CommonParameters |
| 158 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216). |
| 159 | +
|
| 160 | +## INPUTS |
| 161 | +
|
| 162 | +### |
| 163 | +
|
| 164 | +## OUTPUTS |
| 165 | +
|
| 166 | +### |
| 167 | +
|
| 168 | +## NOTES |
| 169 | +
|
| 170 | +## RELATED LINKS |
0 commit comments