Share via


How to identify Mobile Devices in Exchange

Question

Tuesday, October 18, 2016 1:46 PM

Hi

I have a question on how to identify Mobile Devices on Exchange.

As it is now we have several users which have 5-8 mobile devices, but have trouble when the devices are being replaced or discarded. How do we identify the device being replaced/discarded in exchange

I have also tried using powershell, bu i am not able to get any info which i can uniquely identify the device.

If the user has two identical Ipad's its impossible to know which device to wipe or delete.

All replies (8)

Wednesday, October 19, 2016 2:15 PM âś…Answered | 1 vote

Ok, I see what you are saying. YEa, Device reporting kinda blows.

Follow this to view the Exchange Device ID on an apple device

https://support.apple.com/en-us/HT204585

The Outlook app is a little different and creates a new ID tied to the application

Blog:    Twitter:   


Tuesday, October 18, 2016 6:28 PM | 2 votes

The deviceID is unique. You can tell by last sync time if its still being used. 

Get-MobileDeviceStatistics -Mailbox <user> |FL *deviceid*, *lastsync*

Blog:    Twitter:   


Tuesday, October 18, 2016 7:10 PM | 1 vote

Hi.

Get-Mailbox -ResultSize Unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity | fl} | export-csv "ASyncDevices.csv"

Get-MobileDeviceStatistics -Mailbox [email protected] | fl deviceid, identity

Remove-ActiveSyncDevice -Identity "old deviceID"

or

you can use Microsoft mobile application management (MAM), if you have many devices.

MCITP, MCSE. Regards, Oleg


Wednesday, October 19, 2016 10:16 AM

Thanks for the answer. This helped as i can use the lastsync to identify the devices that dont have synced, and identify to identify the device in the AD.

But unfortunately this information is not always enough, as this is not enough information to uniquely identify the device that i want to wipe/delete.

Is there a property that i can fetch with powershell that i can see on the device itself, if i go in the device settings . A serialnumber or something simular. A unique identifier for that device, and not just in the AD

Regarding MAM, we are planning on using Intune, but i have to find a solution to identify devices until then.


Wednesday, October 19, 2016 11:25 AM

Thanks for the answer. This helped as i can use the lastsync to identify the devices that dont have synced, and identify to identify the device in the AD.

But unfortunately this information is not always enough, as this is not enough information to uniquely identify the device that i want to wipe/delete.

Is there a property that i can fetch with powershell that i can see on the device itself, if i go in the device settings . A serialnumber or something simular. A unique identifier for that device, and not just in the AD

Regarding MAM, we are planning on using Intune, but i have to find a solution to identify devices until then.

The DeviceID.

Blog:    Twitter:   


Wednesday, October 19, 2016 12:18 PM

The DeviceID.

Blog:    Twitter:   

Hi Andy

I used a user which i knew only had one device, and on his device (IPhone) i tried to find the DeviceID, but was not able to find it. Where on the device should i find this ID? In this case a IPhone.

Get-MobileDeviceStatistics -Mailbox username | ft deviceid, *lastsync*, *Model*, identity

DeviceID                                              LastSyncAttemptTime                                   DeviceModel                                          Identity                                            
                                                                                                                                                                       
(id replaced with X) XXXVXXXXXXXXXXXXXXXXXXXXXXXXXX                            19-10-2016 11:49:31                                   iPhone6C2                                            mydomain.local/......
(id replaced with X) XXXXXXXXXXXXXXXXXX                                      19-10-2016 11:54:35                                   Outlook for iOS and Android                          mydomain.local/......


Wednesday, October 19, 2016 4:25 PM

Ok, I see what you are saying. YEa, Device reporting kinda blows.

Follow this to view the Exchange Device ID on an apple device

https://support.apple.com/en-us/HT204585

The Outlook app is a little different and creates a new ID tied to the application

Blog:    Twitter:   

Thank you very much, this is exactly what i was looking for.

Do you by the way know how to do this on Android devices?


Wednesday, October 19, 2016 4:55 PM

Ok, I see what you are saying. YEa, Device reporting kinda blows.

Follow this to view the Exchange Device ID on an apple device

https://support.apple.com/en-us/HT204585

The Outlook app is a little different and creates a new ID tied to the application

Blog:    Twitter:   

Thank you very much, this is exactly what i was looking for.

Do you by the way know how to do this on Android devices?

Unfortunately, no! I hear those are even harder to track down. lol

Blog:    Twitter: