Discussion about this post

User's avatar
SD's avatar

Can it be used to retrieve all the deployment status for a proactive remediation?

Expand full comment
Jason Benway's avatar

Thank you for this script but I'm having issues connecting to the URL during the invoke-msgraphrequest.

error:

Invoke-MSGraphRequest : Cannot validate argument on parameter 'Url'. The provided URL is not valid - the URL may be a relative URL

At line:23 char:64

+ ... MEKResults = Invoke-MSGraphRequest -HttpMethod GET -Url $TPMInvokeURL

+ ~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (:) [Invoke-MSGraphRequest], ParameterBindingValidationException

+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets.InvokeRequest

Thank you

Expand full comment
2 more comments...

No posts