Choose the identity model
Use delegated authentication for interactive operator workflows and application permissions for unattended jobs. Do not grant a broad application role simply because it makes the first prototype easier.
Scope and protect access
Grant only the Graph permissions required by the query or mutation. Record consent, rotate credentials through the platform’s secret store, and keep client secrets out of source control and transcripts.
Connect-MgGraph -TenantId $TenantId -ClientId $ClientId -CertificateThumbprint $Thumbprint -NoWelcomeGet-MgContext | Select-Object TenantId, ClientId, Scopes
Make identity observable
Every scheduled report should record tenant, application identity, start time, and request outcome. This gives security and operations a shared trail when permissions or tenant configuration changes.
Operational checklist
- Choose delegated or application access intentionally.
- Use the smallest practical permission set.
- Store secrets and certificates outside scripts.
- Log identity context without exposing credentials.
No matching guide content found
Try searching for keywords like "identity", "scope", "observable", or "checklist".
Read more
Intune Reporting
Extract rich tenant telemetry and compliance data via Microsoft Graph API and PowerShell workflows.
Compliance Automation
Close endpoint configuration drift automatically using safe repair tasks and proactive remediation scripts.
Autopilot Troubleshooting
A signal-based troubleshooting workflow for Windows Autopilot enrollment and ESP failures.
Loading discussion threads...