Core
openid, profile, email, User.Read, User.Read.All, GroupMember.Read.All, LicenseAssignment.Read.All, MailboxSettings.Read
Core reporting scopes are requested up front, reporting scopes enable usage analytics, and advanced audit scopes are requested only when the operator enables optional last sign-in insight.
openid, profile, email, User.Read, User.Read.All, GroupMember.Read.All, LicenseAssignment.Read.All, MailboxSettings.Read
Reports.Read.All for Office 365 active users, Teams activity, mailbox usage, and OneDrive usage.
AuditLog.Read.All is optional and only needed when last sign-in summaries are explicitly enabled.
The core scope set exists so the app can inventory users, groups, license assignments, and mailbox purpose without crossing into management or remediation.
Usage and audit capabilities are separated so operators can keep the initial consent boundary tight when they only need inventory reporting.