OneDrive File Issues

Fix Microsoft Graph Drive Quota Returning Empty Object

Algirdas JasaitisAlgirdas Jasaitis Oct 15, 2026 869 views

Question details

The user needs to resolve an issue where querying the Microsoft Graph v1.0 drives endpoint returns an empty quota object for a specific tenant.

How to Fix Microsoft Graph Drive Quota Returning an Empty Object
Product
Microsoft Graph API / OneDrive
Device & OS
not provided
Scenario
Retrieving drive storage quota details using a Microsoft Graph API application across different tenants.
Observed behavior
The API returns an empty quota object in one tenant, even though the same application successfully returns quota details for users in another tenant.
Before you start

Before troubleshooting API calls, ensure that the target user account has a valid Microsoft 365 license assigned and that their OneDrive has been fully provisioned.

Solution 1Recommended

Verify API Permissions and Drive Initialization

Ensure the application has the correct permissions and the user's drive is fully initialized in the backend.

A common cause for missing quota details is that the user's OneDrive has not been fully provisioned. Drives that have never been accessed by the user might not have an allocated quota assigned in the tenant.

1
Check API Permissions

Navigate to Microsoft Entra ID (Azure AD) and verify that your registered application has the required 'Files.Read' or 'Files.Read.All' permissions granted and consented by an administrator.

2
Confirm Drive Initialization

Have the target user log into their OneDrive account via a web browser at least once. This forces Microsoft 365 to fully initialize their storage space and assign the default storage quota.

3
Test via Graph Explorer

Log into the Microsoft Graph Explorer tool using a tenant admin account. Run a GET request to 'https://graph.microsoft.com/v1.0/users/{user-id}/drive' to see if the quota object populates natively outside of your custom application.

Verify API Permissions and Drive Initialization
Tenant Licensing Limits: Ensure that the tenant itself is not on a restricted trial or experiencing billing issues, which can temporarily suspend storage allocations.
Free Microsoft Office alternative

Looking for a Seamless Office Experience? Try WPS Office

While troubleshooting API quotas and backend tenant configurations can be highly technical, managing your daily documents should be straightforward. WPS Office is a lightweight, free alternative to Microsoft Office that offers full format compatibility and seamless local or cloud file management.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and complete the lightweight setup process.
  2. 2. Sign In for Cloud Features: Create a free account to access cross-device file synchronization and premium templates.
  3. 3. Open Your Files: Open your existing Microsoft Office files directly in WPS Office with zero formatting loss.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats (.docx, .xlsx, .pptx).Built-in cloud storage integration to manage files seamlessly across all your devices.Lightweight installation and resource-friendly performance, perfect for any operating system.Familiar tabbed user interface, allowing you to edit documents, spreadsheets, and PDFs in one window.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Microsoft Graph API return an empty quota object for some users?

This typically occurs if the user's OneDrive has not been fully provisioned by the tenant yet, if they lack an assigned Microsoft 365 license, or due to a temporary backend synchronization issue within that specific tenant.

Do I need special permissions to read drive quotas via Graph API?

Yes, your application must be granted appropriate delegated or application permissions, such as Files.Read or Files.Read.All, to successfully query drive metadata including storage quotas.

How can I check if a OneDrive is properly provisioned?

You can verify provisioning by asking the user to manually log in to their OneDrive on the web. If they can access their files and see their storage limit in the bottom left corner, the drive is fully initialized.