External user can sync shared contents with following conditions:
1.External user should have license for OneDrive in another SharePoint tenant. The external account should be an organization account, like emily@tenant.onmicrosoft.com. It cannot be a Microsoft account or personal account.
2.Shared contents must be shared at the site or folder level. External user can't sync files that are shared individually.
3.Shared contents cannot be shared by an Anyone link (also known as "anonymous access" link).
Reference:
https://learn.microsoft.com/en-us/sharepoint/b2b-sync#methods-of-sharing
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.