Skip to content

Commit

Permalink
Merge branch 'pnp:dev' into unlockrecord
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmee011 authored Dec 23, 2024
2 parents 613609c + 768ce14 commit 7248065
Show file tree
Hide file tree
Showing 9 changed files with 2,097 additions and 2,136 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Removed `Set-PnPMinimalDownloadStrategy` as it's not applicable anymore to SharePoint Online. If you need the functionality you can always turn on the feature with `Enable-PnPFeature -Id 87294c72-f260-42f3-a41b-981a2ffce37a` or turn it off with `Disable-PnPFeature -Id 87294c72-f260-42f3-a41b-981a2ffce37a`
- Removed `-SPOManagementShell` parameter from `Connect-PnPOnline` cmdlet. It reduces the risk of changes coming from Microsoft. Use your own Entra ID app instead.
- Removed `Set-PnPTraceLog` cmdlet and introduced `Start-PnPTraceLog` and `Stop-PnPTraceLog` with similar parameters.
- Removed `-DelayDenyAddAndCustomizePagesEnforcement` parameter from `Set-PnPTenant` cmdlet as it is no longer valid , removed from underlying SDK and its value can't be changed.
- Removed `-EnableVersionExpirationSetting` parameter from `Set-PnPTenant` cmdlet as it is now enabled by default.

### Contributors

Expand Down
8 changes: 4 additions & 4 deletions dependencies.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Updated": "20241218-024853",
"PnPPowerShell": "614fc0de671cf0dab5f92c2ec4b528dc39158ab9",
"PnPFramework": "af52c5fdc25b6640c0dea0eaebcf9138e364de02",
"PnPCore": "b960b12c188b936c43e846e2774a629969a016a1"
"Updated": "20241223-024530",
"PnPPowerShell": "19140d8159f471b1ed8eac673f5a7cc08c8b17b0",
"PnPFramework": "94823d4fa972a70defc24abfdc2dde842f4eef46",
"PnPCore": "9dd8b9c7f5f3febfd39ebecfffde4ea79528f7c4"
}
12 changes: 9 additions & 3 deletions documentation/Set-PnPFileCheckedIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Checks in a file.
## SYNTAX

```powershell
Set-PnPFileCheckedIn [-Url] <String> [-CheckInType <CheckInType>] [-Comment <String>] [-Approve]
[-Connection <PnPConnection>]
Set-PnPFileCheckedIn -Url <String> [-CheckInType <CheckInType>] [-Comment <String>] [-Approve] [-Connection <PnPConnection>]
```

## DESCRIPTION
Expand All @@ -29,10 +28,17 @@ This cmdlet checks in a single file, optionally with a comment.
Set-PnPFileCheckedIn -Url "/Documents/Contract.docx"
```

Checks in the file "Contract.docx" in the "Documents" library
Checks in the file "Contract.docx" in the "Documents" library located in the root site collection

### EXAMPLE 2
```powershell
Set-PnPFileCheckedIn -Url "/sites/news/Documents/Article.docx"
```

Checks in the file "Article.docx" in the "Documents" library located in the site collection called news

### EXAMPLE 3
```powershell
Set-PnPFileCheckedIn -Url "/Documents/Contract.docx" -CheckInType MinorCheckIn -Comment "Smaller changes"
```

Expand Down
34 changes: 0 additions & 34 deletions documentation/Set-PnPTenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ Set-PnPTenant [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>
[-EnableSensitivityLabelForPDF <Boolean>]
[-IsDataAccessInCardDesignerEnabled <Boolean>]
[-CoreSharingCapability <SharingCapabilities>]
[-EnableVersionExpirationSetting <Boolean>]
[-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
[-AllowOverrideForBlockUserInfoVisibility <Boolean>]
[-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
Expand All @@ -159,7 +158,6 @@ Set-PnPTenant [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>
[-CoreDefaultShareLinkRole <Role>]
[-GuestSharingGroupAllowListInTenantByPrincipalIdentity <string[]>]
[-OneDriveSharingCapability <SharingCapabilities>]
[-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
[-SelfServiceSiteCreationDisabled <Boolean>]
[-SyncAadB2BManagementPolicy]
Expand Down Expand Up @@ -455,25 +453,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DelayDenyAddAndCustomizePagesEnforcement
This parameter controls how SharePoint will deal with sites where custom scripts are allowed.
The valid values are:
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.
True - All changes performed by administrators to custom script settings are preserved.
```yaml
Type: Boolean
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -DisableBackToClassic
Disables the back to classic link for libraries and lists.
Expand Down Expand Up @@ -2482,19 +2461,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -EnableVersionExpirationSetting
Sets intelligent version deleting options and default organization limits.

```yaml
Type: Boolean
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -BlockUserInfoVisibilityInOneDrive
Blocks users from accessing User Info if they have Limited Access permission only to the OneDrive. The policy applies to all OneDrives in the organization.

Expand Down
Loading

0 comments on commit 7248065

Please sign in to comment.