turbot/azure_insights

Query: activedirectory_group_by_type

Usage

powerpipe query azure_insights.query.activedirectory_group_by_type

Steampipe Tables

SQL

select
case
when security_enabled then 'Security'
else 'Microsoft 365'
end as type,
count(*) as "Groups"
from
azuread_group
group by
type
order by
type;

Dashboards

The query is used in the dashboards: