Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-PnPAlert adds only alert in classic layout #4115

Open
tollertenya opened this issue Jul 25, 2024 · 0 comments
Open

Add-PnPAlert adds only alert in classic layout #4115

tollertenya opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tollertenya
Copy link

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 tollertenya added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant