Cheat sheet

Microsoft 365 — memo administration

Microsoft 365 administration reference for Entra identity, Exchange Online, SharePoint/OneDrive, Teams, Intune, PowerShell, mail traces and security checks.

⌚ About 3 min read
View my favorites
Microsoft 365Intermediate to advanced8 sections · 32 reference points

Microsoft 365 administration reference for Entra identity, Exchange Online, SharePoint/OneDrive, Teams, Intune, PowerShell

Identity & sign-in

UPN
Identifiant de connexion principal

Distinguish UPN, primary SMTP address and aliases.

MFA
Méthodes d’authentification + politiques

Repeated prompts may come from session, Conditional Access or device state.

Sign-in logs
Entra ID > Monitoring > Sign-in logs

Keep Correlation ID, error and Conditional Access result.

Sessions
Révoquer sessions seulement si nécessaire

Revocation can interrupt all user clients.

Microsoft Graph PowerShell

Connect Graph
Connect-MgGraph -Scopes "User.Read.All","Directory.Read.All"

Request only required scopes.

User
Get-MgUser -UserId user@example.com -Property Id,DisplayName,UserPrincipalName,AccountEnabled

Checks identity and account state.

Groups
Get-MgUserMemberOf -UserId user@example.com

Returns varied directory objects; filter as needed.

Graph context
Get-MgContext

Checks tenant, account and scopes before sensitive operations.

Exchange Online

Connect EXO
Connect-ExchangeOnline

Use a current ExchangeOnlineManagement module.

Mailbox
Get-Mailbox user@example.com | Format-List DisplayName,PrimarySmtpAddress,RecipientTypeDetails

Checks recipient type and primary SMTP.

Email addresses
Get-Mailbox user@example.com | Select-Object -ExpandProperty EmailAddresses

Shows aliases/proxy addresses.

Mailbox quota
Get-MailboxStatistics user@example.com | Select DisplayName,TotalItemSize,ItemCount,LastLogonTime

Correlate with configured quotas and archive.

Message tracing

Recent trace
Get-MessageTraceV2 -SenderAddress user@example.com -StartDate (Get-Date).AddHours(-24) -EndDate (Get-Date)

Use the trace cmdlet supported by your module/tenant.

Message ID
Conserver InternetMessageId

Excellent identifier for correlating transport and headers.

NDR
Conserver code 5.x.x complet

Full enhanced status and generating server guide diagnosis.

Quarantine
Check Microsoft Defender / quarantine

Mail may reach tenant transport but still be quarantined.

SharePoint & OneDrive

Site URL
Identifier site personnel ou équipe concerné

Do not assume the displayed URL is the actual file path.

Sync
Check état OneDrive, espace local et quota cloud

Invalid names/paths can block only part of the sync set.

External sharing
Check politique tenant + site + lien

The most restrictive applicable policy wins.

Recycle bins
Site recycle bin + second-stage recycle bin

Check both recycle-bin stages before complex recovery.

Teams

Account
Check licence, Teams policy et état Entra

Teams issues may originate in identity or licensing.

Client cache
Tester web vs desktop avant nettoyage cache

Compare clients before destructive cache cleanup.

Meetings
Check Meeting policies et calendrier Exchange

Teams relies on other M365 services for several features.

Network
Tester 443/TCP et exigences média selon politique

Media requirements vary; use current Microsoft recommendations.

Intune & devices

Enrollment
Check ownership, compliance et dernière synchronisation

Separate Entra join, enrollment and compliance problems.

Sync
Déclencher une synchronisation depuis Intune ou Company Portal

Allow reporting time before repeating actions.

Conditional Access
Corréler device compliant / join state avec sign-in log

Sign-in logs show applied policies.

Retire/Wipe
Action destructive selon type de device

Confirm exact scope before executing destructive actions.

DNS & tenant security

MX
Resolve-DnsName exemple.fr -Type MX

Checks external inbound routing.

SPF
Resolve-DnsName exemple.fr -Type TXT

Check Microsoft and third-party sending sources.

DMARC
Resolve-DnsName _dmarc.exemple.fr -Type TXT

Checks policy and reporting.

Service health
Microsoft 365 Admin Center > Health

Check Microsoft service incidents before deep troubleshooting.

Key points

  • Always distinguish UPN, primary SMTP and aliases.
  • For sign-in failures, keep Correlation ID, Request ID, UTC timestamp and Conditional Access result.
  • Request the minimum Graph/PowerShell scopes needed.
  • Security actions such as revoke sessions, wipe or retire should be explicitly validated before execution.
← All cheat sheets
♡ 0