|
| 1 | +--- |
| 2 | +external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml |
| 3 | +Module Name: MicrosoftTeams |
| 4 | +online version: https://docs.microsoft.com/powershell/module/teams/Update-M365UnifiedTenantSettings |
| 5 | +applicable: Microsoft Teams |
| 6 | +title: Update-M365UnifiedTenantSettings |
| 7 | +author: lkueter |
| 8 | +ms.author: sribagchi |
| 9 | +manager: rahulrgupta |
| 10 | +ms.date: 10/22/2024 |
| 11 | +schema: 2.0.0 |
| 12 | +--- |
| 13 | + |
| 14 | +# Update-M365UnifiedTenantSettings |
| 15 | + |
| 16 | +## SYNOPSIS |
| 17 | + |
| 18 | +This cmdlet updates tenant settings. |
| 19 | + |
| 20 | +## SYNTAX |
| 21 | + |
| 22 | +```powershell |
| 23 | +Update-M365UnifiedTenantSettings -SettingName <String> -SettingValue <String> [-Users <String[]>] [-Groups <String[]>] [-Operation <String>] [<CommonParameters>] |
| 24 | +``` |
| 25 | + |
| 26 | +## DESCRIPTION |
| 27 | + |
| 28 | +This cmdlet allows administrators to modify tenant settings. |
| 29 | + |
| 30 | +## EXAMPLES |
| 31 | + |
| 32 | +### Example 1 |
| 33 | + |
| 34 | +```powershell |
| 35 | +PS C:\> PS C:\> Update-M365UnifiedTenantSettings -SettingName EnableCopilotExtensibility -SettingValue Some -Users d156010d-fb18-497f-804c-155ec2aa06d3,a62fba7e-e362-493c-a094-fdec17e2fee8 -Groups 37da2d58-fc14-453e-9a14-5065ebd63a1d, 37da2d58-fc14-453e-9a14-5065ebd63a1e -Operation add |
| 36 | +``` |
| 37 | +Updates the tenant setting for EnableCopilotExtensibility to 2 users and 2 groups. |
| 38 | + |
| 39 | +### Example 2 |
| 40 | + |
| 41 | +```powershell |
| 42 | +PS C:\> Update-M365UnifiedTenantSettings -SettingName GlobalApp -SettingValue None |
| 43 | +``` |
| 44 | +Updates the tenant setting for GlobalApp to None |
| 45 | + |
| 46 | + |
| 47 | +## PARAMETERS |
| 48 | + |
| 49 | +### -SettingName |
| 50 | + |
| 51 | +Setting Name to be changed. |
| 52 | + |
| 53 | +```yaml |
| 54 | +Type: String |
| 55 | +Parameter Sets: (DefaultApp, GlobalApp, PrivateApp, EnableCopilotExtensibility) |
| 56 | +Aliases: |
| 57 | + |
| 58 | +Required: True |
| 59 | +Position: Named |
| 60 | +Default value: None |
| 61 | +Accept pipeline input: False |
| 62 | +Accept wildcard characters: False |
| 63 | +``` |
| 64 | +
|
| 65 | +### -SettingValue |
| 66 | +Setting Value to be changed. |
| 67 | +
|
| 68 | +```yaml |
| 69 | +Type: String |
| 70 | +Parameter Sets: (All, None, Some) |
| 71 | +Aliases: |
| 72 | + |
| 73 | +Required: True |
| 74 | +Position: Named |
| 75 | +Default value: None |
| 76 | +Accept pipeline input: False |
| 77 | +Accept wildcard characters: False |
| 78 | +``` |
| 79 | +
|
| 80 | +### -Operation |
| 81 | +
|
| 82 | +Operation performed (whether we are adding or removing users/groups). |
| 83 | +
|
| 84 | +```yaml |
| 85 | +Type: String |
| 86 | +Parameter Sets: (add, remove) |
| 87 | +Aliases: |
| 88 | + |
| 89 | +Required: True |
| 90 | +Position: Named |
| 91 | +Default value: None |
| 92 | +Accept pipeline input: False |
| 93 | +Accept wildcard characters: False |
| 94 | +``` |
| 95 | +
|
| 96 | +### -Users |
| 97 | +
|
| 98 | +List of all the users for whom the app is enabled or disabled. |
| 99 | +
|
| 100 | +```yaml |
| 101 | +Type: String[] |
| 102 | +Parameter Sets: (All) |
| 103 | +Aliases: |
| 104 | + |
| 105 | +Required: False |
| 106 | +Position: Named |
| 107 | +Default value: None |
| 108 | +Accept pipeline input: False |
| 109 | +Accept wildcard characters: False |
| 110 | +``` |
| 111 | +
|
| 112 | +### -Groups |
| 113 | +
|
| 114 | +List of all the groups for whom the app is enabled or disabled. |
| 115 | +
|
| 116 | +```yaml |
| 117 | +Type: String[] |
| 118 | +Parameter Sets: (All) |
| 119 | +Aliases: |
| 120 | + |
| 121 | +Required: False |
| 122 | +Position: Named |
| 123 | +Default value: None |
| 124 | +Accept pipeline input: False |
| 125 | +Accept wildcard characters: False |
| 126 | +``` |
| 127 | +
|
| 128 | +### CommonParameters |
| 129 | +
|
| 130 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). |
| 131 | +
|
| 132 | +## INPUTS |
| 133 | +
|
| 134 | +### None |
| 135 | +
|
| 136 | +## OUTPUTS |
| 137 | +
|
| 138 | +### System.Object |
0 commit comments