M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

Blog · Mirko Peters

Find Inactive Microsoft 365 Copilot Licenses With Graph Usage Reports and Power BI

By · · Updated

Identify licensed users with no recent Copilot activity using the admin center usage report or the Graph usage detail API, load the data into Power BI, and reassign licenses safely.

To find inactive Copilot licenses, pull the per-user last activity dates from the Microsoft 365 admin center usage report or from the Microsoft Graph usage detail API, decide what inactive means for your organization, load the data into Power BI to review it, and then unassign licenses from the users you choose. The details below come from Microsoft Learn documentation.

Key points

  • The Copilot usage report lists every user licensed in the past 180 days with a last activity date, so users with old or empty dates are candidates.
  • A user counts as active only after submitting a prompt or taking an intentional AI action. Opening the Copilot pane alone does not count.
  • The Graph endpoint getMicrosoft365CopilotUsageUserDetail returns per-user last activity dates and needs Reports.Read.All. The documented version is beta.
  • User names are concealed by default. A Global Administrator can show them under Settings, Org Settings, Services, Reports.
  • Unassigning a license holds Exchange Online data for 30 days. OneDrive files are not deleted unless the user is deleted.

What the usage report gives you

The Microsoft Copilot usage report is under Reports > Usage > Microsoft Copilot > Copilot in the Microsoft 365 admin center. Microsoft says you can view 7, 28, 90 or 180 days. The summary shows Enabled Users, Active Users and the active users rate, and the per-user table shows last activity dates by app.

Two details matter for this task:

  • Licensed in the last 180 days. The user table shows everyone licensed at any point in that window, even if they later lost the license or never used Copilot.
  • Empty dates. In rare cases a last activity date can be empty if the user used Copilot within 24 hours of getting the license and then never again. Microsoft also notes that last activity dates for Word, Excel, PowerPoint, OneNote and Outlook can be blank or newer than the actual date, because upload of client events can be delayed.

The overall last activity date stays fixed when you change the report timeframe. Per-app dates are not affected by the selected timeframe either.

Define active

Microsoft's definition: a user is active in an app if they perform an intentional action for an AI-powered capability. Opening the chat pane from the ribbon does not count. Submitting a prompt does. Decide your rule before you filter, for example no activity in the last 60 or 90 days, and apply it consistently. Microsoft does not define a recommended inactivity threshold in the pages read, so this is your policy choice.

Data is typically available within 48 hours of the end of the day in UTC. The report also validates the past three days, so the latest figures can shift.

Get the data

Option 1: Export from the admin center. Select Export on the report page. It exports usage data for all users as a CSV file that you can sort and filter. You need an appropriate role. The Copilot reports page names AI Administrator. The general usage reports page lists Global Administrator, Exchange Administrator, SharePoint Administrator, Reports Reader, Teams Administrator, Teams Communications Administrator and AI Administrator, plus Usage Summary Reports Reader and User Experience Success Manager, which see no user details. Global Reader is not on that list. It appears only on the Graph API page, as one of the Entra roles supported for delegated access.

Option 2: Graph API. Microsoft documents this request:

``http GET https://graph.microsoft.com/beta/reports/getMicrosoft365CopilotUsageUserDetail(period='D90')?$format=text/csv ``

Details from the API page:

  • Permission: Reports.Read.All, delegated or application. For delegated access the admin also needs a supported Entra role. The page lists, among others, Global Reader, Reports Reader and Usage Summary Reports Reader.
  • The period values are D7, D30, D90, D180 and ALL. Note that the admin center report offers 28 days, while the API uses D30.
  • CSV returns 302 Found with a preauthenticated download URL in the Location header, valid for only a few minutes and needing no Authorization header.
  • JSON returns 200 OK with a value array.
  • Fields include userPrincipalName, displayName, lastActivityDate and last activity dates for Teams, Word, Excel, PowerPoint, Outlook, OneNote, Loop and Copilot Chat.

The documentation marks the endpoint as beta, and says beta APIs are subject to change and not supported in production applications. It also says to use the Microsoft 365 Copilot usage APIs under the /copilot path going forward. Check that path before you build anything lasting.

Reveal user names

By default, usage reports hide user names. A Global Administrator can change this in the admin center under Settings > Org Settings > Services > Reports, by clearing the checkbox Conceal user, group, and site names in all reports and selecting Save. The change takes a few minutes, also applies to Microsoft Graph and Power BI reports, and is logged in the Microsoft Purview audit log. The adminReportSettings resource in Graph can change the same setting.

Load into Power BI

Microsoft's usage reports page says that for large user counts you can export a report to Excel or Power BI, or use the Graph reports API. The pages read do not provide a step-by-step Power BI connector setup for the Copilot endpoint, so the following is my own suggestion, not a documented procedure: export the CSV and import it in Power BI Desktop with Get data > Text/CSV.

Useful measures once loaded:

  1. Convert Last Activity Date to a date and compute days since the last activity.
  2. Create a flag for users beyond your threshold.
  3. Add a flag for blank dates. Learn says the table includes users who never used Copilot, but blank dates can also come from delayed client uploads or the rare case above, so check them before acting.
  4. Build a table with user, department (from your directory data) and the flag.

Keep the export protected. Once names are shown, it contains identifiable user information, and Learn says reports hide it by default to help companies support local privacy laws.

Cross-check before removing licenses

Microsoft says the usage report and the Viva Insights Copilot Dashboard are based on the same underlying definitions of active usage, but the user population and the timeframe displayed might differ. It also says audit log data is not intended as the basis for Copilot usage reporting. My own advice: compare the admin center export with the dashboard and tell managers before taking licenses away.

Unassign the license

Per Microsoft's article on assigning and unassigning licenses, you need at least the License Administrator or User Administrator role. There are two routes:

  1. By product: Billing > Licenses, select the product, select the users, then Unassign licenses.
  2. By user: Users > Active users, select the user, open Licenses and Apps, clear the license and Save changes.

If the license comes from a group, the group name appears instead of individual users, on the Licenses page. Microsoft's page points to a separate Entra article for group-based licensing and does not describe how removing a user from a licensed group affects the license, so test with one user first. Also note that Exchange Online data is held for 30 days after a license is removed, and OneDrive files are not deleted unless the user is deleted. The page covers general license removal, not Copilot add-on details.

Related

Sources

FAQ

What counts as an active Copilot user?

Microsoft Learn says a user is active in an app if they perform an intentional action for an AI-powered capability. Learn's example is the Word ribbon: selecting the Copilot icon to open the chat pane does not count, but submitting a prompt in the pane does.

How current is the usage data?

Microsoft Learn says Copilot activity for a day typically becomes available within 48 hours of the end of that day in UTC. The report also runs daily validation for the past three days, so recent history can change slightly.

Why are user names hashed in my export?

By default, Microsoft 365 usage reports conceal user names. A Global Administrator can change this in the Microsoft 365 admin center under Settings, Org Settings, Services, Reports, by clearing the checkbox Conceal user, group, and site names in all reports and selecting Save. The change also affects Graph and Power BI reports.

What happens to a user's data when I remove the Copilot license?

The Microsoft 365 license removal page covers a whole license removal. It says Exchange Online data is held for 30 days after a license is removed, and OneDrive files are not deleted unless the user is deleted. It does not describe Copilot add-on specifics, so check the Copilot licensing documentation.

Entities in this article

Topics of this article:

Microsoft 365 Copilot – AI assistant by Microsoft Power BI – Analytics and BI tool by Microsoft Microsoft 365 – Collaboration tool by Microsoft

Related articles

More articles on Microsoft 365 Copilot:

RSS