Zum Inhalt springen
Search the hub

← All suppliers

Workplace

Microsoft Exchange

Mail/calendar meta: mailbox, message and event meta, distribution groups — Graph load; no mail bodies or attachments.

Templates only — grain, filters, custom fields and ownership are firm-specific.

Copy formulas into the KPI Definition Card, then adapt grain and filters.

Example

Mailboxes active

How many user mailboxes are active (snapshot)?

COUNT(*) FROM mailbox WHERE recipientTypeDetails = 'UserMailbox'
Grain
Active user mailbox
Fields
Mailbox.id, Mailbox.recipientTypeDetails
Dimensions
mailbox_type, department

Filter UserMailbox; count shared/room separately.

Adapt: Optional: only mailboxes with mail activity in the period.

Example

Emails sent (meta count)

How many emails were sent in the period (meta count)?

COUNT(*) FROM mail_item_meta WHERE folder = 'SentItems' AND sentDateTime IN period
Grain
Sent message (meta)
Fields
MailItemMeta.id, MailItemMeta.receivedDateTime, MailItemMeta.size
Dimensions
mailbox_type, department

Meta count only; no body read needed for volume KPI.

Adapt: Separate internal vs external mail via domain comparison.

Meetings scheduled

How many calendar events were created in the period?

COUNT(*) FROM calendar_event WHERE isCancelled = false AND createdDateTime IN period
Grain
Calendar event
Fields
CalendarEvent.id, CalendarEvent.start.dateTime, CalendarEvent.isCancelled
Dimensions
event_type, department

Clarify recurring master vs instances in the extract.

Adapt: Only meetings with >1 attendee as “meeting” vs focus time.

Mail flow rule hits

How often did transport rules match in the period?

SUM(match_count) FROM mail_flow_rule_stats WHERE period_date IN period
Grain
Rule match (agg)
Fields
MailFlowRule.id, MailFlowRule.name, MailFlowRule.priority
Dimensions
department

Rule stats from Exchange reporting, not derived from message bodies.

Adapt: Track DLP rules separately for compliance dashboards.

Distribution groups count

How many distribution groups exist (snapshot)?

COUNT(*) FROM distribution_group
Grain
Distribution group
Fields
DistributionGroup.id, DistributionGroup.displayName, DistributionGroup.memberCount
Dimensions
department

Mark dynamic vs static groups.

Adapt: Only groups with memberCount > 0 as “active groups”.

Formula overview

Same formulas as a table — copy into KPI cards or SQL drafts.

Label Formula Grain Fields
Mailboxes active COUNT(*) FROM mailbox WHERE recipientTypeDetails = 'UserMailbox' Active user mailbox Mailbox.id, Mailbox.recipientTypeDetails
Emails sent (meta count) COUNT(*) FROM mail_item_meta WHERE folder = 'SentItems' AND sentDateTime IN period Sent message (meta) MailItemMeta.id, MailItemMeta.receivedDateTime, MailItemMeta.size
Meetings scheduled COUNT(*) FROM calendar_event WHERE isCancelled = false AND createdDateTime IN period Calendar event CalendarEvent.id, CalendarEvent.start.dateTime, CalendarEvent.isCancelled
Mail flow rule hits SUM(match_count) FROM mail_flow_rule_stats WHERE period_date IN period Rule match (agg) MailFlowRule.id, MailFlowRule.name, MailFlowRule.priority
Distribution groups count COUNT(*) FROM distribution_group Distribution group DistributionGroup.id, DistributionGroup.displayName, DistributionGroup.memberCount

Tour