-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Description
Usage
m365 spo site 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 site 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/ServerRelativeUrlJwaegebaert