Forum Discussion
JJGuirola
Microsoft
Mar 02, 2023How to Automate Windows 365 Cloud PC Last Login monitoring!
Automate Windows 365 Cloud PC Last Login monitoring!
(Windows 365, Azure Active Directory, Power Automate, MS Graph)
Contributors:
Juan José Guirola Sr. (Next Generation Endpoint GBB for Am...
Dawn M Wertz
Mar 20, 2023Brass Contributor
hello. Thank you for the article. We are not licensed for Power Automate, so I am attempt to do these steps in PowerShell. when I tested the connections in the Graph Explorer, I do not see the lastRemoteActionResult and lastLoginResult properties on the https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs?
In Graph Explorer, when i run a query of all Cloud PCs these properties are not returned. I tried running
https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs?$select=userprincipalname,id,managedDeviceName,lastRemoteActionResult,lastLoginResult
and the lastLoginResult and lastRemoteActionResult is null for all items.
do you have any advice on how to pull the information?
In Graph Explorer, when i run a query of all Cloud PCs these properties are not returned. I tried running
https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs?$select=userprincipalname,id,managedDeviceName,lastRemoteActionResult,lastLoginResult
and the lastLoginResult and lastRemoteActionResult is null for all items.
do you have any advice on how to pull the information?