< Back
Remove-GraphSubscription
Post
NAME Remove-GraphSubscription
SYNOPSIS
Removes a subscription object from Microsoft Graph API
SYNTAX
Remove-GraphSubscription [-Token] <AuthenticationResult> [-SubscriptionId] <String> [<CommonParameters>]
DESCRIPTION
Removes a subscription object from Microsoft Graph API
PARAMETERS
-Token <AuthenticationResult>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubscriptionId <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This is a preview/beta version. Please send any comments to jgs@coretech.dk
Developed by MVP Jakob Gottlieb Svendsen - jakob@runbook.guru - jgs@coretech.dk
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Token = Get-GraphAuthToken -AADTenant "runbookguru.onmicrosoft.com" -ClientId
"cdec3c46-b1cd-4ce7-859a-b6fac1ceafee" -RedirectUri "http://www.runbook.guru" -Credential (get-credential)
Remove-GraphSubscription -Token $Token -SubscriptionId "b539f640-7a5b-462e-960d-e7cb6a3460f6"
RELATED LINKS
http://graph.microsoft.io/
http://graph.microsoft.io/en-us/docs/ap ... scription/
http://graph.microsoft.io/en-us/docs/ap ... on_delete/
SYNOPSIS
Removes a subscription object from Microsoft Graph API
SYNTAX
Remove-GraphSubscription [-Token] <AuthenticationResult> [-SubscriptionId] <String> [<CommonParameters>]
DESCRIPTION
Removes a subscription object from Microsoft Graph API
PARAMETERS
-Token <AuthenticationResult>
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SubscriptionId <String>
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This is a preview/beta version. Please send any comments to jgs@coretech.dk
Developed by MVP Jakob Gottlieb Svendsen - jakob@runbook.guru - jgs@coretech.dk
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$Token = Get-GraphAuthToken -AADTenant "runbookguru.onmicrosoft.com" -ClientId
"cdec3c46-b1cd-4ce7-859a-b6fac1ceafee" -RedirectUri "http://www.runbook.guru" -Credential (get-credential)
Remove-GraphSubscription -Token $Token -SubscriptionId "b539f640-7a5b-462e-960d-e7cb6a3460f6"
RELATED LINKS
http://graph.microsoft.io/
http://graph.microsoft.io/en-us/docs/ap ... scription/
http://graph.microsoft.io/en-us/docs/ap ... on_delete/