You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
81
81
82
82
### Removed
83
83
84
+
- Removed `-UseWebLogin` option on `Connect-PnPOnline`. It used a very old, questionable approach to authentication. Use `-Interactive` or if you require an ACS connection `-ClientId` and `-ClientSecret`
84
85
- Removed `Invoke-PnPTransformation` cmdlet as it was never supported.
85
86
- Removed `Publish-PnPCompanyApp` cmdlet as it was not supported anymore. [#4387](https://github.com/pnp/powershell/pull/4387)
86
87
- Removed `-UserVoiceForFeedbackEnabled` parameter from `Set-PnPTenant` cmdlet as it was obsolete. [#4387](https://github.com/pnp/powershell/pull/4387)
Copy file name to clipboardExpand all lines: MIGRATE-2.0-to-3.0.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,18 +49,17 @@ Recommend referring to these 2 links:
49
49
| Set-PnPLabel | Use `Set-PnPRetentionLabel`|
50
50
| Reset-PnPLabel | Use `Reset-PnPRetentionLabel`|
51
51
| Add-PnPTeamsChannel | The parameter `IsFavoriteByDefault` has been removed as it was not supported by Graph API |
52
-
| Get-PnPAppAuthAccessToken |It has been removed. Use `Get-PnPAccessToken -ResourceTypeName SharePoint` instead to get SharePoint access token. |
53
-
| Request-PnPAccessToken |It has been removed. Use `Get-PnPAccessToken` instead. |
54
-
| Get-PnPGraphAccessToken |It has been removed. Use `Get-PnPAccessToken` instead. |
52
+
| Get-PnPAppAuthAccessToken |This cmdlet has been removed. Use `Get-PnPAccessToken -ResourceTypeName SharePoint` instead to get SharePoint access token. |
53
+
| Request-PnPAccessToken |This cmdlet has been removed. Use `Get-PnPAccessToken` instead. |
54
+
| Get-PnPGraphAccessToken |This cmdlet has been removed. Use `Get-PnPAccessToken` instead. |
55
55
| Remove-PnPUser | The parameter `-Confirm` has been removed. Use `-Force` instead. |
56
56
| Remove-PnPAvailableSiteClassification | The parameter `-Confirm` has been removed. Use `-Force` instead. |
57
57
| Send-PnPMail | It now throws a warning about the [retirement of SharePoint SendEmail API](https://devblogs.microsoft.com/microsoft365dev/retirement-of-the-sharepoint-sendemail-api/), if you are sending mails via SharePoint. To ignore the warning, use `-ErrorAction SilentlyContinue` along side the cmdlet. Recommendation is to use `Send-PnPMail` with [Microsoft Graph](https://pnp.github.io/powershell/cmdlets/Send-PnPMail.html#send-through-microsoft-graph)|
58
58
| Send-PnPMail | The support for sending mails via SMTP servers is now removed. It is the recommendation of .NET as SMTP doesn't support modern protocols. So, the parameters `-EnableSSL` , `-UserName`, `-Password`, `-Server ` and `-ServerPort` are now removed. Use `Send-PnPMail` with [Microsoft Graph](https://pnp.github.io/powershell/cmdlets/Send-PnPMail.html#send-through-microsoft-graph)|
59
-
| Invoke-PnPTransformation | It has been removed. Was never supported. |
59
+
| Invoke-PnPTransformation | It has been removed. It was never supported nor fully implemented. |
60
60
| Get-PnPSharingLink | The parameter `-FileUrl` has been removed. It was marked obsolete. Use `-Identity` instead. |
61
61
| Remove-PnPNavigationNode | The parameters `-Title` and `-Header` have been removed. They were marked obsolete. Use `-Identity` instead. |
62
-
| Connect-PnPOnline | The parameter `-WebLogin` has been removed. It was marked obsolete and was a security risk. Use `-Interactive` or `-OSLogin` or `-DeviceLogin` instead. |
63
-
62
+
| Connect-PnPOnline |Removed `-UseWebLogin` on `Connect-PnPOnline`. It used a very outdated and questionable (reusing an auth cookie) authentication method which implementation broke easily. If you require an ACS connection for certain functionality, consider using `-ClientId` in combination with `-ClientSecret` instead.
0 commit comments