From 1545aebdfcddbf897a70d08ac4fa406aceaf5ea0 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 08:38:13 -0400 Subject: [PATCH 01/11] Update Update-M365TeamsApp.md --- teams/teams-ps/teams/Update-M365TeamsApp.md | 94 ++++++++++++++++++++- 1 file changed, 91 insertions(+), 3 deletions(-) diff --git a/teams/teams-ps/teams/Update-M365TeamsApp.md b/teams/teams-ps/teams/Update-M365TeamsApp.md index f3f74dff2d..2bd46d31aa 100644 --- a/teams/teams-ps/teams/Update-M365TeamsApp.md +++ b/teams/teams-ps/teams/Update-M365TeamsApp.md @@ -5,7 +5,7 @@ online version: https://docs.microsoft.com/powershell/module/teams/Update-M365Te applicable: Microsoft Teams title: Update-M365TeamsApp author: lkueter -ms.author: satishtimiri +ms.author: satishtimiri/sribagchi manager: rahulrgupta ms.date: 04/24/2024 schema: 2.0.0 @@ -21,12 +21,12 @@ This cmdlet updates app state and app available values for the Microsoft Teams a ```powershell Update-M365TeamsApp -Id [-IsBlocked ] -AppAssignmentType -OperationType - [-Users ] [-Groups ] [] + [-Users ] [-Groups ] -AppInstallType -InstallForOperationType [-InstallForUsers -InstallForGroups -InstallVersion ] [] ``` ## DESCRIPTION -This cmdlet allows administrators to modify app state and availability by adding or removing users and groups or changing assignment type. +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. ## EXAMPLES @@ -51,6 +51,13 @@ PS C:\> Update-M365TeamsApp -Id 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b -IsBlocked ``` Unblocks Bookings app (App ID 4c4ec2e8-4a2c-4bce-8d8f-00fc664a4e5b). +### Example 4 + +```powershell +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 +``` +Unblocks 1Page App (App ID 2b876f4d-2e6b-4ee7-9b09-8893808c1380) and updates installation setting for the app to include 3 users and 1 group. + ## PARAMETERS @@ -150,6 +157,87 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AppInstallType + +App installation type. + +```yaml +Type: String +Parameter Sets: (Everyone, UsersandGroups, Noone) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InstallForOperationType + +Operation performed on the app installation. + +```yaml +Type: String +Parameter Sets: (Add, Remove) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InstallForUsers + +List of all the users for whom the app is installed. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + + +### -InstallForGroups + +List of all the groups for whom the app is installed. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InstallVersion + +App version to be installed. + +```yaml +Type: String +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + + ### CommonParameters 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). From abf18681e350d8aeacf1c8b107e829f6ac862f62 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 09:38:52 -0400 Subject: [PATCH 02/11] Create Get-M365UnifiedTenantSettings.md --- .../teams/Get-M365UnifiedTenantSettings.md | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md diff --git a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md new file mode 100644 index 0000000000..56498d014c --- /dev/null +++ b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md @@ -0,0 +1,105 @@ +--- +external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml +Module Name: MicrosoftTeams +online version: https://docs.microsoft.com/powershell/module/teams/Get-M365UnifiedTenantSettings +applicable: Microsoft Teams +title: Get-M365UnifiedTenantSettings +author: lkueter +ms.author: sribagchi +manager: rahulrgupta +ms.date: 10/22/2024 +schema: 2.0.0 +--- + +# Get-M365UnifiedTenantSettings + +## SYNOPSIS + +This cmdlet returns the current tenant settings for a particular tenant + +## SYNTAX + +```powershell +Get-M365UnifiedTenantSettings -SettingNames [] +``` + +## DESCRIPTION + +Get-M365UnifiedTenantSettings retrieves the current tenant settings for a particular tenant. + +## EXAMPLES + +### Example 1 + +```powershell +PS C:\> Get-M365UnifiedTenantSettings +``` + +Returns all the current tenant settings for this tenant. + +### Example 2 + +```powershell +PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp +``` + +Returns the current tenant setting for DefaultApp for this tenant. + +### Example 3 + +```powershell +PS C:\> Get-M365UnifiedTenantSettings -SettingNames DefaultApp,EnableCopilotExtensibility +``` + +Returns the current tenant setting for DefaultApp and EnableCopilotExtensibility for this tenant. + +## PARAMETERS + +### -SettingNames + +Setting names requested. Possible values - DefaultApp,GlobalApp,PrivateApp,EnableCopilotExtensibility + +```yaml +Type: String +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters + +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). + +## INPUTS + +### None + +## OUTPUTS + +### System.Object + +**SettingName** +Setting Name returned. + +**SettingValue** +The status of this setting in the tenant. +Values: + +- All +- None +- Some (only applicable for EnableCopilotExtensibility) + +**Users** +The list of users this setting is applicable to (only applicable for EnableCopilotExtensibility). + +**Groups** +The list of groups this setting is applicable to (only applicable for EnableCopilotExtensibility). + +## RELATED LINKS + +[Get-M365TeamsApp](Get-M365TeamsApp.md) +[Update-M365TeamsApp](Update-M365TeamsApp.md) From c9e70dacfa4c31b91e74d08bb57ca6fb7873ddf2 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 10:02:37 -0400 Subject: [PATCH 03/11] Create Update-M365UnifiedTenantSettings.md --- .../teams/Update-M365UnifiedTenantSettings.md | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md new file mode 100644 index 0000000000..718e91505d --- /dev/null +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -0,0 +1,143 @@ +--- +external help file: Microsoft.Teams.PowerShell.TeamsCmdlets.dll-Help.xml +Module Name: MicrosoftTeams +online version: https://docs.microsoft.com/powershell/module/teams/Update-M365UnifiedTenantSettings +applicable: Microsoft Teams +title: Update-M365UnifiedTenantSettings +author: lkueter +ms.author: sribagchi +manager: rahulrgupta +ms.date: 10/22/2024 +schema: 2.0.0 +--- + +# Update-M365UnifiedTenantSettings + +## SYNOPSIS + +This cmdlet updates tenant settings. + +## SYNTAX + +```powershell +Update-M365UnifiedTenantSettings -SettingName -SettingValue [-Users ] [-Groups ] [-Operation ] [] +``` + +## DESCRIPTION + +This cmdlet allows administrators to modify tenant settings. + +## EXAMPLES + +### Example 1 + +```powershell +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 +``` +Updates the tenant setting for EnableCopilotExtensibility to 2 users and 2 groups. + +### Example 2 + +```powershell +PS C:\> Update-M365UnifiedTenantSettings -SettingName GlobalApp -SettingValue None +``` +Updates the tenant setting for GlobalApp to None + + +## PARAMETERS + +### -SettingName + +Setting Name to be changed. + +```yaml +Type: String +Parameter Sets: (DefaultApp, GlobalApp, PrivateApp, EnableCopilotExtensibility) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SettingValue +Setting Value to be changed. + +```yaml +Type: String +Parameter Sets: (All, None, Some) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Operation + +Operation performed (whether we are adding or removing users/groups). + +```yaml +Type: String +Parameter Sets: (Add, Remove) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Users + +List of all the users for whom the app is enabled or disabled. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Groups + +List of all the groups for whom the app is enabled or disabled. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters + +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). + +## INPUTS + +### None + +## OUTPUTS + +### System.Object + +## RELATED LINKS + +[Get-AllM365TeamsApps](Get-ALLM365TeamsApps.md) +[Get-M365TeamsApp](Get-M365TeamsApp.md) From 52f1ec19121785063b5f7213120b1f54fb24db63 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Tue, 22 Oct 2024 11:19:46 -0400 Subject: [PATCH 04/11] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index 718e91505d..9957dd2a59 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -83,7 +83,7 @@ Operation performed (whether we are adding or removing users/groups). ```yaml Type: String -Parameter Sets: (Add, Remove) +Parameter Sets: (add, remove) Aliases: Required: True From 48bab2e18447342daa0c2a4afc77e9f6caf0fb88 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:20:23 -0400 Subject: [PATCH 05/11] Update Update-M365TeamsApp.md --- teams/teams-ps/teams/Update-M365TeamsApp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Update-M365TeamsApp.md b/teams/teams-ps/teams/Update-M365TeamsApp.md index 2bd46d31aa..2425fb42c4 100644 --- a/teams/teams-ps/teams/Update-M365TeamsApp.md +++ b/teams/teams-ps/teams/Update-M365TeamsApp.md @@ -5,7 +5,7 @@ online version: https://docs.microsoft.com/powershell/module/teams/Update-M365Te applicable: Microsoft Teams title: Update-M365TeamsApp author: lkueter -ms.author: satishtimiri/sribagchi +ms.author: sribagchi manager: rahulrgupta ms.date: 04/24/2024 schema: 2.0.0 From fc1b5543d7e9109385d73ad74146be6e91fd48d3 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:45:53 -0400 Subject: [PATCH 06/11] Update Get-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md index 56498d014c..e4dd5dc2a6 100644 --- a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md @@ -101,5 +101,4 @@ The list of groups this setting is applicable to (only applicable for EnableCopi ## RELATED LINKS -[Get-M365TeamsApp](Get-M365TeamsApp.md) -[Update-M365TeamsApp](Update-M365TeamsApp.md) +[Update-M365UnifiedTenantSettings](Update-M365UnifiedTenantSettings.md) From 1d814f9a572a7d87f6373fd6cc7b90e9555316bc Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:47:04 -0400 Subject: [PATCH 07/11] Update Get-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md index e4dd5dc2a6..0d6726f57f 100644 --- a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md @@ -101,4 +101,4 @@ The list of groups this setting is applicable to (only applicable for EnableCopi ## RELATED LINKS -[Update-M365UnifiedTenantSettings](Update-M365UnifiedTenantSettings.md) +[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md) From ceaf24bfc2b770d69d95601826eeadc2663cbead Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:48:28 -0400 Subject: [PATCH 08/11] Update Get-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md index 0d6726f57f..e4dd5dc2a6 100644 --- a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md @@ -101,4 +101,4 @@ The list of groups this setting is applicable to (only applicable for EnableCopi ## RELATED LINKS -[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md) +[Update-M365UnifiedTenantSettings](Update-M365UnifiedTenantSettings.md) From 84ba6cd686f4515b8683035f66394d2a42463855 Mon Sep 17 00:00:00 2001 From: Srimanta Bagchi Date: Wed, 23 Oct 2024 11:49:45 -0400 Subject: [PATCH 09/11] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index 9957dd2a59..e881d1b452 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -139,5 +139,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[Get-AllM365TeamsApps](Get-ALLM365TeamsApps.md) -[Get-M365TeamsApp](Get-M365TeamsApp.md) +[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md) From 11414946dcdf1bc5f49c37f0fa7e0b81db891725 Mon Sep 17 00:00:00 2001 From: jacktremper <149415765+jacktremper@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:14:27 -0700 Subject: [PATCH 10/11] Update Update-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md index e881d1b452..6c1489d1bc 100644 --- a/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Update-M365UnifiedTenantSettings.md @@ -136,7 +136,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS ### System.Object - -## RELATED LINKS - -[Get-M365UnifiedTenantSettings](Get-M365UnifiedTenantSettings.md) From 8686defb2c2c0353f3f50bc580ab74b7d7248264 Mon Sep 17 00:00:00 2001 From: jacktremper <149415765+jacktremper@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:14:46 -0700 Subject: [PATCH 11/11] Update Get-M365UnifiedTenantSettings.md --- teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md index e4dd5dc2a6..f392adfe15 100644 --- a/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md +++ b/teams/teams-ps/teams/Get-M365UnifiedTenantSettings.md @@ -98,7 +98,3 @@ The list of users this setting is applicable to (only applicable for EnableCopil **Groups** The list of groups this setting is applicable to (only applicable for EnableCopilotExtensibility). - -## RELATED LINKS - -[Update-M365UnifiedTenantSettings](Update-M365UnifiedTenantSettings.md)