In order to get the "Configure team site libraries to sync automatically" GPO under User Config\Administrative Templates\OneDrive working you need to copy the library ID from here:
Paste it into this powershell command:
[uri]::UnescapeDataString("Copied String")
That will spit out a formatted library ID that you can paste into the Value field here:
It will take some time before the policy starts working.
Reference Microsoft article: Use OneDrive policies to control sync settings - SharePoint in Microsoft 365 | Microsoft Learn