Skip to content

Commit cf3719a

Browse files
authored
Update Set-SPOApplication.md
1 parent 3cc19b8 commit cf3719a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ You must be a SharePoint Embedded Administrator or Global Administrator to run t
3838
3939
To invite people outside your organization, please make sure [Microsoft Entra B2B](https://learn.microsoft.com/en-us/sharepoint/sharepoint-azureb2b-integration) is enabled.
4040

41-
### Run the following cmdlet to enable B2B integration:
42-
43-
```powershell
44-
Set-SPOTenant -EnableAzureADB2BIntegration $true
45-
```
46-
47-
4841
## EXAMPLES
4942

5043
### Example 1
@@ -63,6 +56,14 @@ Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -Ov
6356

6457
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.
6558

59+
### Example 3
60+
61+
```powershell
62+
Set-SPOTenant -EnableAzureADB2BIntegration $true
63+
Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -ExternalUserandGuestSharing
64+
```
65+
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.
66+
6667
## PARAMETERS
6768

6869
### -SharingCapability

0 commit comments

Comments
 (0)