Fix Teams Cannot Sync a Channel Library for an External Guest
🔍 WiseChecker

Fix Teams Cannot Sync a Channel Library for an External Guest

When an external guest tries to sync a SharePoint document library attached to a Teams channel, they often see an error that the sync did not complete. This happens because the guest account lacks the correct permissions or because the sync client cannot authenticate the external identity. In this article, you will learn the exact steps to fix the sync failure, including how to adjust SharePoint permissions, clear cached credentials, and re-add the library in OneDrive.

Key Takeaways: Restoring Channel Library Sync for External Guests

  • SharePoint site permissions: Grant the guest at least Contribute access to the site that hosts the channel library.
  • OneDrive sync client reset: Clear cached credentials and restart the sync client to force a fresh authentication.
  • Re-add the library: Remove the library from OneDrive sync and add it again using the Sync button in Teams.

ADVERTISEMENT

Why External Guests Cannot Sync a Channel Library in Teams

A channel library is a SharePoint document library that is connected to a specific channel in Teams. When you click the Files tab in a channel, you are viewing that library. Guests are external users who are invited to a team with limited permissions. To sync a channel library, the guest must have at least Contribute permission on the SharePoint site that hosts the library. The sync client, which is part of OneDrive, uses the guest’s Microsoft account to authenticate. If the guest’s account is not recognized by the SharePoint site, or if the site has restricted external sharing, the sync will fail.

Another common cause is that the guest has multiple identities, such as a personal Microsoft account and a work or school account. The sync client may try to authenticate with the wrong identity, causing an access denied error. Additionally, cached credentials from a previous session can interfere with the new authentication attempt.

Steps to Diagnose and Fix Channel Library Sync for a Guest

Follow these steps in order. Each step addresses a specific cause of the sync failure.

  1. Verify the guest has the correct SharePoint permission
    Open the Teams admin center and go to Teams apps > Manage apps. Find the team that contains the channel with the library. Click the team name, then select the Members tab. Confirm the guest is listed. Next, go to the SharePoint site that hosts the channel library. You can get the site URL by clicking the Files tab in the channel and copying the URL from the browser. Open that URL in a browser, sign in as a global admin, and go to Site permissions. Ensure the guest is listed with at least Contribute permission. If not, add the guest manually.
  2. Check external sharing settings for the site
    In the SharePoint admin center, go to Active sites. Find the site that hosts the library and click it. In the Sharing section, confirm that external sharing is set to Anyone or New and existing guests. If it is set to Only people in your organization, change it to New and existing guests. Then save the change. Wait a few minutes for the change to propagate.
  3. Clear cached credentials on the guest’s computer
    On the guest’s Windows 11 or Windows 10 computer, open Credential Manager. Type Credential Manager in the search box and press Enter. Click Windows Credentials. Look for entries that start with OneDrive Cached Credential or SharePoint. Remove all entries that contain the guest’s email address or the SharePoint site domain. Then restart the computer.
  4. Reset the OneDrive sync client
    Open OneDrive settings by right-clicking the OneDrive cloud icon in the notification area and selecting Settings. Go to the Account tab and click Unlink this PC. Confirm the action. Then sign in again with the guest’s work or school account. This forces a fresh authentication.
  5. Remove the library from sync and re-add it
    In the File Explorer, right-click the folder that was syncing the library and select Stop syncing. Go to OneDrive settings and check that no sync relationship remains. Open Teams, navigate to the channel, and click the Files tab. Click Sync. If the Sync button is not visible, click the ellipsis (…) and select Sync. Follow the prompts to sign in and choose the library location.

If the Sync Button Is Missing in Teams

If the guest does not see the Sync button in the Files tab, the site may have external sharing disabled. Go back to the SharePoint admin center and verify the sharing setting. Alternatively, the guest may be using the web version of Teams. The Sync button is only available in the Teams desktop client. Ask the guest to install the Teams desktop app.

ADVERTISEMENT

Common Issues After the Main Fix

Even after following the steps above, you may see specific errors. Here are the most frequent ones and how to resolve them.

Guest Gets ‘Access Denied’ When Clicking Sync

This usually means the guest’s account is not recognized by the SharePoint site. The guest may have signed in with a personal Microsoft account instead of the work or school account that was invited. Ask the guest to sign out of OneDrive and Teams, then sign in again using the exact email address that received the invitation. If the problem persists, remove the guest from the team and re-add them using the same email.

Sync Starts but Files Never Download

If the sync client shows a progress bar but no files appear, the library may contain files with blocked file types or names. Check the library for files with special characters, such as # or %. Rename those files. Also, the library may have a large number of files. The sync client has a limit of 300,000 files per library. If the library exceeds that, the sync will not complete. Reduce the number of files or move some to a different library.

Guest Cannot See the Channel Library in OneDrive

After re-adding the library, the guest may not see it in OneDrive. This can happen if the guest has multiple OneDrive accounts. Open OneDrive settings and go to the Account tab. Check which account is active. If the wrong account is active, sign out and sign in with the correct account. Then re-add the library from Teams.

Teams Channel Library Sync: Desktop App vs Web Browser

Item Teams Desktop App Teams in Web Browser
Sync button visibility Always visible for members and guests with proper permissions Not available; only download or open in browser
Authentication method Uses the OneDrive sync client with cached credentials Uses the browser session; no sync client involved
File access Files appear in File Explorer, available offline Files only accessible online
Common errors Access denied, stalled sync, credential prompts No sync errors, but no offline access

After completing the steps, the guest should be able to sync the channel library without errors. If the issue persists, check the SharePoint sharing limits and the guest’s license. You can also try resetting the OneDrive app from the Settings > Account > Reset. This clears all cached data and starts fresh. For advanced troubleshooting, review the sync client logs in the OneDrive folder under the AppData directory.

ADVERTISEMENT