If you run the command:
you’d except to see all your Intune configuration policies displayed.
However, after connecting to the Microsoft Graph module you see that nothing is returned. My experience has also been receiving incomplete results using these commands.
What I have found is that using the Microsoft Graph directly by using commands like:
$uri = “https://graph.microsoft.com/beta/deviceManagement/deviceConfigurations/”
(Invoke-MSGraphRequest -Url $URI -HttpMethod GET).value
produces the desired results as shown above in the same environment.
So my tip is when working with Intune and Endpoint Manager with PowerShell is, use the Microsoft Grah directly to obtain and set the information you need.