Skip to content

Commit 4cdc6d3

Browse files
authored
Merge branch 'dev' into feature/import-flow
2 parents 021488f + aae2430 commit 4cdc6d3

File tree

14 files changed

+3653
-3652
lines changed

14 files changed

+3653
-3652
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
1515

1616
### Changed
1717
- Improved `Get-PnPTerm` cmdlet to show a better error message. [#4933](https://github.com/pnp/powershell/pull/4933)
18+
- **PnP PowerShell is now requires PowerShell 7.4.0 or newer**
1819

1920
### Fixed
2021
- Fix `Set-PnPView -Aggregations` parameter not showing aggregations in SharePoint online. [#4868](https://github.com/pnp/powershell/pull/4868)

MIGRATE-2.0-to-3.0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Updating from PnP PowerShell 2.x to 3.x
22

3-
The 3.x version of PnP PowerShell is based exclusively on .NET 8.0, which means that it will not work on older PowerShell editions like PowerShell 5.1, ISE or PowerShell 7.3 or older. It will work only on **PowerShell 7.4.6 or later editions.**
3+
The 3.x version of PnP PowerShell is based exclusively on .NET 8.0, which means that it will not work on older PowerShell editions like PowerShell 5.1, ISE or PowerShell 7.3 or older. It will work only on **PowerShell 7.4.0 or later editions.**
44

55
## Steps to update from 2.x to 3.x
66

@@ -14,7 +14,7 @@ Or
1414

1515
- For Mac OS environments, please use [this link](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos)
1616

17-
Once PowerShell 7.4.6 or later is downloaded and installed in your environment, you can install the PnP PowerShell module like you normally do.
17+
Once PowerShell 7.4.0 or later is downloaded and installed in your environment, you can install the PnP PowerShell module like you normally do.
1818

1919
```powershell
2020
Install-Module -Name "PnP.PowerShell"
@@ -28,7 +28,7 @@ Install-Module -Name "PnP.PowerShell" -AllowPrerelease
2828

2929
## Changes needed in Azure DevOps/GitHub Actions/Pipelines
3030

31-
If you are using PnP PowerShell in Azure Devops, GitHub Actions or other pipeline infrastructure, you will have to update your PowerShell version from v5 or v7.2.x to v7.4.6 or later.
31+
If you are using PnP PowerShell in Azure Devops, GitHub Actions or other pipeline infrastructure, you will have to update your PowerShell version from v5 or v7.2.x to v7.4.0 or later.
3232

3333
Recommend reading these 2 links:
3434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For more information about installing or upgrading to this module, please refer
1414

1515
## IMPORTANT - New PnP PowerShell 3.x
1616

17-
We released a new major version of PnP PowerShell, version 3 and upwards. This version of PnP PowerShell requires as of today PowerShell 7.4.6 or newer, and is based upon .NET 8.0.
17+
We released a new major version of PnP PowerShell, version 3 and upwards. This version of PnP PowerShell requires as of today PowerShell 7.4.0 or newer, and is based upon .NET 8.0.
1818

1919
We have created a [guide](https://github.com/pnp/powershell/blob/dev/MIGRATE-2.0-to-3.0.md) for upgrading from previous versions to PnP PowerShell 3.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: 
2020

build/Build-Debug.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ if ($LASTEXITCODE -eq 0) {
172172
Author = 'Microsoft 365 Patterns and Practices'
173173
CompanyName = 'Microsoft 365 Patterns and Practices'
174174
CompatiblePSEditions = @('Core')
175-
PowerShellVersion = '7.4.6'
175+
PowerShellVersion = '7.4.0'
176176
ProcessorArchitecture = 'None'
177177
FunctionsToExport = '*'
178178
CmdletsToExport = @($cmdletsString)

build/Build-Nightly.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ if ($runPublish -eq $true) {
163163
GUID = '0b0430ce-d799-4f3b-a565-f0dca1f31e17'
164164
Author = 'Microsoft 365 Patterns and Practices'
165165
CompanyName = 'Microsoft 365 Patterns and Practices'
166-
PowerShellVersion = '7.4.6'
166+
PowerShellVersion = '7.4.0'
167167
ProcessorArchitecture = 'None'
168168
FunctionsToExport = '*'
169169
CmdletsToExport = @($cmdletsString)

build/Build-Release.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if ($LASTEXITCODE -eq 0) {
9696
Author = 'Microsoft 365 Patterns and Practices'
9797
CompanyName = 'Microsoft 365 Patterns and Practices'
9898
CompatiblePSEditions = @('Core')
99-
PowerShellVersion = '7.4.6'
99+
PowerShellVersion = '7.4.0'
100100
ProcessorArchitecture = 'None'
101101
FunctionsToExport = '*'
102102
CmdletsToExport = @($cmdletsString)

dependencies.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"Updated": "20250529-030001",
3-
"PnPPowerShell": "2a72db6c17ed1d810d4780b8a722fac0c8c56c8b",
4-
"PnPFramework": "1766dd9958dc1e3a8a4aabd3f5f23460b171d136",
5-
"PnPCore": "9833e136c85f197966cb98def3fc699b9214a8a8"
2+
"Updated": "20250606-025945",
3+
"PnPPowerShell": "9fa3fb78e8ac8fa568f671993481e9d92beaac4d",
4+
"PnPFramework": "80625626d66bb4d16e74bb5a3a91eb707430f16f",
5+
"PnPCore": "0d7e8a4c17034491f8d4c80f4621c62ea24b437c"
66
}

pages/articles/acsdeprecation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Simple: replace them with a proper Entra ID Application Registration.
1010

1111
If the `_layouts/apprenew.aspx` was done in December 2024 or later, it will already [have created an Entra ID Application registration](https://learn.microsoft.com/sharepoint/dev/sp-add-ins/add-ins-and-azure-acs-retirements-faq#when-i-use-appregnewaspx-the-created-acs-principals-show-up-in-entra) for you. To validate this, simply take the Client ID/App Id of your application, go to [Entra ID](https://entra.microsoft.com), navigate to Identity > Applications > App registrations, click on the "All applications" tab and search for your Client ID/App ID. If it yields a result, it means your application also exists in Entra ID. If you go into the Entra ID Application registration and click on API permissions you will likely see no permissions being added to it. This is a clear indicator that this application registration has been done through `_layouts/appregnew.aspx` in or after December 2024, that it created an Entra ID Application registration counterpart, but that it still leverages ACS for its authentication. Add the required permissions here to ensure you can use this Entra ID Application registraton going forward.
1212

13-
If you cannot find an entry in Entra ID with the same Client ID/App ID, it means the `_layouts/appregnew.aspx` operation has been done before December 2024 and no entry exists for it yet in Entra ID. You can [manually create your own new Entra ID Application registration](registerapplication.md#manually-create-an-app-registration-for-interactive-login) or use [Register-PnPAzureADApp](Register-PnPAzureADApp.html#example-7) to create one for you.
13+
If you cannot find an entry in Entra ID with the same Client ID/App ID, it means the `_layouts/appregnew.aspx` operation has been done before December 2024 and no entry exists for it yet in Entra ID. You can [manually create your own new Entra ID Application registration](registerapplication.md#manually-create-an-app-registration-for-interactive-login) or use [Register-PnPAzureADApp](../cmdlets/Register-PnPAzureADApp.md#example-7) to create one for you.
1414

1515
## How to I find out about which ACS Application Registrations my tenant has
1616

@@ -51,7 +51,7 @@ The above example again would map to:
5151

5252
- Sites.Selected
5353

54-
Use [Grant-PnPAzureADAppSitePermission](Grant-PnPAzureADAppSitePermission.md) to set FullControl permissions on it.
54+
Use [Grant-PnPAzureADAppSitePermission](../cmdlets/Grant-PnPAzureADAppSitePermission.md) to set FullControl permissions on it.
5555

5656
## What do I need to change in my code?
5757

pages/articles/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installing PnP PowerShell
22

3-
You need PowerShell 7.4.6 or later to use PnP PowerShell. It is available for Windows, Linux and Mac and can be [installed through here](https://learn.microsoft.com/powershell/scripting/install/installing-powershell).
3+
You need PowerShell 7.4.0 or later to use PnP PowerShell. It is available for Windows, Linux and Mac and can be [installed through here](https://learn.microsoft.com/powershell/scripting/install/installing-powershell).
44

55
## Stable build
66

@@ -34,7 +34,7 @@ docker run -it m365pnp/powershell
3434

3535
# Updating PnP PowerShell
3636

37-
If you already have PnP PowerShell installed and just want to update to the latest version you can follow these steps. If you're not sure if your version is already up to date, it does no harm to run it anyway. If there's no new version available, it will not do anything. You need PowerShell 7.4.6 or later to use PnP PowerShell. It is available for Windows, Linux and Mac and can be [installed through here](https://learn.microsoft.com/powershell/scripting/install/installing-powershell).
37+
If you already have PnP PowerShell installed and just want to update to the latest version you can follow these steps. If you're not sure if your version is already up to date, it does no harm to run it anyway. If there's no new version available, it will not do anything. You need PowerShell 7.4.0 or later to use PnP PowerShell. It is available for Windows, Linux and Mac and can be [installed through here](https://learn.microsoft.com/powershell/scripting/install/installing-powershell).
3838

3939
## Stable build
4040

0 commit comments

Comments
 (0)