powershell
powershell copied to clipboard
Add-PnPAlert adds only alert in classic layout
Reporting an Issue or Missing Feature
If you are using add-pnpAlert to get updates about changed documents the alert will be send out in classic layout like you know since SP2010. This layout has the bug to missformat some links and the documents can not be opened out from the alert.
If you create an alert from the SharePoint GUI the Alert will be send out in a modern layout and all links working fine.
Expected behavior
Create Alerts in same way/layout as when doing per GUI
Actual behavior
Alerts will be created and send out in classic layout with wrong formatted links if a space is included in folder name
Steps to reproduce behavior
- create Alert in Document library via GUI
- Add-PnPalert -list $library -User $user.LoginName -ChangeType All -Time (Get-Date -Hour 11 -Minute 00 -Second 00) -Frequency Immediate -Title "Alert PNP"
- Upload a document to library
What is the version of the Cmdlet module you are running?
2.5.0
Which operating system/environment are you running PnP PowerShell on?
- [x ] Windows