Forum Discussion
Matt_P_Standing
May 21, 2024Brass Contributor
No output for Invoke-MgGraphRequest for user presence
Hi All! I am experiencing some odd behaviour with a Invoke-MgGraphRequest and an Azure Runbook and could do with a nudge in the right direction. I am trying to report on my Teams presence usin...
- May 21, 2024
I managed to resolve myself using:
$Result = (Invoke-MgGraphRequest -method GET -Uri "https://graph.microsoft.com/v1.0/communications/presences/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")I was just missing the brackets! Thanks PowerShell!

Matt_P_Standing
May 21, 2024Brass Contributor
I managed to resolve myself using:
$Result = (Invoke-MgGraphRequest -method GET -Uri "https://graph.microsoft.com/v1.0/communications/presences/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
I was just missing the brackets! Thanks PowerShell! ![]()