powershell icon indicating copy to clipboard operation
powershell copied to clipboard

Add-PnPAlert adds only alert in classic layout

Open tollertenya opened this issue 1 year ago • 0 comments

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

  1. create Alert in Document library via GUI
  2. Add-PnPalert -list $library -User $user.LoginName -ChangeType All -Time (Get-Date -Hour 11 -Minute 00 -Second 00) -Frequency Immediate -Title "Alert PNP"
  3. 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

tollertenya avatar Jul 25 '24 15:07 tollertenya