Fix Microsoft Graph Drive Quota Returning Empty Object
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.

- 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 troubleshooting API calls, ensure that the target user account has a valid Microsoft 365 license assigned and that their OneDrive has been fully provisioned.
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.
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.
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.
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.

Escalate Tenant-Specific Anomalies to Microsoft Support
Since the application works in one tenant but not another, the issue may stem from backend configuration anomalies that require Microsoft engineer intervention.
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. Download and Install: Get the free WPS Office installer from the official website and complete the lightweight setup process.
- 2. Sign In for Cloud Features: Create a free account to access cross-device file synchronization and premium templates.
- 3. Open Your Files: Open your existing Microsoft Office files directly in WPS Office with zero formatting loss.

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.




