From 317093cf45e1da34bf517b910ce824a1e848c575 Mon Sep 17 00:00:00 2001 From: anthonyfleck Date: Sun, 5 Oct 2025 00:35:28 -0500 Subject: [PATCH 01/13] Adds two parameters to restrict external sharing for agent identities to Set-SPOTenant --- .../Set-SPOTenant.md | 385 ++++++++++++++---- 1 file changed, 297 insertions(+), 88 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index 30790ced4..ec1af32ac 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -19,7 +19,6 @@ Sets properties on the SharePoint Online organization. ## SYNTAX ### None (Default) - ``` Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ExternalServicesEnabled ] [-NoAccessRedirectUrl ] [-ArchiveRedirectUrl ] @@ -37,10 +36,126 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-UsePersistentCookiesForExplorerView ] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] [-PublicCdnAllowedFileTypes ] - [-RequireAnonymousLinksExpireInDays ] [-OneDriveOrganizationSharingLinkMaxExpirationInDays ] - [-CoreOrganizationSharingLinkMaxExpirationInDays ] - [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays ] - [-CoreOrganizationSharingLinkRecommendedExpirationInDays ] [-SharingAllowedDomainList ] + [-RequireAnonymousLinksExpireInDays ] [-RequireOrganizationLinksExpireInDays ] + [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] + [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] + [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] + [-IPAddressWACTokenLifetime ] [-EnableTenantRestrictionsInsights ] + [-EnablePromotedFileHandlers ] [-UseFindPeopleInPeoplePicker ] + [-DefaultSharingLinkType ] [-ODBMembersCanShare ] + [-ODBAccessRequests ] [-PreventExternalUsersFromResharing ] + [-ShowPeoplePickerSuggestionsForGuestUsers ] [-AppOnlyBypassPeoplePickerPolicies ] + [-EnableDiscoverableByOrganizationForVideos ] [-FileAnonymousLinkType ] + [-FolderAnonymousLinkType ] [-NotifyOwnersWhenItemsReshared ] + [-NotifyOwnersWhenInvitationsAccepted ] [-NotificationsInOneDriveForBusinessEnabled ] + [-NotificationsInSharePointEnabled ] [-SelfServiceSiteCreationDisabled ] + [-SpecialCharactersStateInFileFolderNames ] [-OwnerAnonymousNotification ] + [-CommentsOnSitePagesDisabled ] [-CommentsOnFilesDisabled ] + [-CommentsOnListItemsDisabled ] [-ViewersCanCommentOnMediaDisabled ] + [-SocialBarOnSitePagesDisabled ] [-SiteOwnersCanAccessMissingContent ] + [-OrphanedPersonalSitesRetentionPeriod ] [-PermissiveBrowserFileHandlingOverride ] + [-DisallowInfectedFileDownload ] [-DefaultLinkPermission ] + [-CustomizedExternalSharingServiceUrl ] [-ConditionalAccessPolicyErrorHelpLink ] + [-RestrictedAccessControlforSitesErrorHelpLink ] + [-RestrictedAccessControlForOneDriveErrorHelpLink ] + [-ApplyAppEnforcedRestrictionsToAdHocRecipients ] [-FilePickerExternalImageSearchEnabled ] + [-EmailAttestationRequired ] [-EmailAttestationReAuthDays ] + [-SyncPrivacyProfileProperties ] [-DisabledWebPartIds ] + [-DisabledAdaptiveCardExtensionIds ] [-EnableMinimumVersionRequirement ] + [-MarkNewFilesSensitiveByDefault ] [-EnableAIPIntegration ] + [-SyncAadB2BManagementPolicy ] [-AllowCommentsTextOnEmailEnabled ] + [-EnableAzureADB2BIntegration ] [-DisableAddShortcutsToOneDrive ] + [-IncludeAtAGlanceInShareEmails ] [-DisableWorkflow2010 ] [-EnableAutoNewsDigest ] + [-StopNew2010Workflows ] [-StopNew2013Workflows ] [-DisableBackToClassic ] + [-ExternalUserExpirationRequired ] [-ExternalUserExpireInDays ] + [-BlockDownloadLinksFileType ] [-AnyoneLinkTrackUsers ] + [-BlockAppAccessWithAuthenticationContext ] [-OneDriveLoopDefaultSharingLinkScope ] + [-OneDriveLoopDefaultSharingLinkRole ] [-OneDriveRequestFilesLinkEnabled ] + [-OneDriveRequestFilesLinkExpirationInDays ] [-OneDriveSharingCapability ] + [-OneDriveDefaultShareLinkScope ] [-OneDriveDefaultShareLinkRole ] + [-OneDriveDefaultLinkToExistingAccess ] [-OneDriveBlockGuestsAsSiteAdmin ] + [-CoreLoopDefaultSharingLinkScope ] [-CoreLoopDefaultSharingLinkRole ] + [-CoreSharingCapability ] [-AllowSharingOutsideRestrictedAccessControlGroups ] + [-CoreRequestFilesLinkEnabled ] [-CoreRequestFilesLinkExpirationInDays ] + [-CoreDefaultShareLinkScope ] [-CoreDefaultShareLinkRole ] + [-CoreDefaultLinkToExistingAccess ] [-CoreBlockGuestsAsSiteAdmin ] + [-AllowAnonymousMeetingParticipantsToAccessWhiteboards ] [-Workflows2013Enabled ] + [-IsFluidEnabled ] [-IsWBFluidEnabled ] [-IsCollabMeetingNotesFluidEnabled ] + [-IsLoopEnabled ] [-DisableDocumentLibraryDefaultLabeling ] + [-ExtendPermissionsToUnprotectedFiles ] [-EnableSensitivityLabelForPDF ] + [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] + [-BlockSendLabelMismatchEmail ] [-LabelMismatchEmailHelpLink ] + [-BlockUserInfoVisibility ] [-BlockUserInfoVisibilityInOneDrive ] + [-BlockUserInfoVisibilityInSharePoint ] + [-AllowOverrideForBlockUserInfoVisibility ] [-DisablePersonalListCreation ] + [-DisableSpacesActivation ] [-DisableVivaConnectionsAnalytics ] + [-InformationBarriersSuspension ] [-IBImplicitGroupBased ] + [-AppBypassInformationBarriers ] [-AppAccessInformationBarriersAllowList ] + [-AllOrganizationSecurityGroupId ] [-DisableModernListTemplateIds ] + [-EnableModernListTemplateIds ] [-HideSyncButtonOnTeamSite ] + [-AllowGuestUserShareToUsersNotInSiteCollection ] [-StreamLaunchConfig ] + [-DelegateRestrictedContentDiscoverabilityManagement ] + [-DelegateRestrictedAccessControlManagement ] [-DisableOutlookPSTVersionTrimming ] + [-MediaTranscription ] + [-MediaTranscriptionAutomaticFeatures ] + [-ViewInFileExplorerEnabled ] [-AuthContextResilienceMode ] + [-ReduceTempTokenLifetimeEnabled ] [-ReduceTempTokenLifetimeValue ] + [-ShowOpenInDesktopOptionForSyncedFiles ] [-ShowPeoplePickerGroupSuggestionsForIB ] + [-EnableRestrictedAccessControl ] [-BlockDownloadFileTypePolicy ] + [-BlockDownloadFileTypeIds ] [-ExcludedBlockDownloadGroupIds ] + [-TlsTokenBindingPolicyValue ] [-RecycleBinRetentionPeriod ] + [-IsEnableAppAuthPopUpEnabled ] [-IsDataAccessInCardDesignerEnabled ] + [-MassDeleteNotificationDisabled ] [-EnableAutoExpirationVersionTrim ] + [-EnableMediaReactions ] [-BusinessConnectivityServiceDisabled ] + [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-FileTypesForVersionExpiration ] + [-RemoveVersionExpirationFileTypeOverride ] [-AllowSensitivityLabelOnRecords ] + [-DelayDenyAddAndCustomizePagesEnforcement ] + [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] + [-AllowClassicPublishingSiteCreation ] [-WhoCanShareAnonymousAllowList ] + [-WhoCanShareAuthenticatedGuestAllowList ] + [-ResyncContentSecurityPolicyConfigurationEntries ] [-ContentSecurityPolicyEnforcement ] + [-DocumentUnderstandingModelScope ] + [-DocumentUnderstandingModelSelectedSitesList ] + [-DocumentUnderstandingModelSelectedSitesListOperation ] + [-AIBuilderModelScope ] [-AIBuilderModelSelectedSitesList ] + [-AIBuilderModelSelectedSitesListOperation ] + [-AIBuilderModelSelectedSitesIncludesContentCenters ] [-PrebuiltModelScope ] + [-PrebuiltModelSelectedSitesList ] + [-PrebuiltModelSelectedSitesListOperation ] + [-DocumentTranslationScope ] [-DocumentTranslationSelectedSitesList ] + [-DocumentTranslationSelectedSitesListOperation ] + [-AutofillColumnsScope ] [-AutofillColumnsSelectedSitesList ] + [-AutofillColumnsSelectedSitesListOperation ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] + [-OpticalCharacterRecognitionScope ] + [-OpticalCharacterRecognitionSelectedSitesList ] + [-OpticalCharacterRecognitionSelectedSitesListOperation ] + [-DefaultContentCenterSite ] + [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] + [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [] +``` + +### ParameterSetContentTypeSyncSiteTemplatesList +``` +Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] + [-ExternalServicesEnabled ] [-NoAccessRedirectUrl ] [-ArchiveRedirectUrl ] + [-SharingCapability ] [-DisplayStartASiteOption ] [-StartASiteFormUrl ] + [-ShowEveryoneClaim ] [-ShowAllUsersClaim ] + [-ShowEveryoneExceptExternalUsersClaim ] + [-AllowEveryoneExceptExternalUsersClaimInPrivateSite ] [-SearchResolveExactEmailOrUPN ] + [-OfficeClientADALDisabled ] [-LegacyAuthProtocolsEnabled ] + [-LegacyBrowserAuthProtocolsEnabled ] [-AllowLegacyBrowserAuthProtocolsEnabledSetting ] + [-AllowLegacyAuthProtocolsEnabledSetting ] [-DisableCustomAppAuthentication ] + [-IsSharePointAddInsDisabled ] [-IsSharePointAddInsBlocked ] + [-DisableSharePointStoreAccess ] [-SiteOwnerManageLegacyServicePrincipalEnabled ] + [-RequireAcceptingAccountMatchInvitedAccount ] [-ProvisionSharedWithEveryoneFolder ] + [-SignInAccelerationDomain ] [-EnableGuestSignInAcceleration ] + [-UsePersistentCookiesForExplorerView ] -ContentTypeSyncSiteTemplatesList + [-ExcludeSiteTemplate] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] + [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] + [-PublicCdnAllowedFileTypes ] [-RequireAnonymousLinksExpireInDays ] + [-RequireOrganizationLinksExpireInDays ] [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] [-IPAddressWACTokenLifetime ] @@ -137,11 +252,10 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] - [-RestrictResourceAccountAccess ] [] + [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [] ``` -### ParameterSetContentTypeSyncSiteTemplatesList - +### ParamSetMultipleSites ``` Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ExternalServicesEnabled ] [-NoAccessRedirectUrl ] [-ArchiveRedirectUrl ] @@ -150,15 +264,16 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ShowEveryoneExceptExternalUsersClaim ] [-AllowEveryoneExceptExternalUsersClaimInPrivateSite ] [-SearchResolveExactEmailOrUPN ] [-OfficeClientADALDisabled ] [-LegacyAuthProtocolsEnabled ] - [-LegacyBrowserAuthProtocolsEnabled ] [-DisableCustomAppAuthentication ] + [-LegacyBrowserAuthProtocolsEnabled ] [-AllowLegacyBrowserAuthProtocolsEnabledSetting ] + [-AllowLegacyAuthProtocolsEnabledSetting ] [-DisableCustomAppAuthentication ] [-IsSharePointAddInsDisabled ] [-IsSharePointAddInsBlocked ] [-DisableSharePointStoreAccess ] [-SiteOwnerManageLegacyServicePrincipalEnabled ] [-RequireAcceptingAccountMatchInvitedAccount ] [-ProvisionSharedWithEveryoneFolder ] [-SignInAccelerationDomain ] [-EnableGuestSignInAcceleration ] - [-UsePersistentCookiesForExplorerView ] -ContentTypeSyncSiteTemplatesList - [-ExcludeSiteTemplate] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] - [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] - [-PublicCdnAllowedFileTypes ] [-RequireAnonymousLinksExpireInDays ] + [-UsePersistentCookiesForExplorerView ] [-ReSyncTenantPrivacyProfile] + [-BccExternalSharingInvitations ] [-BccExternalSharingInvitationsList ] + [-PublicCdnEnabled ] [-PublicCdnAllowedFileTypes ] + [-RequireAnonymousLinksExpireInDays ] [-RequireOrganizationLinksExpireInDays ] [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] @@ -174,11 +289,14 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-SpecialCharactersStateInFileFolderNames ] [-OwnerAnonymousNotification ] [-CommentsOnSitePagesDisabled ] [-CommentsOnFilesDisabled ] [-CommentsOnListItemsDisabled ] [-ViewersCanCommentOnMediaDisabled ] - [-SocialBarOnSitePagesDisabled ] [-OrphanedPersonalSitesRetentionPeriod ] - [-PermissiveBrowserFileHandlingOverride ] [-DisallowInfectedFileDownload ] - [-DefaultLinkPermission ] [-CustomizedExternalSharingServiceUrl ] - [-ConditionalAccessPolicyErrorHelpLink ] [-RestrictedAccessControlforSitesErrorHelpLink ] + [-SocialBarOnSitePagesDisabled ] [-SiteOwnersCanAccessMissingContent ] + [-OrphanedPersonalSitesRetentionPeriod ] [-PermissiveBrowserFileHandlingOverride ] + [-DisallowInfectedFileDownload ] [-DefaultLinkPermission ] + [-CustomizedExternalSharingServiceUrl ] [-ConditionalAccessPolicyErrorHelpLink ] + [-RestrictedAccessControlforSitesErrorHelpLink ] [-SensitivityLabel ] [-RestrictedAccessControlForOneDriveErrorHelpLink ] + [-ConditionalAccessPolicy ] [-AllowDownloadingNonWebViewableFiles ] + [-LimitedAccessFileType ] [-AllowEditing ] [-ApplyAppEnforcedRestrictionsToAdHocRecipients ] [-FilePickerExternalImageSearchEnabled ] [-EmailAttestationRequired ] [-EmailAttestationReAuthDays ] [-SyncPrivacyProfileProperties ] [-DisabledWebPartIds ] @@ -188,7 +306,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-EnableAzureADB2BIntegration ] [-DisableAddShortcutsToOneDrive ] [-IncludeAtAGlanceInShareEmails ] [-DisableWorkflow2010 ] [-EnableAutoNewsDigest ] [-StopNew2010Workflows ] [-StopNew2013Workflows ] [-DisableBackToClassic ] - [-ExternalUserExpirationRequired ] [-ExternalUserExpireInDays ] + [[-Sites] ] [-ExternalUserExpirationRequired ] [-ExternalUserExpireInDays ] [-BlockDownloadLinksFileType ] [-AnyoneLinkTrackUsers ] [-BlockAppAccessWithAuthenticationContext ] [-OneDriveLoopDefaultSharingLinkScope ] [-OneDriveLoopDefaultSharingLinkRole ] [-OneDriveRequestFilesLinkEnabled ] @@ -204,6 +322,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsFluidEnabled ] [-IsWBFluidEnabled ] [-IsCollabMeetingNotesFluidEnabled ] [-IsLoopEnabled ] [-DisableDocumentLibraryDefaultLabeling ] [-ExtendPermissionsToUnprotectedFiles ] [-EnableSensitivityLabelForPDF ] + [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] [-BlockSendLabelMismatchEmail ] [-LabelMismatchEmailHelpLink ] [-BlockUserInfoVisibility ] [-BlockUserInfoVisibilityInOneDrive ] [-BlockUserInfoVisibilityInSharePoint ] @@ -227,7 +346,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsEnableAppAuthPopUpEnabled ] [-IsDataAccessInCardDesignerEnabled ] [-MassDeleteNotificationDisabled ] [-EnableAutoExpirationVersionTrim ] [-EnableMediaReactions ] [-BusinessConnectivityServiceDisabled ] - [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-AllowSensitivityLabelOnRecords ] + [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-FileTypesForVersionExpiration ] + [-RemoveVersionExpirationFileTypeOverride ] [-AllowSensitivityLabelOnRecords ] [-DelayDenyAddAndCustomizePagesEnforcement ] [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-AllowClassicPublishingSiteCreation ] [-WhoCanShareAnonymousAllowList ] @@ -245,18 +365,17 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-DocumentTranslationSelectedSitesListOperation ] [-AutofillColumnsScope ] [-AutofillColumnsSelectedSitesList ] [-AutofillColumnsSelectedSitesListOperation ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] - [-RestrictResourceAccountAccess ] [-EnableSensitivityLabelForOneNote ] - [-EnableSensitivityLabelForVideoFiles ] [-SiteOwnersCanAccessMissingContent ] - [] + [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [] ``` -### ParamSetMultipleSites - +### InformationBarrier ``` Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ExternalServicesEnabled ] [-NoAccessRedirectUrl ] [-ArchiveRedirectUrl ] @@ -265,7 +384,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ShowEveryoneExceptExternalUsersClaim ] [-AllowEveryoneExceptExternalUsersClaimInPrivateSite ] [-SearchResolveExactEmailOrUPN ] [-OfficeClientADALDisabled ] [-LegacyAuthProtocolsEnabled ] - [-LegacyBrowserAuthProtocolsEnabled ] [-DisableCustomAppAuthentication ] + [-LegacyBrowserAuthProtocolsEnabled ] [-AllowLegacyBrowserAuthProtocolsEnabledSetting ] + [-AllowLegacyAuthProtocolsEnabledSetting ] [-DisableCustomAppAuthentication ] [-IsSharePointAddInsDisabled ] [-IsSharePointAddInsBlocked ] [-DisableSharePointStoreAccess ] [-SiteOwnerManageLegacyServicePrincipalEnabled ] [-RequireAcceptingAccountMatchInvitedAccount ] [-ProvisionSharedWithEveryoneFolder ] @@ -273,29 +393,28 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-UsePersistentCookiesForExplorerView ] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] [-PublicCdnAllowedFileTypes ] - [-RequireAnonymousLinksExpireInDays ] [-SharingAllowedDomainList ] - [-SharingBlockedDomainList ] [-SharingDomainRestrictionMode ] - [-OneDriveStorageQuota ] [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] - [-IPAddressAllowList ] [-IPAddressWACTokenLifetime ] - [-EnableTenantRestrictionsInsights ] [-EnablePromotedFileHandlers ] - [-UseFindPeopleInPeoplePicker ] [-DefaultSharingLinkType ] - [-ODBMembersCanShare ] [-ODBAccessRequests ] - [-PreventExternalUsersFromResharing ] [-ShowPeoplePickerSuggestionsForGuestUsers ] - [-AppOnlyBypassPeoplePickerPolicies ] [-EnableDiscoverableByOrganizationForVideos ] - [-FileAnonymousLinkType ] [-FolderAnonymousLinkType ] - [-NotifyOwnersWhenItemsReshared ] [-NotifyOwnersWhenInvitationsAccepted ] - [-NotificationsInOneDriveForBusinessEnabled ] [-NotificationsInSharePointEnabled ] - [-SelfServiceSiteCreationDisabled ] + [-RequireAnonymousLinksExpireInDays ] [-RequireOrganizationLinksExpireInDays ] + [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] + [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] + [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] + [-IPAddressWACTokenLifetime ] [-EnableTenantRestrictionsInsights ] + [-EnablePromotedFileHandlers ] [-UseFindPeopleInPeoplePicker ] + [-DefaultSharingLinkType ] [-ODBMembersCanShare ] + [-ODBAccessRequests ] [-PreventExternalUsersFromResharing ] + [-ShowPeoplePickerSuggestionsForGuestUsers ] [-AppOnlyBypassPeoplePickerPolicies ] + [-EnableDiscoverableByOrganizationForVideos ] [-FileAnonymousLinkType ] + [-FolderAnonymousLinkType ] [-NotifyOwnersWhenItemsReshared ] + [-NotifyOwnersWhenInvitationsAccepted ] [-NotificationsInOneDriveForBusinessEnabled ] + [-NotificationsInSharePointEnabled ] [-SelfServiceSiteCreationDisabled ] [-SpecialCharactersStateInFileFolderNames ] [-OwnerAnonymousNotification ] [-CommentsOnSitePagesDisabled ] [-CommentsOnFilesDisabled ] [-CommentsOnListItemsDisabled ] [-ViewersCanCommentOnMediaDisabled ] - [-SocialBarOnSitePagesDisabled ] [-OrphanedPersonalSitesRetentionPeriod ] - [-PermissiveBrowserFileHandlingOverride ] [-DisallowInfectedFileDownload ] - [-DefaultLinkPermission ] [-CustomizedExternalSharingServiceUrl ] - [-ConditionalAccessPolicyErrorHelpLink ] [-RestrictedAccessControlforSitesErrorHelpLink ] - [-SensitivityLabel ] [-RestrictedAccessControlForOneDriveErrorHelpLink ] - [-ConditionalAccessPolicy ] [-AllowDownloadingNonWebViewableFiles ] - [-LimitedAccessFileType ] [-AllowEditing ] + [-SocialBarOnSitePagesDisabled ] [-SiteOwnersCanAccessMissingContent ] + [-OrphanedPersonalSitesRetentionPeriod ] [-PermissiveBrowserFileHandlingOverride ] + [-DisallowInfectedFileDownload ] [-DefaultLinkPermission ] + [-CustomizedExternalSharingServiceUrl ] [-ConditionalAccessPolicyErrorHelpLink ] + [-RestrictedAccessControlforSitesErrorHelpLink ] + [-RestrictedAccessControlForOneDriveErrorHelpLink ] [-ApplyAppEnforcedRestrictionsToAdHocRecipients ] [-FilePickerExternalImageSearchEnabled ] [-EmailAttestationRequired ] [-EmailAttestationReAuthDays ] [-SyncPrivacyProfileProperties ] [-DisabledWebPartIds ] @@ -305,7 +424,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-EnableAzureADB2BIntegration ] [-DisableAddShortcutsToOneDrive ] [-IncludeAtAGlanceInShareEmails ] [-DisableWorkflow2010 ] [-EnableAutoNewsDigest ] [-StopNew2010Workflows ] [-StopNew2013Workflows ] [-DisableBackToClassic ] - [-Sites ] [-ExternalUserExpirationRequired ] [-ExternalUserExpireInDays ] + [-ExternalUserExpirationRequired ] [-ExternalUserExpireInDays ] [-BlockDownloadLinksFileType ] [-AnyoneLinkTrackUsers ] [-BlockAppAccessWithAuthenticationContext ] [-OneDriveLoopDefaultSharingLinkScope ] [-OneDriveLoopDefaultSharingLinkRole ] [-OneDriveRequestFilesLinkEnabled ] @@ -321,17 +440,18 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsFluidEnabled ] [-IsWBFluidEnabled ] [-IsCollabMeetingNotesFluidEnabled ] [-IsLoopEnabled ] [-DisableDocumentLibraryDefaultLabeling ] [-ExtendPermissionsToUnprotectedFiles ] [-EnableSensitivityLabelForPDF ] + [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] [-BlockSendLabelMismatchEmail ] [-LabelMismatchEmailHelpLink ] [-BlockUserInfoVisibility ] [-BlockUserInfoVisibilityInOneDrive ] [-BlockUserInfoVisibilityInSharePoint ] [-AllowOverrideForBlockUserInfoVisibility ] [-DisablePersonalListCreation ] [-DisableSpacesActivation ] [-DisableVivaConnectionsAnalytics ] [-InformationBarriersSuspension ] [-IBImplicitGroupBased ] - [-AppBypassInformationBarriers ] [-AppAccessInformationBarriersAllowList ] - [-AllOrganizationSecurityGroupId ] [-DisableModernListTemplateIds ] - [-EnableModernListTemplateIds ] [-HideSyncButtonOnTeamSite ] - [-AllowGuestUserShareToUsersNotInSiteCollection ] [-StreamLaunchConfig ] - [-DelegateRestrictedContentDiscoverabilityManagement ] + [-AppBypassInformationBarriers ] [-DefaultOneDriveInformationBarrierMode ] + [-AppAccessInformationBarriersAllowList ] [-AllOrganizationSecurityGroupId ] + [-DisableModernListTemplateIds ] [-EnableModernListTemplateIds ] + [-HideSyncButtonOnTeamSite ] [-AllowGuestUserShareToUsersNotInSiteCollection ] + [-StreamLaunchConfig ] [-DelegateRestrictedContentDiscoverabilityManagement ] [-DelegateRestrictedAccessControlManagement ] [-DisableOutlookPSTVersionTrimming ] [-MediaTranscription ] [-MediaTranscriptionAutomaticFeatures ] @@ -344,9 +464,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsEnableAppAuthPopUpEnabled ] [-IsDataAccessInCardDesignerEnabled ] [-MassDeleteNotificationDisabled ] [-EnableAutoExpirationVersionTrim ] [-EnableMediaReactions ] [-BusinessConnectivityServiceDisabled ] - [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] - [-FileTypesForVersionExpiration ] [-RemoveVersionExpirationFileTypeOverride ] - [-AllowSensitivityLabelOnRecords ] + [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-FileTypesForVersionExpiration ] + [-RemoveVersionExpirationFileTypeOverride ] [-AllowSensitivityLabelOnRecords ] [-DelayDenyAddAndCustomizePagesEnforcement ] [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-AllowClassicPublishingSiteCreation ] [-WhoCanShareAnonymousAllowList ] @@ -364,18 +483,17 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-DocumentTranslationSelectedSitesListOperation ] [-AutofillColumnsScope ] [-AutofillColumnsSelectedSitesList ] [-AutofillColumnsSelectedSitesListOperation ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] - [-RestrictResourceAccountAccess ] [-EnableSensitivityLabelForOneNote ] - [-EnableSensitivityLabelForVideoFiles ] [-SiteOwnersCanAccessMissingContent ] - [] + [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [] ``` -### InformationBarrier - +### ParameterSetNameRestrictExternalSharing ``` Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ExternalServicesEnabled ] [-NoAccessRedirectUrl ] [-ArchiveRedirectUrl ] @@ -384,7 +502,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-ShowEveryoneExceptExternalUsersClaim ] [-AllowEveryoneExceptExternalUsersClaimInPrivateSite ] [-SearchResolveExactEmailOrUPN ] [-OfficeClientADALDisabled ] [-LegacyAuthProtocolsEnabled ] - [-LegacyBrowserAuthProtocolsEnabled ] [-DisableCustomAppAuthentication ] + [-LegacyBrowserAuthProtocolsEnabled ] [-AllowLegacyBrowserAuthProtocolsEnabledSetting ] + [-AllowLegacyAuthProtocolsEnabledSetting ] [-DisableCustomAppAuthentication ] [-IsSharePointAddInsDisabled ] [-IsSharePointAddInsBlocked ] [-DisableSharePointStoreAccess ] [-SiteOwnerManageLegacyServicePrincipalEnabled ] [-RequireAcceptingAccountMatchInvitedAccount ] [-ProvisionSharedWithEveryoneFolder ] @@ -392,26 +511,27 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-UsePersistentCookiesForExplorerView ] [-ReSyncTenantPrivacyProfile] [-BccExternalSharingInvitations ] [-BccExternalSharingInvitationsList ] [-PublicCdnEnabled ] [-PublicCdnAllowedFileTypes ] - [-RequireAnonymousLinksExpireInDays ] [-SharingAllowedDomainList ] - [-SharingBlockedDomainList ] [-SharingDomainRestrictionMode ] - [-OneDriveStorageQuota ] [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] - [-IPAddressAllowList ] [-IPAddressWACTokenLifetime ] - [-EnableTenantRestrictionsInsights ] [-EnablePromotedFileHandlers ] - [-UseFindPeopleInPeoplePicker ] [-DefaultSharingLinkType ] - [-ODBMembersCanShare ] [-ODBAccessRequests ] - [-PreventExternalUsersFromResharing ] [-ShowPeoplePickerSuggestionsForGuestUsers ] - [-AppOnlyBypassPeoplePickerPolicies ] [-EnableDiscoverableByOrganizationForVideos ] - [-FileAnonymousLinkType ] [-FolderAnonymousLinkType ] - [-NotifyOwnersWhenItemsReshared ] [-NotifyOwnersWhenInvitationsAccepted ] - [-NotificationsInOneDriveForBusinessEnabled ] [-NotificationsInSharePointEnabled ] - [-SelfServiceSiteCreationDisabled ] + [-RequireAnonymousLinksExpireInDays ] [-RequireOrganizationLinksExpireInDays ] + [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] + [-SharingDomainRestrictionMode ] [-OneDriveStorageQuota ] + [-OneDriveForGuestsEnabled ] [-IPAddressEnforcement ] [-IPAddressAllowList ] + [-IPAddressWACTokenLifetime ] [-EnableTenantRestrictionsInsights ] + [-EnablePromotedFileHandlers ] [-UseFindPeopleInPeoplePicker ] + [-DefaultSharingLinkType ] [-ODBMembersCanShare ] + [-ODBAccessRequests ] [-PreventExternalUsersFromResharing ] + [-ShowPeoplePickerSuggestionsForGuestUsers ] [-AppOnlyBypassPeoplePickerPolicies ] + [-EnableDiscoverableByOrganizationForVideos ] [-FileAnonymousLinkType ] + [-FolderAnonymousLinkType ] [-NotifyOwnersWhenItemsReshared ] + [-NotifyOwnersWhenInvitationsAccepted ] [-NotificationsInOneDriveForBusinessEnabled ] + [-NotificationsInSharePointEnabled ] [-SelfServiceSiteCreationDisabled ] [-SpecialCharactersStateInFileFolderNames ] [-OwnerAnonymousNotification ] [-CommentsOnSitePagesDisabled ] [-CommentsOnFilesDisabled ] [-CommentsOnListItemsDisabled ] [-ViewersCanCommentOnMediaDisabled ] - [-SocialBarOnSitePagesDisabled ] [-OrphanedPersonalSitesRetentionPeriod ] - [-PermissiveBrowserFileHandlingOverride ] [-DisallowInfectedFileDownload ] - [-DefaultLinkPermission ] [-CustomizedExternalSharingServiceUrl ] - [-ConditionalAccessPolicyErrorHelpLink ] [-RestrictedAccessControlforSitesErrorHelpLink ] + [-SocialBarOnSitePagesDisabled ] [-SiteOwnersCanAccessMissingContent ] + [-OrphanedPersonalSitesRetentionPeriod ] [-PermissiveBrowserFileHandlingOverride ] + [-DisallowInfectedFileDownload ] [-DefaultLinkPermission ] + [-CustomizedExternalSharingServiceUrl ] [-ConditionalAccessPolicyErrorHelpLink ] + [-RestrictedAccessControlforSitesErrorHelpLink ] [-RestrictedAccessControlForOneDriveErrorHelpLink ] [-ApplyAppEnforcedRestrictionsToAdHocRecipients ] [-FilePickerExternalImageSearchEnabled ] [-EmailAttestationRequired ] [-EmailAttestationReAuthDays ] @@ -438,17 +558,18 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsFluidEnabled ] [-IsWBFluidEnabled ] [-IsCollabMeetingNotesFluidEnabled ] [-IsLoopEnabled ] [-DisableDocumentLibraryDefaultLabeling ] [-ExtendPermissionsToUnprotectedFiles ] [-EnableSensitivityLabelForPDF ] + [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] [-BlockSendLabelMismatchEmail ] [-LabelMismatchEmailHelpLink ] [-BlockUserInfoVisibility ] [-BlockUserInfoVisibilityInOneDrive ] [-BlockUserInfoVisibilityInSharePoint ] [-AllowOverrideForBlockUserInfoVisibility ] [-DisablePersonalListCreation ] [-DisableSpacesActivation ] [-DisableVivaConnectionsAnalytics ] [-InformationBarriersSuspension ] [-IBImplicitGroupBased ] - [-AppBypassInformationBarriers ] [-DefaultOneDriveInformationBarrierMode ] - [-AppAccessInformationBarriersAllowList ] [-AllOrganizationSecurityGroupId ] - [-DisableModernListTemplateIds ] [-EnableModernListTemplateIds ] - [-HideSyncButtonOnTeamSite ] [-AllowGuestUserShareToUsersNotInSiteCollection ] - [-StreamLaunchConfig ] [-DelegateRestrictedContentDiscoverabilityManagement ] + [-AppBypassInformationBarriers ] [-AppAccessInformationBarriersAllowList ] + [-AllOrganizationSecurityGroupId ] [-DisableModernListTemplateIds ] + [-EnableModernListTemplateIds ] [-HideSyncButtonOnTeamSite ] + [-AllowGuestUserShareToUsersNotInSiteCollection ] [-StreamLaunchConfig ] + [-DelegateRestrictedContentDiscoverabilityManagement ] [-DelegateRestrictedAccessControlManagement ] [-DisableOutlookPSTVersionTrimming ] [-MediaTranscription ] [-MediaTranscriptionAutomaticFeatures ] @@ -461,9 +582,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-IsEnableAppAuthPopUpEnabled ] [-IsDataAccessInCardDesignerEnabled ] [-MassDeleteNotificationDisabled ] [-EnableAutoExpirationVersionTrim ] [-EnableMediaReactions ] [-BusinessConnectivityServiceDisabled ] - [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] - [-FileTypesForVersionExpiration ] [-RemoveVersionExpirationFileTypeOverride ] - [-AllowSensitivityLabelOnRecords ] + [-ExpireVersionsAfterDays ] [-MajorVersionLimit ] [-FileTypesForVersionExpiration ] + [-RemoveVersionExpirationFileTypeOverride ] [-AllowSensitivityLabelOnRecords ] [-DelayDenyAddAndCustomizePagesEnforcement ] [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites ] [-AllowClassicPublishingSiteCreation ] [-WhoCanShareAnonymousAllowList ] @@ -481,14 +601,15 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-DocumentTranslationSelectedSitesListOperation ] [-AutofillColumnsScope ] [-AutofillColumnsSelectedSitesList ] [-AutofillColumnsSelectedSitesListOperation ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] - [-RestrictResourceAccountAccess ] [-EnableSensitivityLabelForOneNote ] - [-EnableSensitivityLabelForVideoFiles ] [-SiteOwnersCanAccessMissingContent ] - [] + [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] + [-RestrictExternalSharing] [-AddAppIDToList] [-RemoveAppIDFromList] [] ``` ## DESCRIPTION @@ -801,6 +922,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AddAppIDToList + +> Applicable: SharePoint Online + +This is a switch value paired with RestrictExternalSharing to indicate GUIDs should be added to the restrict external sharing control list. + +> [!NOTE] +> This feature is currently in preview and may not be available in your tenant. + +```yaml +Type: SwitchParameter +Parameter Sets: ParameterSetNameRestrictExternalSharing +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllOrganizationSecurityGroupId > Applicable: SharePoint Online @@ -4670,6 +4812,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RemoveAppIDFromList + +> Applicable: SharePoint Online + +This is a switch value paired with RestrictExternalSharing to indicate GUIDs should be removed from the restrict external sharing control list. + +> [!NOTE] +> This feature is currently in preview and may not be available in your tenant. + +```yaml +Type: SwitchParameter +Parameter Sets: ParameterSetNameRestrictExternalSharing +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RemoveVersionExpirationFileTypeOverride An array of file type names. Removes the version history limit override from a set of file types so that they will follow the default version history limits. @@ -4764,6 +4927,52 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictExternalSharing + +> Applicable: SharePoint Online + +Specifies a list of agent identities which are restricted from sharing content to external users. + +For agentic users this corresponds to the GUID identifying the parent the agentic user was created from. + +> [!NOTE] +> This feature is currently in preview and may not be available in your tenant. + +```yaml +Type: Guid[] +Parameter Sets: ParameterSetNameRestrictExternalSharing +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictExternalSharingForAgents + +> Applicable: SharePoint Online + +Controls whether agentic identities are allowed to share content with external users. Setting this to `True` prevents agentic identities from sharing content with external users. + +PARAMVALUE: True | False + +> [!NOTE] +> This feature is currently in preview and may not be available in your tenant. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RestrictResourceAccountAccess > Applicable: SharePoint Online From 21892667348dad0fd43cf47513af045ff455d237 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:03:00 +0530 Subject: [PATCH 02/13] Modify example for Add-SPOContainerTypeBilling Updated example command and explanation for Add-SPOContainerTypeBilling. --- .../Add-SPOContainerTypeBilling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md index df80531bb..2db05f8b2 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md @@ -38,10 +38,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US" +Add-SPOContainerTypeBilling - ContainerTypeId b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" ``` -Example 1 attaches the billing profile of Azure subscription ID "5a8a4d9f", resource group "RG100" and region "(US) East US" to the container type ID "aa1d89b3". +Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z3". ## PARAMETERS From 325ba4e5b53260f4d1cedef47ef4a0d8a568a5c6 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:08:54 +0530 Subject: [PATCH 03/13] Update Add-SPOContainerTypeBilling.md --- .../Add-SPOContainerTypeBilling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md index 2db05f8b2..948fa6fc6 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerTypeBilling.md @@ -38,10 +38,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerTypeBilling - ContainerTypeId b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" +Add-SPOContainerTypeBilling - ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US" ``` -Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z3". +Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "1ea46f96-515c-49b5-bac5-002c33a5fa0e". ## PARAMETERS From 7eeb456d907c8112112f7600c108c935005b8afd Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:12:51 +0530 Subject: [PATCH 04/13] Modify example for Add-SPOContainerUser command Updated example command with a new container ID. --- .../Add-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md index fed191355..667e5b035 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOContainerUser.md @@ -41,7 +41,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Add-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner +Add-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Owner ``` Example 1 assigns the role of owner to user with User Principal Name "shras@contoso.com". From d7c9bde3a6d43f06dc1fae471e811881a7c81e3c Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:14:08 +0530 Subject: [PATCH 05/13] Fix ContainerId in Remove-SPOContainerUser example Updated the ContainerId in Example 1 to a new value. --- .../Remove-SPOContainerUser.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md index f35802066..df2da2d6e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Remove-SPOContainerUser.md @@ -39,10 +39,10 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Remove-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Owner +Remove-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Owner ``` -Example 1 removes the user with User Principal Name "shras@contoso.com" from the role of an owner of container whose ContainerId is 423poi45 . +Example 1 removes the user with User Principal Name "shras@contoso.com" from the role of an owner of container whose ContainerId is b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U . ## PARAMETERS From 2085a3b2b1682ef7236bf7f2953d61771e383282 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:14:59 +0530 Subject: [PATCH 06/13] Modify example for Set-SPOContainerUser command Updated example in Set-SPOContainerUser.md to use a new container ID. --- .../Set-SPOContainerUser.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md index e40cd99d1..96dc2d722 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerUser.md @@ -40,7 +40,7 @@ For permissions and the most current information about Windows PowerShell for Sh ### Example 1 ```powershell -Set-SPOContainerUser 423poi45 -LoginName shras@contoso.com -Role Manager +Set-SPOContainerUser b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U -LoginName shras@contoso.com -Role Manager ``` Example 1 reassigns the role of User Principal Name "shras@contoso.com" to manager. From ed267a45e105dc33aa8d177326645f9951608e35 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:21:33 +0530 Subject: [PATCH 07/13] Update Get-SPOContainer.md --- .../Get-SPOContainer.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md index e487a1587..2dad35d13 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainer.md @@ -85,29 +85,29 @@ Example 1 returns the details of all the containers in the tenant. ### Example 2 ```powershell -Get-SPOContainer -Identity b66f5b2e +Get-SPOContainer -Identity b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U ``` -Example 2 returns the detailed properties of the Container with associated Container ID b66f5b2e. +Example 2 returns the detailed properties of the Container with associated Container ID b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_8U. ### Example 3 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | ft ``` -Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45`. +Example 3 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `2ce03211-353e-45d7-b487-8ac6981332cf`. ### Example 4 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -Paged | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged | ft ``` Example 4 uses the `-Paged` command to retrieve a paging token. ### Example 5 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -Paged -PagingToken | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -Paged -PagingToken | ft ``` Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to view more containers that were not displayed in Example 3. @@ -115,7 +115,7 @@ Example 5 uses the `-PagingToken` parameter along with the `-Paged` parameter to ### Example 6 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending ``` Example 6 displays the containers belonging to the application, sorted in ascending order of storage. @@ -123,7 +123,7 @@ Example 6 displays the containers belonging to the application, sorted in ascend ### Example 7 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -SortByStorage Ascending -Paged +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged ``` Example 7 displays a paged view of the containers belonging to the application, sorted in ascending order of storage. @@ -131,7 +131,7 @@ Example 7 displays a paged view of the containers belonging to the application, ### Example 8 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45-as -SortByStorage Ascending -Paged -PagingToken +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -SortByStorage Ascending -Paged -PagingToken ``` Example 8 displays the next list of paged view of containers belonging to the application, sorted in ascending order of storage. @@ -139,7 +139,7 @@ Example 8 displays the next list of paged view of containers belonging to the ap ### Example 9 ```powershell -Get-SPOContainer -OwningApplicationId 423poi45 -ArchiveStatus RecentlyArchived | ft +Get-SPOContainer -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ArchiveStatus RecentlyArchived | ft ``` Example 9 returns a tabular list of recently archived containers belonging to the SharePoint Embedded application with the OwningApplicationId of 423poi45. From e51eaf7d43f3c109d7120f68a54fe868b09d8fc5 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:24:15 +0530 Subject: [PATCH 08/13] Change ContainerTypeId in Get-SPOContainerType example Updated example in Get-SPOContainerType.md to reflect new ContainerTypeId. --- .../Get-SPOContainerType.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md index d22268f8e..a27d2f009 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOContainerType.md @@ -52,10 +52,10 @@ Example 1 retrieves all the container types present in the tenant and displays c ### Example 2 ```powershell -Get-SPOContainerType -ContainerTypeId 4f0af585 +Get-SPOContainerType -ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e ``` -Example 2 returns the detailed properties of container type 4f0af585. +Example 2 returns the detailed properties of container type 1ea46f96-515c-49b5-bac5-002c33a5fa0e. ## PARAMETERS From 1d0c8baa399efd1bec2af78f452f685f17a0f81a Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:29:22 +0530 Subject: [PATCH 09/13] Modify OwningApplicationId in cmdlet examples Updated OwningApplicationId values in examples for New-SPOContainerType. --- .../New-SPOContainerType.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md index e026106e5..89bb7a52a 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/New-SPOContainerType.md @@ -35,7 +35,7 @@ You must be a SharePoint Embedded Administrator to run this cmdlet. ### Example 1 ```powershell -New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf ``` In Example 1, the cmdlet creates a new regular billed container type ContosoLegal. @@ -43,7 +43,7 @@ In Example 1, the cmdlet creates a new regular billed container type ContosoLega ### Example 2 ```powershell -New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332ed ``` In Example 2, the cmdlet creates a direct to customer billed container type ContosoLegal. @@ -51,7 +51,7 @@ In Example 2, the cmdlet creates a direct to customer billed container type Cont ### Example 3 ```powershell -New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af +New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332fl ``` In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for 30 days. @@ -59,7 +59,7 @@ In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for ### Example 4 ```powershell -New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af -GovernableByAdmin $false +New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -GovernableByAdmin $false ``` In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms. From eca17ad6623edbf9e2fe6c2c42d1eaf085cde037 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 11:16:32 +0530 Subject: [PATCH 10/13] Refine examples in Get-SPOApplication.md Updated example commands in Get-SPOApplication.md with specific OwningApplicationId and ApplicationId values. --- .../Get-SPOApplication.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md index 6ad826c0e..3545ecbaf 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md @@ -43,7 +43,7 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi ### Example 2 ```powershell -Get-SPOApplication -OwningApplicationId +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf ``` Example 2 provides details about the application corresponding to the owning application Id in the specified tenant. It returns applications, which includes the list of guest application IDs with permissions to the owning application, as well as the SharingCapability settings, the `OverrideTenantSharingCapability` status and the list of all Copilot embedded chat host URLs. @@ -51,7 +51,7 @@ Example 2 provides details about the application corresponding to the owning app ### Example 3 ```powershell -Get-SPOApplication -OwningApplicationId -ApplicationId +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl ``` Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`. @@ -59,7 +59,7 @@ Example 3 enumerates app-only permissions of the guest application specified in ### Example 4 ```powershell -Get-SPOApplication -OwningApplicationId | Select-Object CopilotEmbeddedChatHosts +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | Select-Object CopilotEmbeddedChatHosts ``` Example 4 enumerates the entire list of the host URLs driving the Copilot embedded chat capability on the SharePoint Embedded application. From 2352ed3edc58bd4a77ade87b6a88df3f19098a57 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:59:16 +0530 Subject: [PATCH 11/13] Modify Example 6 with updated ContainerTypeId Updated the ContainerTypeId in Example 6 to include a new identifier. --- .../Set-SPOContainerTypeConfiguration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md index 91e780a03..6344015f5 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -78,9 +78,9 @@ Example 5 overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList` wi ### Example 6 ```powershell -Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com" +Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com" ``` -This example sets the host URLs for the container type with Id 4f0af585. +This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4. ## PARAMETERS From f1c839c378cc01247f4413c82901bbbe623782af Mon Sep 17 00:00:00 2001 From: anthonyfleck Date: Tue, 7 Oct 2025 15:05:35 -0500 Subject: [PATCH 12/13] Updates to the doc based on suggestions --- .../Set-SPOTenant.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index ec1af32ac..7bef39aa4 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -609,7 +609,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-DefaultContentCenterSite ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] - [-RestrictExternalSharing] [-AddAppIDToList] [-RemoveAppIDFromList] [] + [-RestrictExternalSharing] [-AddAppIdToList] [-RemoveAppIdFromList] [] ``` ## DESCRIPTION @@ -922,11 +922,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -AddAppIDToList +### -AddAppIdToList > Applicable: SharePoint Online -This is a switch value paired with RestrictExternalSharing to indicate GUIDs should be added to the restrict external sharing control list. +When paired with `RestrictExternalSharing`, indicates that GUIDs should be added to the external sharing restriction. > [!NOTE] > This feature is currently in preview and may not be available in your tenant. @@ -4812,11 +4812,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RemoveAppIDFromList +### -RemoveAppIdFromList > Applicable: SharePoint Online -This is a switch value paired with RestrictExternalSharing to indicate GUIDs should be removed from the restrict external sharing control list. +When paired with `RestrictExternalSharing`, indicates that GUIDs should be removed from the external sharing restriction. > [!NOTE] > This feature is currently in preview and may not be available in your tenant. @@ -4931,9 +4931,9 @@ Accept wildcard characters: False > Applicable: SharePoint Online -Specifies a list of agent identities which are restricted from sharing content to external users. +Specifies agentic identities which are restricted from sharing content to external users. -For agentic users this corresponds to the GUID identifying the parent the agentic user was created from. +- For agentic users this corresponds to the GUID identifying the parent the agentic user was created from. > [!NOTE] > This feature is currently in preview and may not be available in your tenant. @@ -4954,7 +4954,7 @@ Accept wildcard characters: False > Applicable: SharePoint Online -Controls whether agentic identities are allowed to share content with external users. Setting this to `True` prevents agentic identities from sharing content with external users. +Controls whether agentic identities are allowed to share content with external users. Setting this to `True` prevents sharing. PARAMVALUE: True | False From ca8043afca875ba2b9f62e7935f5ed38acf5e6d7 Mon Sep 17 00:00:00 2001 From: anthonyfleck Date: Tue, 7 Oct 2025 15:33:29 -0500 Subject: [PATCH 13/13] Simplify a bit further --- .../Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index 7a88e23ae..24a924a89 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -4936,7 +4936,7 @@ Accept wildcard characters: False Specifies agentic identities which are restricted from sharing content to external users. -- For agentic users this corresponds to the GUID identifying the parent the agentic user was created from. +- For agentic users this is the GUID of the parent the agentic user was created from. > [!NOTE] > This feature is currently in preview and may not be available in your tenant.