diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md index 98b67e74c..a7d0ad8e0 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplication.md @@ -59,7 +59,7 @@ This example disables the override sharing capability, aligning this SharePoint ### Example 2 ```powershell -Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -Disabled +Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability Disabled ``` 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 ```powershell Set-SPOTenant -EnableAzureADB2BIntegration $true -Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability -ExternalUserandGuestSharing +Set-SPOApplication -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 -OverrideTenantSharingCapability $true -SharingCapability ExternalUserandGuestSharing ``` 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.