SharePoint Online diagnostics
Microsoft publishes a set of self-help diagnostics that run in the Microsoft 365 admin center and check for known causes of common SharePoint problems: slow sites and pages, users who cannot get into a site, locked or archived sites, sites that will not delete, tenant storage, library sync and profile pictures. A few of them also fix what they find. You must be a Microsoft 365 administrator to run them, and they are not available in GCC High, DoD or Microsoft 365 operated by 21Vianet.
Microsoft's article, "Self-help diagnostics for SharePoint Online and OneDrive administrators", explains why they exist: "the SharePoint support team has released diagnostics in the Microsoft 365 admin center to resolve common issues." They apply to SharePoint Online (SharePoint in Microsoft 365), and some of them cover OneDrive as well.
The SharePoint diagnostics
Each diagnostic has a shortcut link in Microsoft's article, labelled Run Tests: followed by its name.
| Diagnostic | Link label | What Microsoft says it does | Guide to the problem |
|---|---|---|---|
| Site and page performance | Run Tests: Site and Page Performance | "Diagnose why a site or page may be loading slowly." | Optimizing SharePoint Online performance |
| Check User Access | Run Tests: Check User Access | "Validates that the internal/external user has access to the site and checks for known issues that can prevent access." | SharePoint 'Access Denied' and 'You Need Permission' |
| Access Denied due to organizational policies | Run Tests: Access Denied due to org policy | "Unlocks administrators who are locked out of SharePoint and OneDrive because of a location-based policy." | SharePoint Online login |
| Locked Site | Run Tests: Locked Site | "Validates that the user's OneDrive or SharePoint site exists, and there are no known issues accessing the site due to lock or archived state." | SharePoint site lock states |
| Site collection deletion | Run Tests: Site Deletion | "Diagnose issues that may occur during the deletion of a site." | How to delete a SharePoint site |
| Invalid retention or grace eDiscovery hold | Run Tests: Invalid Retention Hold | "Detects and removes an invalid retention or grace eDiscovery hold blocking an administrator from deleting a site." | Can't delete SharePoint site: compliance policy |
| SharePoint Tenant Storage | Run Tests: Tenant Storage | "Verifies any issues with your SharePoint Online tenant storage quota displayed in SharePoint admin center and shows how quota is allocated" | See what is using your SharePoint storage |
| Unable to synchronize a SharePoint Document Library with sync client | Run Tests: Library Sync | "Validates that the SharePoint document library is configured properly to allow synchronization of files." | OneDrive sync issues with SharePoint libraries |
| SharePoint picture synchronization | Run Tests: Picture Sync | "Diagnose why a picture may not be showing up in the user's profile or via the People Web Part." | - |
| Site User ID Mismatch | Run Tests: Site User ID Mismatch | "Detects ID mismatches for users on OneDrive or SharePoint sites and offers to fix the issue." | - |
Microsoft's article also lists five OneDrive diagnostics: OneDrive provisioning, OneDrive storage quota, unable to synchronize OneDrive with a sync client, OneDrive web access issue, and OneDrive storage limited to 5 TB.
Which ones fix the problem
Most of the diagnostics find and explain a problem; the description says "Diagnose", "Validates" or "Verifies". Four describe an action:
| Diagnostic | What it does |
|---|---|
| Access Denied due to organizational policies | "Unlocks administrators who are locked out" by a location-based policy |
| Invalid retention or grace eDiscovery hold | "Detects and removes" the invalid hold |
| Site User ID Mismatch | "Detects ID mismatches" and "offers to fix the issue" |
| OneDrive web access issue | "Detects and renames the OneDrive default document library back to 'Documents'" |
For the rest, you make the change yourself. Microsoft's advice afterwards: "If a diagnostic detects an issue, and you've implemented a fix based on the results, consider rerunning the diagnostic to ensure the issue is completely resolved."
How to run a diagnostic
- Sign in with a Microsoft 365 administrator account. Microsoft: "You must be a Microsoft 365 administrator to run diagnostics."
- In Microsoft's article "Self-help diagnostics for SharePoint Online and OneDrive administrators", select the Run Tests link for the diagnostic you need. It opens the diagnostic in the Microsoft 365 admin center.
- Enter what the diagnostic asks for, such as the URL of the site, and select Run Tests.
- Follow the results. If you change something, run the diagnostic again.
Some diagnostics need a specific role as well. For the invalid retention diagnostic, Microsoft states: "You must have at least the Compliance Administrator role to use these steps."
Which diagnostic for which problem
| Problem | Run |
|---|---|
| A site or page is slow | Site and Page Performance |
| A user or guest cannot get into a site | Check User Access |
| An administrator is locked out by a network location policy | Access Denied due to org policy |
| A site is read-only, has no access, or is archived | Locked Site |
| A site will not delete | Site Deletion, then Invalid Retention Hold if a compliance policy is blocking it |
| You want to check the tenant storage quota and how it is allocated | Tenant Storage |
| A library will not sync | Library Sync |
| A profile picture is missing | Picture Sync |
| A user ID mismatch for a user on a site | Site User ID Mismatch |
Frequently asked questions
What are SharePoint Online diagnostics?
Self-help tests Microsoft's SharePoint support team released in the Microsoft 365 admin center. Each checks for known causes of a common problem, such as access, locked sites, site deletion, storage, sync or performance, and a few can fix what they find.
Who can run SharePoint diagnostics?
Microsoft states that you must be a Microsoft 365 administrator. Some need a further role; the invalid retention diagnostic needs at least the Compliance Administrator role.
Are the diagnostics available in GCC High?
No. Microsoft states they are not available for the GCC High or DoD environments, or for Microsoft 365 operated by 21Vianet.
Which diagnostic checks why a user cannot access a SharePoint site?
Check User Access. It validates that the internal or external user has access to the site and checks for known issues that can prevent access.
Which diagnostic helps when a SharePoint site won't delete?
Site Deletion diagnoses issues during deletion. If the message is "A compliance policy is currently blocking this site deletion", Invalid Retention Hold detects and removes an invalid retention or grace eDiscovery hold.
Can a diagnostic fix the problem by itself?
Some can. Access Denied due to org policy unlocks a locked-out administrator, Invalid Retention Hold removes an invalid hold, and Site User ID Mismatch offers to fix the mismatch. The others report what they find.
Which diagnostic helps with a slow SharePoint site?
Site and Page Performance, which diagnoses why a site or page may be loading slowly.
Related reading
- SharePoint admin center: URL, login, roles and what's inside - where SharePoint administration happens.
- SharePoint 'Access Denied' and 'You Need Permission': fixes - Check Permissions and Check User Access.
- SharePoint site read-only or no access: lock states - ReadOnly, NoAccess and Unlock.
- Can't delete SharePoint site: a compliance policy is blocking it - the invalid retention diagnostic step by step.
- How to delete a SharePoint site - the steps and what happens to storage.
- SharePoint sites read-only, storage full - when the tenant runs out of storage.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


