🎉 Our Office 365 Reporting Tool is now available in Azure Marketplace 🚀
This website uses cookies to improve your experience. We'll assume you're ok with this. Know more.
SharePoint Online

How to Check the OneDrive Activity for a User

OneDrive allows users to access their files from anywhere on any device. While this convenience increases productivity, it also requires careful management. Without proper oversight, users may download too many files or sync unnecessary data, leading to inefficient storage use. By monitoring these activities, you can optimize resources and avoid storage clutter. This guide will help you monitor OneDrive user activity to ensure effective user management and resource allocation.

Using Microsoft 365 Admin Center

Microsoft 365 Permission Required
Reports Reader Least Privilege
Global Admin Most Privilege
  • Log in to the Microsoft 365 admin center.
  • Navigate to the Reports»Usage.
  • Select OneDrive in the left navigation under Reports.
  • Click on the Activity tab to view the OneDrive user activities.

    The OneDrive for Business user activity report shows details about the last activity date for users who have a valid OneDrive license. It also displays the number of files they viewed, edited, shared (internally and externally), and synced.
Using Microsoft 365 Admin Center
  • Note: Here, you can track the OneDrive user activity data over the last 7, 30, 90, and 180 days. You can also export the report data into a CSV file by selecting the Export option.

Using Windows PowerShell

Microsoft 365 Permission Required
Reports Reader Least Privilege
Global Admin Most Privilege
  • Connect to the Microsoft Graph PowerShell using the cmdlet below.
  • Windows PowerShell Windows PowerShell
     Connect-MgGraph
  • Run the below cmdlet to get the OneDrive activity report for all users.
  • Windows PowerShell Windows PowerShell
     Get-MgReportOneDriveActivityUserDetail -Period <Days> -OutFile <FilePath>
  • Replace <Days> with the desired period (e.g., D7, D30, D90, or D180) and <FilePath> with the output file path where you want to save the report.

Using Windows PowerShell
  • Note: You can also get the OneDrive user activity for a specific date using the Date parameter in the above cmdlet.

Unlock enhanced control over OneDrive with AdminDroid’s advanced user activity monitoring!

AdminDroid's OneDrive for Business reporting tool provides a complete solution for tracking OneDrive user activity by offering detailed reports on file usage trends, user activity, and storage quota limit. This enables you to get insights into file traffic, inactive users, available storage space, etc.

Stay Alert to the Anonymous Links Created in OneDrive

Use AdminDroid's built-in alert template to get instant alerts on OneDrive files shared using anonymous links and immediately remove any suspicious link to enhance security.

Protect Sensitive Data with OneDrive Activity Trends Report

Identify unusual sharing patterns in OneDrive using AdminDroid’s OneDrive user activities trend report to verify the permission levels of all shared files and prevent data breaches.

Monitor External User Activities for a Secure OneDrive Environment

Audit external user activities in OneDrive to ensure that files are accessed only as intended and to pinpoint any unusual actions and troubleshoot issues.

Track OneDrive File Actions to Find and Address Security Concerns

Maintain a record of all OneDrive file activities to identify any unnecessary site-sharing permissions or unique role assignments assigned to users.

Optimize the OneDrive Inactive Users for Better Resource Allocation

Consider deleting or archiving data associated with inactive OneDrive users to free up storage space, reduce licensing costs, and minimize security risks.

Automated Tracking of OneDrive Activity Reports

Schedule the OneDrive activity report regularly to save time and reduce manual effort for monitoring. It delivers the report to the recipient’s address in the preferred format.

In conclusion, AdminDroid’s OneDrive management tool helps you in the following ways.

  • Effectively manage your OneDrive storage to reduce costs and improve efficiency.
  • Gain insights into the file traffic trends and how the folders are being shared using company and anonymous links.
  • It also tracks user engagement, file access, etc., to drive usage and adoption while maximizing the security of your OneDrive environment.

Explore a full range of reporting options

Important Tips

Identify unlicensed OneDrive inactive users as Microsoft archives unlicensed OneDrive accounts and charges for access restoration.

Leverage information barriers in OneDrive to limit users’ activity on specific OneDrive content and safeguard confidential information from unauthorized access.

Explore OneDrive usage and adoption to analyze user activity in remote locations which tend to be more vulnerable to unauthorized actions.

Common Errors and Resolution Steps

The following are the possible errors and troubleshooting hints when exporting OneDrive for Business activity report.

Error Get-MgReportOneDriveActivityUserDetail: Authentication needed. Please call Connect-MgGraph.

This error occurs in PowerShell when you execute the cmdlet before connecting to the Microsoft Graph module.

Fix Install and connect to the Microsoft Graph module before running this cmdlet.
//Execute the below cmdlet to install the Microsoft Graph module.
Install-Module Microsoft.Graph
//Run the below command to connect to the Microsoft Graph.
Connect-MgGraph

Error Get-MgReportOneDriveActivityUserDetail_Get: {"error&wuot:{"code":"S2SUnauthorized","message":"Invalid permission."}}

This error appears in PowerShell when you try to access OneDrive usage details with an account lacking necessary admin permissions.

Fix Ensure that your account has appropriate permission to access the OneDrive activity report. You need at least the Reports.Read.All permission to access the report.

Error 404 FILE NOT FOUND.

This error occurs in OneDrive when you try to search a file or account that doesn’t exist.

Fix Verify the account URL or file name before performing the search.

Error Get-MgReportOneDriveActivityUserDetail : Cannot process argument transformation on parameter 'Date'. Cannot convert value "21-09-2024" to type "System.DateTime".

This error may occur in PowerShell when you provide the date in a different format (DD/MM/YYYY).

Fix Verify the date format (MM/DD/YYYY) when using the cmdlet.
Get-MgReportOneDriveActivityUserDetail -Date 09/21/2024

Frequently Asked Questions

Track OneDrive user activities to enhance user engagement in your organization

What activities can Microsoft 365 users perform in OneDrive for Business?

What activities can Microsoft 365 users perform in OneDrive for Business? +

OneDrive is a personal storage platform that offers an extensive set of features designed to simplify file storage, management, and collaboration.

Below is a detailed breakdown of key activities that users can perform in OneDrive.

  • Upload Files: Users can upload files and folders from their local devices to OneDrive for cloud-based storage. This makes them accessible from any connected device.
  • File Sharing: OneDrive allows users to share files and folders with internal team members or external users via secure link with the ability to set permissions like view-only or edit access. Users can also remove the link they shared at any time.
  • Download Files: Users can download the files stored in OneDrive for offline use or backup.
  • Edit Files: Users can open and edit files directly in OneDrive using web-based apps like Word, Excel, or PowerPoint.
  • Sync Files: Users can sync files between their devices and the cloud, ensuring that local copies are kept up-to-date.
  • Delete files: Users can delete files or folders, moving them to the OneDrive recycle bin.
  • Restore files: Deleted files or folders can be restored from the recycle bin within 30 days (or longer depending on organization settings).

Microsoft OneDrive for Business is a versatile platform for managing, sharing, and collaborating on files. It offers a wide range of features to boost productivity. Whether you're an individual user, a small team, or a large enterprise, OneDrive’s flexible functionality meets diverse storage and collaboration needs.

How to check a user’s OneDrive storage usage?

How to check a user’s OneDrive storage usage? +

When a user's OneDrive reaches storage limit, their files will move to read-only mode and become inaccessible for further editing and collaboration. This can significantly impact the user activity in OneDrive. Therefore, it is essential to monitor the OneDrive usage of users regularly and take action if limits are exceeded.

Follow the below steps to get the OneDrive storage usage for all users.

  • Navigate to the Usage report in the Microsoft 365 admin center.
  • Choose OneDrive in the left navigation under Reports and click Usage.
  • Here, you can view the amount of storage used by a OneDrive user. You can also find the count of total and active files in each user’s OneDrive.
onedrive-storage-usage-report

Surpass native usage reports with AdminDroid’s detailed OneDrive for Business usage reports!

  • While the native reports provide an overall view of storage used, the OneDrive storage over time report offers a detailed breakdown of storage allocated and used by each user. It also includes the count of total and active files.
  • Use the report to identify the user with the highest storage allocation and consumption to manage the storage usage effectively.
onedrive-usage-report-droid

How to find the number of active OneDrive users in Microsoft 365?

How to find the number of active OneDrive users in Microsoft 365? +

Microsoft routinely freezes inactive OneDrive accounts which makes it crucial for you to monitor user engagement. By keeping track of active OneDrive accounts, you can take appropriate action on inactive accounts. You can either re-engage inactive users or remove accounts that are no longer in use.

Track the number of active OneDrive users in M365 admin center

  • Navigate to the OneDrive usage report in the Microsoft 365 admin center.
  • The Accounts chart in this report shows the total number of user accounts and active users in OneDrive for Business.
active-onedrive-user-usage-report

The OneDrive usage reports in the Microsoft 365 admin center only provide details for active accounts over the default period of 180 days.

Access insights into active OneDrive accounts effortlessly with AdminDroid’s advanced reporting capabilities!

  • Leverage the Active OneDrive Users report to easily identify the number of active users in OneDrive along with the active percentage of users.
  • This report lets you monitor user engagement. It helps focus your resources on active OneDrive for Business users in real time.
onedrive-active-users-droid

Handy Tip: Schedule the report to get an update on the count of active OneDrive users periodically.

How to track OneDrive user activity on a specific file?

How to track OneDrive user activity on a specific file? +

When a sensitive OneDrive file containing financial or proprietary information is shared with multiple external users, it becomes essential to track who has accessed it and whether unauthorized users have downloaded or modified the contents. In such scenarios, you must closely monitor file activity to mitigate potential risks, ensure data integrity, and prevent any misuse.

The steps below will help you monitor user activity on specific files in OneDrive and keep you informed about any modifications made.

  • Sign in to the Microsoft Purview Compliance portal.
  • Navigate to the Solutions»Audit»Search.
  • Choose the date and time range for your audit (start date and end date).
  • In the Workloads field, select OneDrive. Enter the file name in the File, folder, or site field.
  • Click Search to start the search.

The result displays the file activity details, including actions such as accessing, syncing, downloading, and other interactions that have occurred with that file.

onedrive-user-activity-purview

Use the User Activities on OneDrive files report from AdminDroid to get a comprehensive log detailing all user interactions with OneDrive files.

  • This report tracks who accessed the files, when these actions occurred, and the type of access involved. Use the filtering feature to track the activities on a specific file.
  • By analyzing this report, you can identify potential risks, monitor how users are handling sensitive files, and detect patterns of activity that may indicate unauthorized access or misuse.
user-activity-on-onedrive-files
+

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs
x
Delivering Reports on Time
Want a desired Microsoft 365 reports every Monday morning? Ensure automated report distribution and timely delivery with AdminDroid's Scheduling to your email anytime you need.
Delivering Reports on Time
Schedule tailored reports to execute automatically at the time you set and deliver straight to the emails you choose. In addition, you can customize report columns and add inteligent filtering to the activities just from the previous day to suit your Microsoft 365 report requirements.
Set It, Schedule It, See Results- Your Reports, Your Way, On Your Time!
Time Saving
Automation
Customization
Intelligent Filtering
Give Just the Right Access to the Right People
Grant fine-tuned access to any Microsoft 365 user with AdminDroid’s Granular Delegation and meet your organization’s security and compliance requirements.
Give Just the Right Access to the Right People
Create custom roles loaded with just the right permissions and give access to admins or normal users within AdminDroid. The result? A streamlined Microsoft 365 management experience that aligns your organization's security protocols and saves your invaluable time and effort.
Align, Define, Simplify: AdminDroid's Granular Delegation
Smart Organizational Control
Effortless M365 Management
Simplified Access
Advanced Alerts at a Glance
Receive quick notifications for malicious Microsoft 365 activities. Engage with the AdminDroid’s real-time alert policies crafted to streamline your security investigations.
Advanced Alerts at a Glance
Stay informed of critical activities like suspicious emails and high-risk logins, bulk file sharing, etc. Through creating and validating ideal alert policies, AdminDroid provides a comprehensive approach to real-time monitoring and management of potential threats within your organization.
AdminDroid Keeps You Always Vigilant, Never Vulnerable!
Proactive Protection
Real-time Monitoring
Security Intelligence
Threat Detection
Merge the Required Data to One Place
Combine multiple required columns into one comprehensive report and prioritize the information that matters most to you with AdminDroid’s Advanced Column Customization.
Merge the Required Data to One Place
This column merging capability offers a flexible way to add different columns from various reports and collate all the essential data in one place. Want to revisit the customized report? Save it as a 'View’, and your unique report is ready whenever you need it.
Merge with Ease and Save as Views!
Custom Reporting
Unique View
Desired Columns
Easy Data Interpretation
Insightful Charts and Exclusive Dashboards
Get a quick and easy overview of your tenant's activity, identify potential problems, and take action to protect your data with AdminDroid’s Charts and Dashboards.
Insightful Charts and Exclusive Dashboards
With AdminDroid charts and dashboards, visualize your Microsoft 365 tenant in ways you've never thought possible. It's not just about viewing; it's about understanding, controlling, and transforming your Microsoft 365 environment.
Explore Your Microsoft 365 Tenant in a Whole New Way!
Executive overviews
Interactive insights
Decision-making
Data Visualization
Efficient Report Exporting for Microsoft 365
Downloading your reports in the right file format shouldn’t be a hassle with AdminDroid’s Report Export. Experience seamless report exporting in various formats that cater to your needs.
Efficient Report Exporting for Microsoft 365
Navigate through diverse options and export Microsoft 365 reports flawlessly in your desired file format. Tailor your reports precisely as you need them and save them directly to your computer.
Take Control, Customize and Deliver- Your Office 365 Data, Exported in Your Way!
Easy Export
Seamless Downloading
Data Control
Manage Microsoft 365

Get AdminDroid Office 365 Reporter Now!