The metric query is designed to provide the percentage of total drive storage remaining for each tenant within Microsoft 365. This allows administrators to monitor storage usage effectively across different tenants, helping to ensure that storage limits are not exceeded and that there is sufficient space available for ongoing operations. By using this query, you can gain valuable insights into storage consumption patterns, identify tenants that may be approaching their storage capacity, and take proactive measures to manage resources efficiently.
``
percent_of(sum(drives[].quota.remaining), sum(drives[].quota.total))
``