Microsoft.Graph.ChangeNotifications
Microsoft Graph PowerShell Cmdlets
Microsoft.Graph.ChangeNotifications
Get-MgSubscription |
Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. Note To view the beta release of this cmdlet, view Get-MgBetaSubscription |
Invoke-MgReauthorizeSubscription |
Reauthorize a subscription when you receive a reauthorizationRequired challenge. Note To view the beta release of this cmdlet, view Invoke-MgBetaReauthorizeSubscription |
New-MgSubscription |
Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. Note To view the beta release of this cmdlet, view New-MgBetaSubscription |
Remove-MgSubscription |
Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. Note To view the beta release of this cmdlet, view Remove-MgBetaSubscription |
Update-MgSubscription |
Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. Note To view the beta release of this cmdlet, view Update-MgBetaSubscription |