CmdID / PowerShell / Cmdlets / New
New-MgSubscription
Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 parameters
-AdditionalPropertiesAdditional Parameters-ApplicationIdOptional.-BodyParametersubscription To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-ChangeTypeRequired.-ClientStateOptional.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatorIdOptional.-EncryptionCertificateOptional.-EncryptionCertificateIdOptional.-ExpirationDateTimeRequired.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-IncludeResourceDataOptional.-LatestSupportedTlsVersionOptional.-LifecycleNotificationUrlRequired for Teams resources if the expirationDateTime value is more than 1 hour from now; optional otherwise.-NotificationQueryOptionsOptional.-NotificationUrlRequired.-NotificationUrlAppIdOptional.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResourceRequired.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.