Have you looked at the Settings Catalog and search for NoDrives
Or if they are configured as Shared devices, you can look at the Local storage option https://learn.microsoft.com/en-us/mem/intune/configuration/shared-user-device-settings-windows#shared-multi-user-device-settings