Hi Tonito,
dont get me wrong, but you are trying to put computer objects into a dynamic distribution group?
As far as i know, only mail related object can be put into DL´s
Maybe you mean a dynamic Security group?
To create Security Groups with Devices for Intune, you need to populate them to Azure. That means you need to hybrid join them to Azure AD. i belive only Server from OS Version 2019 can be joined to Azure AD.
https://learn.microsoft.com/en-us/azure/active-directory/devices/hybrid-join-plan