Skip to content

New command: graph subscription add #1100

@garrytrinder

Description

@garrytrinder

graph subscription add [options]

Subscribes a listener application to receive notifications when the requested type of changes occur to the specified resource in Microsoft Graph.

Options
-r, --resource <resource> The resource that will be monitored for changes
-c, --changeType <changeType> The type of change(s) in the monitored resource that will raise a notification. Allowed values are created updated deleted
-u, --notificationUrl <notificationUrl> The URL that will receive the notifications
-e, --expirationDateTime [datetime] When the webhook subscription expires. Will be set to maximum value for resource if not provided
-s, --clientState [clientState] A client state value sent in each notification

More information: https://docs.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions