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...
Jay_Shark
Sep 05, 2023Copper Contributor
When I try to enter URI: https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs? $select=userprincipalname,id,displayName,managedDeviceName,Status,imageDisplayName,lastModifiedDateTime,lastRemoteActionResult,lastLoginResult
I get error message saying: Enter a valid uri. What am I doing wrong.
JJGuirola
Microsoft
Sep 05, 2023looks like you are copying and pasting the URI directly from the document, which is good and looks correct. If you haven't already, I would suggest trying that URI in MS Graph explorer: https://developer.microsoft.com/en-us/graph/graph-explorer. See if you are able to retrieve the necessary information using the graph directly.