Erste Schritte oder Anweisungen für die Verwendung von Microsoft Q&A
Hello,
I can advise you to use Azure AD PowerShell. The following link shows how to list all the devices:
https://learn.microsoft.com/en-us/powershell/module/azuread/get-azureaddevice?view=azureadps-2.0
Use -All for this purpose. This command retrieves all devices and selects only the necessary details such as DisplayName, DeviceId, DeviceOSType, OSVersion, without getting the recovery key.
Best Regards,