Skip to content

Commit 4cb20d6

Browse files
authored
Merge pull request #12331 from MicrosoftDocs/main
publish main to live, 3:30 pm, 10/28/24
2 parents 9fc676a + c87c79c commit 4cb20d6

File tree

3 files changed

+329
-3
lines changed

3 files changed

+329
-3
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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/Get-M365UnifiedTenantSettings
5+
applicable: Microsoft Teams
6+
title: Get-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+
# Get-M365UnifiedTenantSettings
15+
16+
## SYNOPSIS
17+
18+
This cmdlet returns the current tenant settings for a particular tenant
19+
20+
## SYNTAX
21+
22+
```powershell
23+
Get-M365UnifiedTenantSettings -SettingNames <String[]> [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
28+
Get-M365UnifiedTenantSettings retrieves the current tenant settings for a particular tenant.
29+
30+
## EXAMPLES
31+
32+
### Example 1
33+
34+
```powershell
35+
PS C:\> Get-M365UnifiedTenantSettings
36+
```
37+
38+
Returns all the current tenant settings for this tenant.
39+
40+
### Example 2
41+
42+
```powershell
43+
PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp
44+
```
45+
46+
Returns the current tenant setting for DefaultApp for this tenant.
47+
48+
### Example 3
49+
50+
```powershell
51+
PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp,EnableCopilotExtensibility
52+
```
53+
54+
Returns the current tenant setting for DefaultApp and EnableCopilotExtensibility for this tenant.
55+
56+
## PARAMETERS
57+
58+
### -SettingNames
59+
60+
Setting names requested. Possible values - DefaultApp,GlobalApp,PrivateApp,EnableCopilotExtensibility
61+
62+
```yaml
63+
Type: String
64+
Aliases:
65+
66+
Required: False
67+
Position: Named
68+
Default value: None
69+
Accept pipeline input: False
70+
Accept wildcard characters: False
71+
```
72+
73+
### CommonParameters
74+
75+
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).
76+
77+
## INPUTS
78+
79+
### None
80+
81+
## OUTPUTS
82+
83+
### System.Object
84+
85+
**SettingName**
86+
Setting Name returned.
87+
88+
**SettingValue**
89+
The status of this setting in the tenant.
90+
Values:
91+
92+
- All
93+
- None
94+
- Some (only applicable for EnableCopilotExtensibility)
95+
96+
**Users**
97+
The list of users this setting is applicable to (only applicable for EnableCopilotExtensibility).
98+
99+
**Groups**
100+
The list of groups this setting is applicable to (only applicable for EnableCopilotExtensibility).

teams/teams-ps/teams/Update-M365TeamsApp.md

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ online version: https://docs.microsoft.com/powershell/module/teams/Update-M365Te
55
applicable: Microsoft Teams
66
title: Update-M365TeamsApp
77
author: lkueter
8-
ms.author: satishtimiri
8+
ms.author: sribagchi
99
manager: rahulrgupta
1010
ms.date: 04/24/2024
1111
schema: 2.0.0
@@ -21,12 +21,12 @@ This cmdlet updates app state and app available values for the Microsoft Teams a
2121

2222
```powershell
2323
Update-M365TeamsApp -Id <String> [-IsBlocked <Boolean>] -AppAssignmentType <String> -OperationType <String>
24-
[-Users <String[]>] [-Groups <String[]>] [<CommonParameters>]
24+
[-Users <String[]>] [-Groups <String[]>] -AppInstallType <String> -InstallForOperationType <String> [-InstallForUsers <String[]> -InstallForGroups <String[]> -InstallVersion <String>] [<CommonParameters>]
2525
```
2626

2727
## DESCRIPTION
2828

29-
This cmdlet allows administrators to modify app state and availability by adding or removing users and groups or changing assignment type.
29+
This cmdlet allows administrators to modify app state, availability and installation status by adding or removing users and groups or changing assignment type or installation status.
3030

3131
## EXAMPLES
3232

@@ -51,6 +51,13 @@ PS C:\> Update-M365TeamsApp -Id 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b -IsBlocked
5151
```
5252
Unblocks Bookings app (App ID 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b).
5353

54+
### Example 4
55+
56+
```powershell
57+
PS C:\> Update-M365TeamsApp -Id 2b876f4d-2e6b-4ee7-9b09-8893808c1380 -IsBlocked $false -AppInstallType UsersAndGroups -InstallForOperationType Add -InstallForUsers 77f5d400-a12e-4168-8e63-ccd2243d33a8,f2f4d8bc-1fb3-4292-867e-6d19efb0eb7c,37b6fc6a-32a4-4767-ac2e-c2f2307bad5c -InstallForGroups 926d57ad-431c-4e6a-9e16-347eacc91aa4 -InstallVersion 4.1.2
58+
```
59+
Unblocks 1Page App (App ID 2b876f4d-2e6b-4ee7-9b09-8893808c1380) and updates installation setting for the app to include 3 users and 1 group.
60+
5461

5562
## PARAMETERS
5663

@@ -150,6 +157,87 @@ Accept pipeline input: False
150157
Accept wildcard characters: False
151158
```
152159
160+
### -AppInstallType
161+
162+
App installation type.
163+
164+
```yaml
165+
Type: String
166+
Parameter Sets: (Everyone, UsersandGroups, Noone)
167+
Aliases:
168+
169+
Required: True
170+
Position: Named
171+
Default value: None
172+
Accept pipeline input: False
173+
Accept wildcard characters: False
174+
```
175+
176+
### -InstallForOperationType
177+
178+
Operation performed on the app installation.
179+
180+
```yaml
181+
Type: String
182+
Parameter Sets: (Add, Remove)
183+
Aliases:
184+
185+
Required: True
186+
Position: Named
187+
Default value: None
188+
Accept pipeline input: False
189+
Accept wildcard characters: False
190+
```
191+
192+
### -InstallForUsers
193+
194+
List of all the users for whom the app is installed.
195+
196+
```yaml
197+
Type: String[]
198+
Parameter Sets: (All)
199+
Aliases:
200+
201+
Required: False
202+
Position: Named
203+
Default value: None
204+
Accept pipeline input: False
205+
Accept wildcard characters: False
206+
```
207+
208+
209+
### -InstallForGroups
210+
211+
List of all the groups for whom the app is installed.
212+
213+
```yaml
214+
Type: String[]
215+
Parameter Sets: (All)
216+
Aliases:
217+
218+
Required: False
219+
Position: Named
220+
Default value: None
221+
Accept pipeline input: False
222+
Accept wildcard characters: False
223+
```
224+
225+
### -InstallVersion
226+
227+
App version to be installed.
228+
229+
```yaml
230+
Type: String
231+
Aliases:
232+
233+
Required: True
234+
Position: Named
235+
Default value: None
236+
Accept pipeline input: False
237+
Accept wildcard characters: False
238+
```
239+
240+
153241
### CommonParameters
154242
155243
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).
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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

Comments
 (0)