The issue is likely not with the local OneDrive client itself, but with how Windows Explorer is resolving the SharePoint/OneDrive endpoints. Since the web versions work, focus on connectivity and name resolution rather than reinstalling the client.
Use these steps on an affected machine:
- Verify the Microsoft 365 subscription for SharePoint/OneDrive is active. If it has expired, renew it as described in Reactivate your subscription.
- If the subscription is active, flush the local DNS cache so Explorer and the OneDrive client can correctly resolve the SharePoint/OneDrive URLs:
- Select Start.
- Type cmd and open Command Prompt.
- Run:
ipconfig /flushdns - Press Enter and then close Command Prompt.
- Close all File Explorer windows and reopen Explorer, then test the OneDrive and SharePoint locations again.
- If links in Explorer are still down across multiple clients after flushing DNS, check with Microsoft technical support and the Microsoft 365 service health to confirm whether there is a wider service-side issue affecting OneDrive/SharePoint integration with Explorer.
For environments using “View in File Explorer” for SharePoint libraries, also ensure:
- The SharePoint or OneDrive site URLs (including the
-filesor-myfilesURLs) are correctly added to the Trusted sites list in Internet Options. - The WebClient service is present and running on the client:
- Open services.msc.
- Locate WebClient.
- If the status is not Started, start the service and apply.
These steps address common causes where SharePoint/OneDrive paths in Explorer stop working while the online services remain accessible.
References: