This setting lets you specify SharePoint team site libraries to sync automatically the next time users sign in to the OneDrive sync app. The OneDrive sync app will automatically download specified libraries as online-only files at the user’s next sign-in, and users will not be able to stop the syncing of these libraries. Microsoft states that syncing may take up to 8 hours after the user signs in, though in my experience, it only took about 2 hours.
Requirements
To automatically sync a SharePoint site library to Intune-managed Windows devices, you can use the OneDrive settings available in the Configuration blade in Microsoft Endpoint Manager (Intune). Here’s a step-by-step approach:
Step 1: Configure OneDrive Settings in SharePoint
Login to SharePoint admin portal as global or SharePoint administrator and locate the library to be synced.
Go to the “Documents” and select “Sync” at the top
Cancel out the “Open Microsoft OneDrive” window and select Copy library ID
The special characters in this copied string are in Unicode and must be converted to ASCII.
To convert the Unicode to ASCII, open up a PowerShell and run this command below.
replacing “Copied String” with the library ID you copied above and press Enter:
Save the resulting ID for later use in Step 2.
Step 2: Set up Intune Configuration
Go to “Endpoint manager” admin portal> Devices > Configuration
Select Create New policy
Platform: Windows 10 and later
Profile type: Template
Template name: Administrative templates
and Create
Name: Give it a descriptive name and click Next to Configuration settings
Click on All Settings> search for OneDrive > Select Configure team site libraries to sync automatically(User)
Select Enabled > Enter a name for the library, copy and paste the ID saved in Step 1 above.
Click OK
Again on search bar, type “Use OneDrive File On-Demand” and enable that as part of this configuration. You can enable as many settings as needed here.
Click Next and leave Scope as Default and Next to the Assignment
Assignment: Assign devices or users groups as required and Create
The SharePoint library was synced to down to the user device after couple of hours as seen below.
Further reading at Microsoft here