Additional Microsoft Entra services and features related to identity, access, and network security
Hi,
You will not be able to use PowerShell or CLI to query Azure AD DS unlike Azure AD. You need to have access to any VM which is domain joined to Azure AD DS and you can perform AD commands to perform your query.