File Cannot Open

Fix MPP Files Not Opening Directly from SharePoint Online

Amos GikundaAmos Gikunda Nov 3, 2026 869 views

Question details

The user is unable to open Microsoft Project (.mpp) files directly from the modern SharePoint Online interface due to an Office command error.

How to Fix MPP Files Not Opening Directly from SharePoint Online
Product
Microsoft Project 2019 / SharePoint Online
Device & OS
Windows
Scenario
Clicking on an MPP file within a modern SharePoint Online document library to open it in the desktop client.
Observed behavior
The file produces an Office command error in modern SharePoint Online, but opens successfully if downloaded locally or accessed via the classic SharePoint view.
Before you start

Verify that your Microsoft Project application is fully updated and test if another user on the same computer can open the file successfully to determine if the issue is profile-specific.

Solution 1Recommended

Repair Microsoft Project and Reset App Data

Repairing the installation and clearing cached application data can resolve localized command errors preventing SharePoint integration.

Often, the connection between the modern SharePoint environment and the desktop application breaks due to corrupted application files or registry keys specific to your user profile.

1
Open Programs and Features

Press the Windows key, type 'Control Panel', and navigate to 'Programs' > 'Programs and Features'.

2
Run an Online Repair

Locate 'Microsoft Project 2019' in the list, right-click it, select 'Change', and choose the 'Online Repair' option.

3
Reset Application Data

Press Win + R to open the Run dialog, type '%appdata%\\Microsoft\\Project', and rename the folder (e.g., to 'Project_old') to reset user-specific data.

4
Test SharePoint Connection

Restart your computer, navigate back to your modern SharePoint Online library, and try opening the MPP file directly.

Repair Microsoft Project and Reset App Data
Isolate the Issue: If another user on the same PC can open the files without errors, the issue is strictly isolated to your Windows user profile.
Free Microsoft Office alternative

Looking for a Lightweight Alternative to Microsoft Office?

While WPS Office does not natively edit Microsoft Project (.mpp) files, it serves as a powerful, free alternative for your daily document needs. Enjoy a seamless, lightweight office suite that handles Word, Excel, and PowerPoint files with high compatibility and a familiar interface.

Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Lightweight architecture ensures fast installation and instant loadingFamiliar tabbed interface requiring zero learning curveBuilt-in PDF editing and conversion tools at no extra cost
microsoft office alternative - wps office

Frequently Asked Questions

Why do MPP files open in classic SharePoint but not the modern view?

The modern SharePoint Online experience handles Office URI (Uniform Resource Identifier) schemes differently than the classic view. If your local Project installation or registry keys are damaged, the modern view may fail to trigger the desktop application correctly.

Can I edit MPP files directly in the browser using SharePoint Online?

No, traditional Microsoft Project files (.mpp) require the desktop application (Project Professional or Standard) to be opened and edited. While 'Project for the Web' offers browser-based planning, it does not open traditional .mpp files directly from a SharePoint document library.

Will reinstalling Microsoft Project fix the Office command error?

Reinstalling can fix the error if it is caused by missing or corrupted program files. However, if the issue is tied specifically to corrupted AppData or your Windows user profile, you may need to clear your AppData folder or create a new user account to fully resolve it.