Hi guy's,
I am trying to build a flow that will show me a summary of the licenses I have in my tenant. More importantly it needs to show me how many licenses i have as well as how many have been used.
What i have done is built an Azure App and then i run a GET using the tenant ID and secret
I then run a parse and a filter (in this case i am looking for how many E3 licenses i have). I then get this in the body
This shows me i have 509 of which 506 are in use. My question is: Is there a better way to do this in Flow or do i need to go down the PowerShell route? I have seen some posts about how they are using this method to get an alert when a particular license has none free. In my case i would like an on demand summary of licenses across my tenant.
If i am to use the above scenario, what would be the best way to extract that data to make it easily useable in variable that i can pop in an email?
Thanks,
David
I'm getting the following error:
To view the output of the HTTP action in a more meaningful way, paste the output into a JSON formatter such as Best JSON Viewer and JSON Beautifier Online (codebeautify.org)
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
Try the following which will get you the consumed units and prepaid units. Insert the correct SKU in the filter array action:
This is the output of the run:
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.