PnpAlertsExport
2.0.1
PnPAlertsExport Module
----------------------
Exports SharePoint Online alert subscriptions to CSV with a rich, guided experience.
Features
• Auto‑register or consume an existing Entra ID App (with interactive wizard or fully scripted).
• Optional parallel processing with configurable throttle limits.
• Secure handling of PFX certificates (path or Base64) and
----------------------
Exports SharePoint Online alert subscriptions to CSV with a rich, guided experience.
Features
• Auto‑register or consume an existing Entra ID App (with interactive wizard or fully scripted).
• Optional parallel processing with configurable throttle limits.
• Secure handling of PFX certificates (path or Base64) and
PnPAlertsExport Module
----------------------
Exports SharePoint Online alert subscriptions to CSV with a rich, guided experience.
Features
• Auto‑register or consume an existing Entra ID App (with interactive wizard or fully scripted).
• Optional parallel processing with configurable throttle limits.
• Secure handling of PFX certificates (path or Base64) and Support for SecureString passwords.
• Verbose/Debug logging, transcript capture, and ContinueOnError for resilient runs.
Examples
# Interactive registration + full tenant scan
Export-Alerts -AutoRegister -Mode AllSites -UseParallel -Verbose
# Non‑interactive, existing app, single site
Export-Alerts -AppId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx `
-Tenant contoso.onmicrosoft.com `
-CertificatePath .\certs\alerts.pfx `
-CertificatePassword (ConvertTo-SecureString 'p@ssw0rd' -AsPlainText -Force) `
-SiteUrl https://contoso.sharepoint.com/sites/HR `
-Mode SingleSite `
Common Issues
• **Missing PnP.PowerShell v3.1.0** – the module will auto‑install, but ensure you run PowerShell 7+ and have internet access.
• **Insufficient AAD consent** – Global Admin must grant “Sites.FullControl.All” or similar scopes on Entra application.
• **Certificate errors** – check that your PFX path is correct and the cert is valid in your tenant.
• **Throttling/429 Errors** – tune -ThrottleLimit or add retry logic if you encounter service limits.
Show more
----------------------
Exports SharePoint Online alert subscriptions to CSV with a rich, guided experience.
Features
• Auto‑register or consume an existing Entra ID App (with interactive wizard or fully scripted).
• Optional parallel processing with configurable throttle limits.
• Secure handling of PFX certificates (path or Base64) and Support for SecureString passwords.
• Verbose/Debug logging, transcript capture, and ContinueOnError for resilient runs.
Examples
# Interactive registration + full tenant scan
Export-Alerts -AutoRegister -Mode AllSites -UseParallel -Verbose
# Non‑interactive, existing app, single site
Export-Alerts -AppId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx `
-Tenant contoso.onmicrosoft.com `
-CertificatePath .\certs\alerts.pfx `
-CertificatePassword (ConvertTo-SecureString 'p@ssw0rd' -AsPlainText -Force) `
-SiteUrl https://contoso.sharepoint.com/sites/HR `
-Mode SingleSite `
Common Issues
• **Missing PnP.PowerShell v3.1.0** – the module will auto‑install, but ensure you run PowerShell 7+ and have internet access.
• **Insufficient AAD consent** – Global Admin must grant “Sites.FullControl.All” or similar scopes on Entra application.
• **Certificate errors** – check that your PFX path is correct and the cert is valid in your tenant.
• **Throttling/429 Errors** – tune -ThrottleLimit or add retry logic if you encounter service limits.
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
All rights reserved.
Package Details
Author(s)
- Sam Larson
Tags
SharePoint PnP Alerts Export AdminCenter
Functions
PSEditions
Dependencies
-
- PnP.PowerShell (>= 3.1.0)
FileList
- PnpAlertsExport.nuspec
- GetWebAlertsFunctions.ps1
- PnpAlertsExport.psd1
- PnpAlertsExport.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.1 (current version) | 5 | 4/20/2025 |