Skip to content

Commit 85032d8

Browse files
authored
Merge branch 'main' into patch-1
2 parents 436b32a + b7de9c6 commit 85032d8

File tree

8 files changed

+46
-26
lines changed

8 files changed

+46
-26
lines changed

.github/workflows/StaleBranch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: (Scheduled) Stale branch removal
22

33
permissions:
44
contents: write
5+
pull-requests: read
56

67
# This workflow is designed to be run in the days up to, and including, a "deletion day", specified by 'DeleteOnDayOfMonth' in env: in https://github.com/MicrosoftDocs/microsoft-365-docs/blob/workflows-prod/.github/workflows/Shared-StaleBranch.yml.
78
# On the days leading up to "deletion day", the workflow will report the branches to be deleted. This lets users see which branches will be deleted. On "deletion day", those branches are deleted.

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
2+
manager: mengkel
3+
ms.author: samkabue
24
title: Get started with the SharePoint Online Management Shell
5+
description: Get started with the SharePoint Online Management Shell
36
---
47

58
# Get started with SharePoint Online Management Shell #

sharepoint/docs-conceptual/sharepoint-online/introduction-sharepoint-online-management-shell.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
manager: mengkel
3+
ms.author: samkabue
24
title: Intro to SharePoint Online Management Shell
35
description: Intro to SharePoint Online Management Shell
46
---
@@ -32,4 +34,4 @@ After you get familiar with SharePoint sites and users, try using SharePoint Onl
3234
3335
## How do I get permissions and set up the environment?
3436

35-
To use SharePoint Online PowerShell commands, you must be a SharePoint admin in your organization. For info about installing the SharePoint Online Management Shell module and connecting to the SharePoint Online service, see [Get started with SharePoint Online Management Shell](connect-sharepoint-online.md)
37+
To use SharePoint Online PowerShell commands, you must be a SharePoint admin in your organization. For info about installing the SharePoint Online Management Shell module and connecting to the SharePoint Online service, see [Get started with SharePoint Online Management Shell](connect-sharepoint-online.md).

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOCopilotPromoUsage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Get-SPOCopilotPromoUsage
2323

2424
## DESCRIPTION
2525

26-
This cmdlet retrieves the number of SharePoint Agent promotion queries used by the tenant each month.
26+
This cmdlet retrieves the number of SharePoint Agent promotion queries used by the tenant each month, starting the month tenant qualified for trial.
2727
It provides a monthly breakdown of query usage, helping admins track consumption of the promotion queries over time.
2828

2929
## EXAMPLES

sharepoint/sharepoint-ps/sharepoint-online/Invoke-SPOSiteSwap.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ online version: https://learn.microsoft.com/powershell/module/sharepoint-online/
55
applicable: SharePoint Online
66
title: Invoke-SPOSiteSwap
77
schema: 2.0.0
8-
author: WayneEwington
9-
ms.author: waynewin
8+
ms.author: divyasru
109
ms.reviewer:
1110
---
1211

@@ -35,14 +34,14 @@ Swaps the location of a source site with a target site while archiving the origi
3534

3635
Please note, the target site must be either:
3736

38-
- The root site, for example <https://tenant-name.sharepoint.com>; or
39-
- The search center site, for example <https://tenant-name.sharepoint.com/search>.
37+
- The root site, for example `https://tenant-name.sharepoint.com`; or
38+
- The search center site, for example `https://tenant-name.sharepoint.com/search`.
4039

4140
When the swap is initiated, the target site is moved to the archive location and the source site is moved to the target location. By default, a site redirect is created at the source location that will redirect traffic to the target location.
4241

43-
If the target is the root site at <https://tenant-name.sharepoint.com>, then the following preparation activities should be performed prior to performing the swap:
42+
If the target is the root site at `https://tenant-name.sharepoint.com`, then the following preparation activities should be performed prior to performing the swap:
4443

45-
1. Any Featured links defined in SharePoint Start Page at <https://tenant-name.sharepoint.com/_layouts/15/sharepoint.aspx> will not be displayed after performing the swap. If required, the Featured links should be documented so they can be manually recreated after the swap.
44+
1. Any Featured links defined in SharePoint Start Page at `https://tenant-name.sharepoint.com/_layouts/15/sharepoint.aspx` will not be displayed after performing the swap. If required, the Featured links should be documented so they can be manually recreated after the swap.
4645
2. Functionality such as external sharing and application interfaces are dependent on the policies and permissions defined at the root site. Review the source site to ensure that it has the required policies and permissions as per the existing root site. This includes external sharing settings as well as site permissions.
4746
3. Larger tenants that have more than ~10,000 licenses will need to run the [Page Diagnostic Tool](/office365/enterprise/page-diagnostics-for-spo) against the source site (ensure that the user running the Page Diagnostic Tool has edit rights on the source site). Any analysis results that have the category Attention required (Red) or Improvement opportunities (Orange) will need to be remediated before performing the swap.
4847

@@ -91,9 +90,9 @@ Archives the existing Search Center site at <https://contoso.sharepoint.com/sear
9190

9291
URL of the source site. The site at this location must exist before performing the swap.
9392

94-
If the target is the root site at <https://tenant-name.sharepoint.com> then the source site must be either a Modern Team Site (STS#3) or a Communication Site (SITEPAGEPUBLISHING#0) and **the publishing feature can never have been activated on the source site**.
93+
If the target is the root site at `https://tenant-name.sharepoint.com` then the source site must be either a Modern Team Site (STS#3) or a Communication Site (SITEPAGEPUBLISHING#0) and **the publishing feature can never have been activated on the source site**.
9594

96-
If the target is the search center site at <https://tenant-name.sharepoint.com/search> then the source site must be either a Search Center Site (SRCHCEN#0) or a Basic Search Center Site (SRCHCENTERLITE#0).
95+
If the target is the search center site at `https://tenant-name.sharepoint.com/search` then the source site must be either a Search Center Site (SRCHCEN#0) or a Basic Search Center Site (SRCHCENTERLITE#0).
9796

9897
```yaml
9998
Type: String
@@ -114,8 +113,8 @@ URL of the target site that the source site will be swapped to. The site at this
114113
115114
The target site must be either:
116115
117-
- The root site at <https://tenant-name.sharepoint.com> or
118-
- The search center site at <https://tenant-name.sharepoint.com/search.>
116+
- The root site at `https://tenant-name.sharepoint.com` or
117+
- The search center site at `https://tenant-name.sharepoint.com/search`
119118

120119
```yaml
121120
Type: String

sharepoint/sharepoint-ps/sharepoint-online/New-SPOMigrationPackage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
**Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see [Migrate to SharePoint using PowerShell](https://learn.microsoft.com/sharepointmigration/overview-spmt-ps-cmdlets).
17+
> [!NOTE]
18+
> This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see [Migrate to SharePoint using PowerShell](https://learn.microsoft.com/sharepointmigration/overview-spmt-ps-cmdlets).
1819
1920
Cmdlet to create a new migration package based on source files in a local or network shared folder.
2021

@@ -223,7 +224,7 @@ Accept wildcard characters: False
223224
224225
### -TargetWebUrl
225226
226-
The fully qualified web URL to use as the web address part of the base URL in the package metadata. If this is not provided, "<http://fileserver/sites/user"> will be used instead within the package metadata.
227+
The fully qualified web URL to use as the web address part of the base URL in the package metadata. If this is not provided, "`http://fileserver/sites/user`" will be used instead within the package metadata.
227228

228229
```yaml
229230
Type: String

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Set-SPOSite
2727
[-AllowEditing <Boolean>]
2828
[-AllowFileArchive <Boolean>]
2929
[-AllowSelfServiceUpgrade <Boolean>]
30+
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
3031
[-AnonymousLinkExpirationInDays <Int32>]
3132
[-AuthenticationContextAccessType <SPOAuthenticationContextPolicyAccessType>]
3233
[-AuthenticationContextName <String>]
@@ -142,7 +143,7 @@ For permissions and the most current information about Windows PowerShell for Sh
142143

143144
For OneDrive for Business site collection, the only valid parameters are Identity, AllowDownloadingNonWebViewableFiles, AllowEditing, ConditionalAccessPolicy, DefaultLinkPermission, DefaultSharingLinkType, DisableCompanyWideSharingLinks, LimitedAccessFileType, LockState, Owner, SharingAllowedDomainList, SharingBlockedDomainList, SharingCapability, SharingDomainRestrictionMode, ShowPeoplePickerSuggestionsForGuestUsers, StorageQuota, and StorageWarningLevel.
144145

145-
For Groups site collection, the only valid parameters are Identity, AllowSelfServiceUpgrade, DefaultLinkPermission, DefaultSharingLinkType, DenyAddAndCustomizePages, DisableCompanyWideSharingLinks, DisableSharingForNonOwners, LockState, Owner, ResourceQuota, ResourceQuotaWarningLevel, SandboxedCodeActivationCapability, SharingCapability, ShowPeoplePickerSuggestionsForGuestUsers, SocialBarOnSitePagesDisabled, StorageQuota, StorageQuotaReset, and StorageQuotaWarningLevel.
146+
For Groups site collection, the only valid parameters are Identity, AllowSelfServiceUpgrade, DefaultLinkPermission, DefaultSharingLinkType, DenyAddAndCustomizePages, DisableCompanyWideSharingLinks, DisableSharingForNonOwners, LockState, Owner, ResourceQuota, ResourceQuotaWarningLevel, SandboxedCodeActivationCapability, SensitivityLabel, SharingCapability, ShowPeoplePickerSuggestionsForGuestUsers, SocialBarOnSitePagesDisabled, StorageQuota, StorageQuotaReset, and StorageQuotaWarningLevel.
146147

147148
## EXAMPLES
148149

@@ -363,6 +364,22 @@ Accept pipeline input: False
363364
Accept wildcard characters: False
364365
```
365366
367+
### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
368+
Enables or disables web property bag updates. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on the site collection.
369+
370+
PARAMVALUE: True | False
371+
372+
```yaml
373+
Type: Boolean
374+
Parameter Sets: (All)
375+
Applicable: SharePoint Online
376+
Required: False
377+
Position: Named
378+
Default value: False
379+
Accept pipeline input: False
380+
Accept wildcard characters: False
381+
```
382+
366383
### -Confirm
367384

368385
Prompts you for confirmation before running the cmdlet.

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

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Set-SPOTenant
7373
[-DefaultContentCenterSite <String>]
7474
[-DefaultLinkPermission <SharingPermissionType>]
7575
[-DefaultOneDriveInformationBarrierMode <String>]
76-
[-DefaultSharingLinkType <SharingLinkType>]
77-
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
76+
[-DefaultSharingLinkType <SharingLinkType>]
77+
[-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
7878
[-DelegateRestrictedAccessControlManagement <Boolean>]
7979
[-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
8080
[-DenySelectSecurityGroupsInSPSitesList [String[]]]
@@ -775,8 +775,7 @@ The valid values are:
775775
- True (default) - The Shared with Everyone folder is created.
776776
- False - No folder is created when the site and OneDrive for Business document library is created.
777777
778-
The default behavior of the Shared with Everyone folder changed in August 2015.
779-
For additional information about the change, see [Provision the Shared with Everyone folder in OneDrive for Business](https://support.office.com/article/Provision-the-Shared-with-Everyone-folder-in-OneDrive-for-Business-6bb02c91-fd0b-42ba-9457-3921cb6dc5b2).
778+
The default behavior of the Shared with Everyone folder changed in August 2015.
780779
781780
```yaml
782781
Type: Boolean
@@ -3025,18 +3024,17 @@ Accept pipeline input: False
30253024
Accept wildcard characters: False
30263025
```
30273026

3028-
### -DelayDenyAddAndCustomizePagesEnforcement
3027+
### -DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites
30293028

3030-
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
3029+
This parameter controls how SharePoint will deal with classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) where custom scripts are allowed.
30313030

30323031
The valid values are:
30333032

3034-
* False (default) - for site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed.
3033+
* False (default) - for classic publishing site collections where administrators enabled the ability to add custom script, SharePoint will revoke that ability within 24 hours from the last time this setting was changed.
30353034
* True - All changes performed by administrators to custom script settings are preserved.
30363035

30373036
> [!NOTE]
3038-
> This setting affects all sites. There are no options to preserve changes to custom script settings only on some specific sites. This parameter will be available until November 2024. After that time, administrators can still allow custom scripts on specific sites, but that change will be revoked automatically after up to 24 hours.
3039-
For more information, see [Allow or prevent custom script](/sharepoint/allow-or-prevent-custom-script).
3037+
> This setting affects all classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0). There are no options to preserve changes to custom script settings only on some specific sites.
30403038

30413039
```yaml
30423040
Type: Boolean
@@ -3768,8 +3766,7 @@ Accept wildcard characters: False
37683766
```
37693767

37703768
### -AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled
3771-
Enables or disables web property bag update when DenyAddAndCustomizePages is enabled. When AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled is set to $true, web property bag can be updated even if DenyAddAndCustomizePages is turned on when the user had AddAndCustomizePages (prior to DenyAddAndCustomizePages removing it).
3772-
3769+
Enables or disables web property bag updates in all sites in the tenant. When `AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled` is set to `$true`, the web property bag can be updated even if the Add And Customize Pages right is denied on a site collection.
37733770
PARAMVALUE: True | False
37743771

37753772
```yaml

0 commit comments

Comments
 (0)