Skip to content

Commit 4772b14

Browse files
committed
update to include removal of -UseWebLogin
1 parent 013b473 commit 4772b14

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CHANGELOG.md

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

8282
### Removed
8383

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`
8485
- Removed `Invoke-PnPTransformation` cmdlet as it was never supported.
8586
- Removed `Publish-PnPCompanyApp` cmdlet as it was not supported anymore. [#4387](https://github.com/pnp/powershell/pull/4387)
8687
- Removed `-UserVoiceForFeedbackEnabled` parameter from `Set-PnPTenant` cmdlet as it was obsolete. [#4387](https://github.com/pnp/powershell/pull/4387)

MIGRATE-2.0-to-3.0.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,17 @@ Recommend referring to these 2 links:
4949
| Set-PnPLabel | Use `Set-PnPRetentionLabel` |
5050
| Reset-PnPLabel | Use `Reset-PnPRetentionLabel` |
5151
| 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. |
5555
| Remove-PnPUser | The parameter `-Confirm` has been removed. Use `-Force` instead. |
5656
| Remove-PnPAvailableSiteClassification | The parameter `-Confirm` has been removed. Use `-Force` instead. |
5757
| 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) |
5858
| 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. |
6060
| Get-PnPSharingLink | The parameter `-FileUrl` has been removed. It was marked obsolete. Use `-Identity` instead. |
6161
| 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.
6463

6564

6665
## Other notable changes

0 commit comments

Comments
 (0)