This is helpful to someone who's trying to obtain/maintain visibility into the admin users in an organization's M365 instance. This is a good Metric for QBRs, recurring site reviews, and an onboarding report. Also, this Metric could be used to build a user audit with the intention of an end customer confirming that all looks as expected. This Metric can also be used to create a pointed Actionable Alert that helps to maintain visibility into changes to this list.
Roles[? contains(displayName,
dmin
) && displayName !=
Company Administrator
&& Members[] !=
null
&& Members[] !=
[]
].join(
, [join(
, [
, to_string(displayName)]), join(
, [
:
, to_string(Members[].displayName)])])