kevinblumenfeld / Posh365

Connect. Provision. Maintain.
57 stars 13 forks source link

Update function to report on devices (Windows, iOS, Android, Mac) #50

Open Neckross opened 4 years ago

Neckross commented 4 years ago

Not sure which will give the most current up to date data Get-MsolDevice (MSOnline) Get-MobileDevice (EXO) Get-AzureADDevice (AzureAD)

Neckross commented 4 years ago

Get-MsolDevice since its part of MSOnline module being deprecated maybe not the best route. It reports all MsolDevices as Azure AD Registered, Azure AD Joined, Hybrid Domain Joined and MDM managed devices (ex. iOS, Android). Get-AzureADDevice its using the new module so it should be used instead for report. It reports all AzureAD Registered, Azure AD Joined, Hybrid Domain Joined and MDM managed devices (ex. iOS, Android). Get-MobileDevice is for EXO and it reports all EAS connected devices.

The only concern is that data found in Get-MsolDevice is not within Get-AzureADDevice... sooo not sure what its missing.

So we can have 2 different reports: Get-EASDevices (based of Get-MobileDevice for EXO EAS devices) Get-AzureDevices (based of Get-AzureADDevices for all other types of devices)

Neckross commented 4 years ago

is there an update on this one?

closed a duplicate case related to this: https://github.com/kevinblumenfeld/Posh365/issues/35

kevinblumenfeld commented 3 years ago

is this complete?

Neckross commented 3 years ago

Well yes I think there's another issue submitted as duplicate.

I created the function in my module too but just for EXO.

Get-MobileDevicesReport Generates mobile devices report for Exchange Online.