Skip to content

Commit fb6e3a1

Browse files
Merge pull request #888 from userr2232/patch-1
Update Set-SPOApplication.md
2 parents 069ef25 + 0f61a5c commit fb6e3a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This example disables the override sharing capability, aligning this SharePoint
5959
### Example 2
6060

6161
```powershell
62-
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -Disabled
62+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability Disabled
6363
```
6464

6565
This example enables the override, restricting file sharing within the SharePoint Embedded application to internal company users only, regardless of the broader SharePoint Online tenant settings.
@@ -68,7 +68,7 @@ This example enables the override, restricting file sharing within the SharePoin
6868

6969
```powershell
7070
Set-SPOTenant -EnableAzureADB2BIntegration $true
71-
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -ExternalUserandGuestSharing
71+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability ExternalUserandGuestSharing
7272
```
7373
This example demonstrates how to enable file sharing within the SharePoint Embedded application for external users. Note that B2B integration must be enabled to allow guest invitations to SharePoint Embedded apps.
7474

0 commit comments

Comments
 (0)