Home › Knowledgebase › KB-1824

SharePoint Access Denied Error After New PC Setup

Summary

This guide helps you troubleshoot and resolve: SharePoint Access Denied Error After New PC Setup. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Quick Fix Steps

  1. Clear cached SharePoint credentials from Windows Credential Manager.
  2. Check Web Credentials for stored SharePoint tokens.
  3. Sign out and back into OneDrive to refresh your MFA token.
  4. Stop and re-add the SharePoint library sync to force a fresh connection.
  5. Verify access via your web browser to confirm permissions are still active.

Detailed Instructions

Step 1: Clear cached credentials

  1. Press Windows Key + R on your keyboard.
  2. Type control keymgr.dll and press Enter to open Credential Manager.
  3. Click Windows Credentials.
  4. Look for entries containing sharepoint.com, onedrive.com, or your organisation's tenant name.
  5. Click the dropdown arrow for each entry and select Remove.
  6. Click Web Credentials.
  7. Look for entries containing sharepoint.com, onedrive.com, or your organisation's tenant name.
  8. Click the dropdown arrow for each entry and select Remove.
  9. Restart your computer to ensure all cached sessions are terminated.
Removing these credentials does not delete your files; it only forces Windows to ask for your login details again the next time you access SharePoint.

Step 2: Refresh your OneDrive authentication

  1. Locate the OneDrive cloud icon in the system tray (bottom-right corner of your screen). You may need to click the upward arrow to show hidden icons.
  2. Click the Help & Settings gear icon.
  3. Select Settings.
  4. Go to the Account tab.
  5. Click Unlink this PC. Confirm the action when prompted.
  6. Click Add an account and sign in with your work email address.
  7. Complete the Multi-Factor Authentication (MFA) prompt when it appears.

Step 3: Force a clean re-sync of SharePoint libraries

  1. Open OneDrive Settings via the system tray icon.
  2. Navigate to the Account tab.
  3. Do not manually delete the SharePoint folder from your local File Explorer before stopping the sync in OneDrive settings, as this may result in data loss for files that have not yet uploaded to the cloud.
  4. Under the list of synced libraries, click Stop sync next to the SharePoint library causing the error.
  5. In the same Account tab, click Add a library.
  6. Open SharePoint in your web browser.
  7. Navigate to the specific document library you wish to sync.
  8. Click the Sync button in the library toolbar.
  9. Allow OneDrive to re-download the folder structure and files.

Troubleshooting

OneDrive is not installed

If you do not see the OneDrive cloud icon in your system tray, OneDrive may not be installed on your new workstation. For a small office environment, you can install it by visiting the Microsoft OneDrive download page and signing in with your work email. Once installed, follow Step 2 to authenticate your account.

Sync option is greyed out

If the Sync button in SharePoint is greyed out, your organisation's administrator may have restricted sync capabilities for your security group. Alternatively, ensure you are using a modern web browser such as Microsoft Edge or Google Chrome. If the issue persists, your tenant may require a conditional access policy update.

Tenant not recognised

If Windows does not recognise your organisation's tenant during sign-in, ensure you are entering your full work email address (e.g., [email protected]) rather than just a username. If you are on a shared office PC, ensure no other user is signed into OneDrive, as only one personal OneDrive account can sync at a time.

Error persists after clearing credentials

If you still see "Access Denied," verify that your user account has not been locked out or that your password hasn't recently expired. Log into Microsoft 365 in a private browser window. If you cannot log in there, your organisation's IT administrator may need to reset your password.

MFA token loop

If you are stuck in a loop where Windows repeatedly asks for your MFA code, ensure your system date and time are set to Set automatically in Settings > Time & language > Date & time. Incorrect system clocks often cause authentication tokens to be rejected immediately.

Browser works but File Explorer does not

This usually indicates a local cache issue. Try opening File Explorer and navigating to %userprofile%. Locate the SharePoint folder, right-click it, and ensure it is not marked as "Offline" or "Work Offline" in the OneDrive status menu.

If these steps do not resolve the issue, Open a Ticket so we can investigate your tenant permissions and device configuration.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket