Skip to content

New command: spo site alert get #6862

@milanholemans

Description

@milanholemans

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/ServerRelativeUrl

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions