< Back

Get-GraphSubscription

Sat Jan 18, 2020 4:10 pm

NAME Get-GraphSubscription



SYNOPSIS

Gets a subscription object from Microsoft Graph API





SYNTAX

Get-GraphSubscription [-Token] <AuthenticationResult> [-SubscriptionId] <String> [<CommonParameters>]





DESCRIPTION

Gets 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)



Get-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 ... ption_get/





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Invoke-GraphGet; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Invoke-GraphGet [[-Token] <Object>] [[-url] <Object>] [[-Body] <Object>] [[-customHeaders]

<Object>] [-All] [<CommonParameters>]



ModuleName : MicrosoftGraphAPI

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Invoke-GraphGet

Category : Function

Component :

Role :

Functionality :