Re: Get environment capacity using Power Platform for Admins (or other method)
For anyone that's interested, I found the solution to get that capacity data.
1. Using the 'Power Platform for Admins' connector, look for the 'List Environments as Admin' Action
2. Click Show Advanced Options on the action
3. In the Expand Properties box enter the following:
properties.capacity,properties.addons​​
It looks like this:

4. You can then add steps afterwards to use the output. You'll need to parse the JSON of the capacity property in order to pull out individual details (it looks like this):
[
{
"capacityType": "Database",
"actualConsumption": 2232.062,
"ratedConsumption": 2232.062,
"capacityUnit": "MB",
"updatedOn": "2021-09-16T01:27:45Z"
},
{
"capacityType": "File",
"actualConsumption": 3311.855,
"ratedConsumption": 3311.855,
"capacityUnit": "MB",
"updatedOn": "2021-09-16T01:27:45Z"
},
{
"capacityType": "Log",
"actualConsumption": 0.2265625,
"ratedConsumption": 0.2265625,
"capacityUnit": "MB",
"updatedOn": "2021-09-16T01:27:45Z"
}
]​
I assume you can do the same with the 'Get Environment as Admin' Action.
For reference, this tutorial helped me work out where I needed to make the changes: https://docs.microsoft.com/en-us/power-platform/admin/programmability-tutorial-create-daily-capacity-report