Simplify user tasks like bulk creation, updates, password resets, deletions, license checks & more — all from one place.
🚀 Launch ToolkitTracking how users activate Office 365 across devices helps administrators understand adoption, compliance, and licensing trends. Instead of manually pulling this data from the admin center, you can use Microsoft Graph PowerShell to export it easily.
In this guide, we’ll explore the Get-MgReportOffice365ActivationUserDetail cmdlet — a quick and efficient way to generate Office 365 activation details for your entire organization.
The Get-MgReportOffice365ActivationUserDetail cmdlet provides detailed insights into where and how Office 365 is activated by each licensed user.
You can view:
This data is especially useful for auditing Office installations, identifying inactive users, and ensuring compliance with license terms.
Before running the cmdlet, make sure your setup is ready.
Install-Module Microsoft.Graph -Scope CurrentUser
Update-Module Microsoft.Graph
Connect-MgGraph -Scopes "Reports.Read.All"
Get-MgReportOffice365ActivationUserDetail -OutFile <String>
Parameter Explanation:
Get-MgReportOffice365ActivationUserDetail -OutFile ".\O365ActivationUserDetail.csv"
This command exports the complete activation report, including all users and their device activation details.
Get-MgReportOffice365ActivationUserDetail -OutFile ".\O365ActivationUserDetail.csv"
Import-Csv .\O365ActivationUserDetail.csv | Out-GridView
The Out-GridView command provides an interactive table view for quick analysis.
$report = Import-Csv .\O365ActivationUserDetail.csv
$inactiveUsers = $report | Where-Object { $_.ActivatedOnWindows -eq 0 -and $_.ActivatedOnMac -eq 0 -and $_.ActivatedOnMobile -eq 0 }
$inactiveUsers | Select-Object DisplayName, UserPrincipalName | Out-GridView
This is a great way to identify users who haven’t activated their Office apps — useful before license audits or renewals.
$report = Import-Csv .\O365ActivationUserDetail.csv
$multiDeviceUsers = $report | Where-Object { [int]$_.ActivatedOnWindows + [int]$_.ActivatedOnMac + [int]$_.ActivatedOnMobile -gt 3 }
$multiDeviceUsers | Select DisplayName, UserPrincipalName, ActivatedOnWindows, ActivatedOnMac, ActivatedOnMobile | Out-GridView
Quickly helps you identify power users with multiple device activations.
| Error | Cause | Solution |
|---|---|---|
| “Access denied” | Missing Reports.Read.All permission | Reconnect with Connect-MgGraph -Scopes "Reports.Read.All" |
| “Invalid file path” | The OutFile path is incorrect | Ensure the directory exists before running the cmdlet |
| “Report data unavailable” | Report not yet generated for your tenant | Try again after 24 hours or use shorter periods |
| “CSV file empty” | No activation activity found | Confirm that users have active Office licenses and installed Office apps |
The Get-MgReportOffice365ActivationUserDetail cmdlet is a must-have reporting tool for Microsoft 365 administrators.
It lets you export detailed activation data, identify inactive users, monitor device usage, and support compliance checks — all with a single PowerShell command.
Combine it with other reporting cmdlets like:
…to build a complete, data-driven view of Microsoft 365 usage and adoption across your organization.
Did You Know? Managing Microsoft 365 applications is even easier with automation. Try our Graph PowerShell scripts to automate tasks like generating reports, cleaning up inactive Teams, or assigning licenses efficiently.
Ready to get the most out of Microsoft 365 tools? Explore our free Microsoft 365 administration tools to simplify your administrative tasks and boost productivity.
© Your Site Name. All Rights Reserved. Design by HTML Codex