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...
Showrunner
Aug 29, 2023Copper Contributor
Hello! I have never used Power Automate, but I follow step by step and I end up with a different flow than you show on your example. When I try to add an action after the first condition in "If Yes", it puts it inside of another "Apply to each". Besides this, I wanted to see if there is a ways to add another point besides the "composed last log in". I would like to include, if possible, the TotalUsageInHour less than X, like the report you get from Intune>Devices>Cloud PC Performance
JJGuirola
Microsoft
Sep 05, 2023following the steps as documented here should allow you to get the flow as presented in the doc. As for the TotalUsageinHour scenario, short answer is yes it should with the right GraphAPI and parsing calls. However, considering that we have this now natively available in Intune, I recommend leveraging the Intune admin console for that level of granularity. If you feel that there is still a need to have it as part of a custom solution, I would be curious to know your reasons. Thanks.
- Greg_ASep 07, 2023Iron Contributor
I used this article sort of as a starter to populate a sharepoint list with information. But total active usage like in the utilization report would be nice. I was inspecting the graph calls for this report, but it doesn't seem as easily available as some of these other api calls.
It's a POST call to https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/getTotalAggregatedRemoteConnectionReports
Maybe you can tell me where I can find the TotalUsageInHour attribute?