pnp/cli-microsoft365

New command: `spo web alert get`

Open

#6.862 geöffnet am 26. Aug. 2025

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)TypeScript (399 Forks)auto 404
good first issuehelp wantednew feature

Repository-Metriken

Stars
 (1.390 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Usage

m365 spo web alert get [options]

Description

Retrieves details of a specific alert from a SharePoint site list

Options

Option Description
-u, --webUrl <webUrl> The URL of the SharePoint site.
--id <id> The ID of the alert.

Examples

Get details of an alert by ID:

m365 spo web alert get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e

Default properties

No response

Additional Info

API request

GET https://contoso.sharepoint.com/sites/Marketing/_api/Web/Alerts/GetById('<alert id>')?$expand=List,User,List/Rootfolder&$select=*,List/Id,List/Title,List/Rootfolder/ServerRelativeUrl

Contributor Guide