Skip to content

Commit afbcf7e

Browse files
authored
Merge branch 'dev' into Issue2986
2 parents f2f528f + 894f30f commit afbcf7e

18 files changed

+4469
-4486
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
2121
- Fixed issue with `Grant-PnPAzureADAppSitePermission` cmdlet where users are not able to set selected site in the `Sites.Selected` permission. [#2983](https://github.com/pnp/powershell/pull/2983)
2222
- Fixed issue with `Get-PnPList` cmdlet not working with site-relative URL as identity. [#3005](https://github.com/pnp/powershell/pull/3005)
2323
- Fixed issue with `Add-PnPNavigationNode` cmdlet where the target audience would not correctly be set when creating a node as a child of a parent node [#2940](https://github.com/pnp/powershell/pull/2940)
24+
- Fixed regressions within the following cmdlets `Get-PnPTenantCdnEnabled`, `Get-PnPTenantCdnOrigin`, `Get-PnPTenantCdnPolicies`, `Get-PnPTenantDeletedSite`, `Get-PnPTenantInstance` [#3030](https://github.com/pnp/powershell/pull/3030)
25+
- Fixed issue where `Add-PnPSiteCollectionAdmin -PrimarySiteCollectionAdmin <user>` would require owners to be specified as well. [#3035](https://github.com/pnp/powershell/pull/3035)
2426

2527
### Removed
2628

README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ Last version | Last nightly version
88

99
This module is a successor of the [PnP-PowerShell](https://github.com/pnp/pnp-powershell) module. The original cmdlets only work on Windows and Windows PowerShell and supports SharePoint On-Premises (2013, 2016 and 2019) and SharePoint Online. This version of the cmdlets is cross-platform (i.e it works on Windows, MacOS and Linux) but it will only support SharePoint Online. Going forward we will only be **actively maintaining the cross-platform PnP PowerShell** module.
1010

11-
For more information about installing or upgrading to this module, please refer to the documentation at https://pnp.github.io/powershell/articles/index.html
11+
For more information about installing or upgrading to this module, please refer to [the documentation](https://pnp.github.io/powershell/articles/index.html).
1212

1313
## IMPORTANT - New PnP PowerShell 2.x
1414

15-
As the technologies behind PowerShell evolve, so will the PnP PowerShell module.
16-
Since Microsoft is not supporting .NET 3.1 since December 2022, and .NET Framework not actively developed (and not cross platform), we are currently working on PnP PowerShell 2.x.
15+
As the technologies behind PowerShell evolve, so will the PnP PowerShell module. Microsoft is no longer supporting .NET 3.1 since December 2022, and .NET Framework is not actively being developed anymore. It is also not cross platform. PnP PowerShell 2.x will therefore no longer support PowerShell 5.1 nor the ISE. 
1716

18-
Therefore, **this new version going forward will not support PowerShell 5.1 nor the ISE**
19-
20-
PnP PowerShell 2.x is already available should you wish to update now, and we have created a [guide](https://github.com/pnp/powershell/blob/dev/MIGRATE-1.0-to-2.0.md) for that purpose. If you are still using PowerShell 5.1 or the ISE, and want to use the latest major or nightly release, you will need to specify the required version like below: 
17+
We have created a [guide](https://github.com/pnp/powershell/blob/dev/MIGRATE-1.0-to-2.0.md) for upgrading from previous versions to PnP PowerShell 2.x. If you are still using PowerShell 5.1 or the ISE, and want to use the latest major or nightly release, you will need to specify the required version like below: 
2118

2219
`Install-Module PnP.PowerShell -RequiredVersion 1.12.0 -Force`
2320

@@ -32,9 +29,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
3229

3330

3431
<img src="https://m365-visitor-stats.azurewebsites.net/pnp-powershell/readme" />
35-
36-
37-
## Updating from 1.x to 2.x
38-
39-
Please refer to [this page](MIGRATE-1.0-to-2.0.md) while performing an update from your 1.x version to 2.x version of PnP PowerShell.
40-

documentation/Add-PnPSiteCollectionAdmin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This will add all users with their title ending with "Doe" as additional seconda
4646

4747
### EXAMPLE 4
4848
```powershell
49-
Add-PnPSiteCollectionAdmin -PrimarySiteCollectionAdminrs "user@contoso.onmicrosoft.com"
49+
Add-PnPSiteCollectionAdmin -PrimarySiteCollectionAdmin "user@contoso.onmicrosoft.com"
5050
```
5151

5252
This will set user@contoso.onmicrosoft.com as the primary site collection administrator of the site collection in the current context
@@ -74,7 +74,7 @@ Specifies owner(s) to add as site collection administrators. They will be added
7474
Type: System.Collections.Generic.List`1[PnP.PowerShell.Commands.Base.PipeBinds.UserPipeBind]
7575
Parameter Sets: (All)
7676

77-
Required: True
77+
Required: False
7878
Position: Named
7979
Default value: None
8080
Accept pipeline input: True (ByValue)

documentation/Get-PnPAzureACSPrincipal.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ Returns the Azure ACS principals
3939
Get-PnPAzureACSPrincipal -IncludeSubsites
4040
```
4141

42-
Returns the lists of Azure ACS principals installed in your site collection as well as the subsites.
42+
Returns the lists of Azure ACS principals installed in your site collection as well as the subsites. The ValidUntil property will not be populated in this scenario.
4343

4444
### EXAMPLE 3
4545
```powershell
4646
Get-PnPAzureACSPrincipal -Scope Tenant
4747
```
4848

49-
Returns the lists of Azure ACS principals installed in your Tenant.
49+
Returns the lists of Azure ACS principals installed in your Tenant. This a very heavy operation, so it might take some time before we get the results.
5050

5151
### EXAMPLE 4
5252
```powershell
@@ -74,6 +74,7 @@ Accept wildcard characters: False
7474
### -Scope
7575
When specified, it determines the scope of the Azure ACS principals.
7676
Supported values are `List, Web, Site, Tenant , All`.
77+
Only with `Tenant` and `All` the `ValidUntil` property will be populated. For the other options it will not, this is by design and makes the cmdlet perform faster.
7778

7879
```yaml
7980
Type: Enum (AzureACSPrincipalScope)
@@ -101,5 +102,3 @@ Accept wildcard characters: False
101102
## RELATED LINKS
102103

103104
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)
104-
105-

documentation/Get-PnPUserProfileProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Get-PnPUserProfilePrope
1515

1616
* SharePoint: Access to the SharePoint Tenant Administration site
1717

18-
You must connect to the tenant admin website (https://:<tenant>-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.
18+
You must connect to the tenant admin website (https://\<tenant\>-admin.sharepoint.com) with Connect-PnPOnline in order to use this cmdlet.
1919

2020
## SYNTAX
2121

documentation/Set-PnPUserProfileProperty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ online version: https://pnp.github.io/powershell/cmdlets/Set-PnPUserProfilePrope
1515

1616
* SharePoint: Access to the SharePoint Tenant Administration site
1717

18-
Office365 only: Uses the tenant API to retrieve site information. You must connect to the tenant admin website (https://:<tenant>-admin.sharepoint.com) with Connect-PnPOnline in order to use this command.
18+
Office365 only: Uses the tenant API to retrieve site information. You must connect to the tenant admin website (https://\<tenant\>-admin.sharepoint.com) with Connect-PnPOnline in order to use this command.
1919

2020
## SYNTAX
2121

pages/articles/vscodeextension.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Visual Studio Code Extension
22

3-
If you like using Visual Studio Code for the development of your PnP PowerShell scripts, you might want to try the PnP PowerShell extension which is available for it. It provides various features to be helpful when creating scripts using PnP PowerShell.
3+
If you like using Visual Studio Code to develop your PnP PowerShell scripts, you might want to try the PnP PowerShell extension to boost your productivity. It provides various features that may be helpful when creating scripts using PnP PowerShell.
44

5-
Currently the extension provides:
5+
Currently, the extension provides the following:
66

7-
1. docs viewer inside VS Code
8-
1. samples gallery
9-
1. snippets with all possible commands
7+
1. full docs for every PnP PowerShell command directly in VS Code
8+
2. samples gallery with samples from [PnP script sample repo](https://pnp.github.io/script-samples/)
9+
3. snippets with all possible commands
1010

11-
Check out the [PnP PowerShell Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=adamwojcikit.pnp-powershell-extension) page for more information and downloading it.
11+
Check out the [PnP PowerShell Visual Studio Code Extension](https://marketplace.visualstudio.com/items?itemName=adamwojcikit.pnp-powershell-extension) page for more information.

pnpframework_hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7a2cad4934e9b943150158ddb04c4b61676d7268
1+
eed6662f07ce5191ecd8dd725404c5c4ddff43b1

pnppowershell_hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
82e7e513cc36b80fe010a6c5c8860f3a28e03ecf
1+
2a4f7eef794b28a9f518bf0bff6bf11474ad5827

0 commit comments

Comments
 (0)