This repository contains the AI-in-One Dashboard Power BI template. This report provides comprehensive insights into Microsoft Copilot and Agent adoption, empowering AI and business leaders to make informed decisions regarding AI implementation, licensing, and enablement strategies.
β οΈ Important usage & compliance disclaimer
Please note:
While this tool helps customers better understand their AI usage data, Microsoft has no visibility into the data that customers input into this template/tool, nor does Microsoft have any control over how customers will use this template/tool in their environment.
Customers are solely responsible for ensuring that their use of the template tool complies with all applicable laws and regulations, including those related to data privacy and security.
Microsoft disclaims any and all liability arising from or related to customers' use of the template tool.
Experimental Template Notice:
This is an experimental template. On occasion, you may notice small deviations from metrics in the official Copilot and Agent Dashboards. We will continue to iterate based on your feedback. For the most accurate and reliable usage insights, users are encouraged to refer to data from the Microsoft 365 Admin Center and Viva Insights. Currently available in English only.
- Comprehensive visibility into M365 Copilot, unlicensed Copilot Chat, and Agent usage across your organization
- User engagement tracking over time to identify adoption patterns and trends across all Copilot surfaces
- Data-driven insights to optimize AI investments, license allocation, and employee enablement
- Customizable views to segment data by department, role, or other organizational dimensions
- Make informed AI and Microsoft Copilot investment decisions using comprehensive usage data and analytics consolidated in one place
- Identify Copilot and Agent adoption champions and areas needing additional enablement
- Optimize enablement and change management efforts based on actual usage patterns across M365 Copilot, unlicensed Copilot Chat, and Agents
- Accelerate AI readiness, adoption, and impact across the organizationβfrom licensed Copilot experiences to emerging Agent capabilities
Quick Overview: Export 3 data sources β Connect them to Power BI β Analyze your AI adoption
π±οΈ Option A: Manual Export via Web Portal (Recommended for first-time setup)
Follow the traditional workflow using browser-based portals to export your data:
- Export Copilot audit logs from Microsoft Purview
- Download licensed user data from Microsoft 365 Admin Center
- Export org data from Microsoft Entra Admin Center
- Connect CSV files to Power BI template
Best for: One-time setup, first-time users, or those who prefer GUI-based workflows
π See detailed instructions below in the Detailed Steps section
β‘ Option B: Automated PowerShell Scripts (For regular refreshes)
Use the PowerShell automation scripts in the scripts folder for a faster, repeatable workflow. This method supports two execution modes:
- Run locally (PowerShell) and export CSVs
- Run in Azure Automation (runbooks) and upload outputs to SharePoint
Advantages:
- β Automated data export via Microsoft Graph API
- β Reduced manual steps and potential errors
- β Easy to schedule for regular data refreshes
- β Consistent results every time
Prerequisites:
- PowerShell 5.1 or later
- Microsoft Graph PowerShell modules
- Appropriate permissions (same as manual method)
Quick Start (Local execution):
# 1. Install required modules
Install-Module Microsoft.Graph.Beta.Security -Scope CurrentUser
# 2. Navigate to scripts folder and run
cd scripts
.\create-query.ps1 # Creates audit log query
.\get-copilot-interactions.ps1 # Exports query results
.\get-copilot-users.ps1 # Exports licensed users listQuick Start (Azure Automation execution):
cd scripts/automation
.\deploy.ps1π Documentation:
- Local scripts: scripts/readme.md
- Azure Automation runbooks: scripts/automation/README.md
π Step 1 (skip if using 'Option B'): Download Copilot Interactions Audit Logs (Microsoft Purview)
This log provides detailed records of Copilot interactions across all surfaces (Chat, M365 apps, Agents), enabling deep analysis of usage patterns and engagement.
- Access level required: Audit Reader or Compliance Administrator
- Portal: Microsoft Purview Compliance Portal
- Permissions needed: View and export audit logs
-
Navigate to the portal
- Go to: security.microsoft.com
- In the left pane, scroll down and click Audit
- Ensure you have appropriate compliance roles (e.g., Audit Reader). If not, contact your IT admin
-
Configure the audit search
- In Activities > Friendly Names, select:
Copilot Activities β Interacted with Copilot - Set a Date Range (recommended: 1β3 months to match your Viva query)
- Give your search a descriptive name (e.g., "Copilot Audit Export - Oct 2025")
- In Activities > Friendly Names, select:
-
Run and export the search
- Click Search
- Wait until the status changes to Completed
- Click into the completed search
- Select Export > Download all results
- Save the CSV file to a known location (e.g.,
C:\Data\Copilot_Audit_Logs.csv)
- File format: CSV
- Typical size: Varies widely (5 MBβ500 MB depending on org size and activity)
- Columns: ~50+ columns including timestamps, user IDs, activity types, surfaces
- Rows: One row per Copilot interaction
π Learn more: Export, configure, and view audit log records β Microsoft Learn
π€ Step 2 (skip if using 'Option B'): Download Copilot Licensed User List (Microsoft 365 Admin Center)
This data provides a list of users with Copilot licenses, enabling you to track license utilization and identify licensed vs. unlicensed usage patterns.
- Access level required: Global Administrator or Reports Reader
- Portal: Microsoft 365 Admin Center
- Permissions needed: View usage reports
-
Navigate to the portal
- Go to: admin.microsoft.com
- Log in as a Microsoft 365 Global Administrator or Reports Reader
-
Unhide usernames (if concealed)
- Go to Settings > Org Settings
- Under the Services tab, choose Reports
- Deselect: "Display concealed user, group, site names in all reports"
- Click Save changes
-
Navigate to Copilot reports
- Go to: Reports > Usage > Microsoft 365 Copilot
- Click on the Readiness tab
-
Export license data
- Scroll to Copilot Readiness Details section
- Ensure the column
Has Copilot license assignedis visible - Click the ellipsis (
...) menu - Choose Export to download the file as CSV
- Save to a known location (e.g.,
C:\Data\Copilot_Licensed_Users.csv)
- File format: CSV
- Typical size: 1β10 MB for 1,000β10,000 users
- Columns: ~10β15 columns including UserPrincipalName, Department, LicenseStatus, LastActivityDate
- Rows: One row per user in your organization
π Learn more: Microsoft 365 Copilot Readiness Report β Microsoft Learn
π₯ Step 3: Access Org Data File (Microsoft Entra or Viva Insights)
This file provides organizational hierarchy and user attributes, enabling segmentation by department, role, location, or other organizational dimensions.
- Access level required: User Administrator or Global Reader (Entra) OR Insights Administrator (Viva)
- Portal: Microsoft Entra Admin Center or Viva Insights
- Permissions needed: View and export user data
-
Navigate to the portal
- Sign in to: entra.microsoft.com
- In the left-hand navigation, go to:
Identity β Users
-
Select and download users
- Click All users
- Click the "Download users" button (in toolbar or under
...menu)
-
Configure the export
- In the download dialog, select attributes to include:
- Required fields:
UserPrincipalNameDepartment
- Optional but recommended fields:
JobTitleOfficeCityCountryManager- Any custom attributes relevant for reporting
-
Download the file
- Choose CSV format
- Click Download
- Save to a known location (e.g.,
C:\Data\Org_Data_Entra.csv)
If you have a custom org data file with organizational hierarchy and user attributes, you can use that instead. Ensure it includes:
- Required columns: UserPrincipalName or PersonID, Department or Organization
- File format: CSV
- Typical size: 1β20 MB depending on org size and attributes
- Columns: Varies (5β30+ columns)
- Required columns: UserPrincipalName, Department
- Rows: One row per user
π‘ Note: Avoid downloading non-essential attributes as it can degrade performance and increase file size unnecessarily.
π Learn more: Download a list of users β Microsoft Learn
π Step 4: Open and Configure the Power BI Template
Connect the Power BI template to your data sources using file paths for the CSV files.
-
Download the template
- Download AI-in-One Dashboard - Purview - Template.pbit from this repository
-
Open the template in Power BI Desktop
- Double-click the
.pbitfile - A parameter dialog will appear
- Double-click the
-
Enter file paths
- Copilot Audit Log Path: Full path to your audit log CSV
Example:C:\Data\Copilot_Audit_Logs.csv - Licensed Users Path: Full path to your licensed users CSV
Example:C:\Data\Copilot_Licensed_Users.csv - Org Data Path: Full path to your org data CSV
Example:C:\Data\Org_Data_Entra.csv
- Copilot Audit Log Path: Full path to your audit log CSV
-
Load the data
- Click Load
- Wait for all queries to refresh (may take 5β15 minutes on first load)
- If errors occur, verify file paths are correct and files are accessible
-
Save and publish
- Save as a
.pbixfile (e.g.,AI-in-One Dashboard - Purview.pbix) - Publish to your Power BI workspace
- Configure scheduled refresh for CSV files in Power BI Service (recommended weekly or monthly)
- Save as a
-
Issue: "File not found" error
- Solution: Verify file paths use absolute paths (e.g.,
C:\Data\file.csv, not.\file.csv) and files exist at those locations
- Solution: Verify file paths use absolute paths (e.g.,
-
Issue: Data refresh takes extremely long
- Solution: Check CSV file sizes. Very large audit logs (>500 MB) may need to be filtered or split.
π Step 5: Review and Customize
Review the dashboard, customize visualizations, and share with stakeholders.
-
Review dashboard pages
- Navigate through all report pages
- Verify data loaded correctly
- Check that filters and slicers work as expected
-
Customize for your organization
- Update visuals to match your branding (colors, logos)
- Adjust hierarchies to match your org structure
- Add or remove pages based on your needs
- Create bookmarks for common views
-
Set up filters and parameters
- Configure default date ranges
- Set up department/role filters
- Create user-specific views if needed
-
Publish and share
- Publish to Power BI Service if not already done
- Set up Row-Level Security (RLS) if needed
- Share with stakeholders via workspace access or apps
- Create subscriptions for key reports
-
Document customizations
- Keep notes on any changes you make
- Version your .pbix file if making significant updates
- Archive old versions in the
/Archived Templatesfolder
- π Refresh schedule: Set up weekly or monthly refresh for CSV files in Power BI Service
- π Security: Use Row-Level Security to restrict sensitive data by department or role
- π§ Subscriptions: Set up email subscriptions for executives who want regular updates
- π Usage tracking: Monitor dashboard usage in Power BI Service to understand what resonates
See the dashboard in action:
Viva Insights Sample Code: Explore the Viva Insights Sample Code Repository for ready-to-use code examples, API integration patterns, and reference implementations to extend your AI adoption analytics.
Super Usage Analysis: For deep-dive analysis into Copilot super users and adoption patterns, check out the DecodingSuperUsage repository.
Check the /Archived Templates folder for previous versions of the dashboard template.
Current version: v1.0 (Initial release)
This project is licensed under the MIT License - see the LICENSE.md file for details.
Please see SECURITY.md for information on reporting security vulnerabilities.
