question

ChrisG2911-2022 avatar image
0 Votes"
ChrisG2911-2022 asked ChrisG2911-2022 commented

Exchange 2016 activeSync Device not showing

Hello,

I'm having an issue with mobile devices not connecting to their mailbox. We are on prem, Exchange 2016 CU 20.
When I run Get-MobileDevice -mailbox xxx, nothing is returned
When I run get-casmailbox "user", a few mobile devices IDs are in ActiveSyncAllowedDeviceIDs, same devices are in the AD attribute msExchAllowedMobileDeviceIDs.

So I found an old article saying that the active devices list for a mailbox are saved in the mailbox information and in AD (sorry I lost the URL).
So I deleted the mobile IDs in AD (cleared msExchAllowedMobileDeviceIDs), and yet they are listed in get-casmailbox "user" | fl ActiveSyncAllowedDeviceIDs, and it is not a DC replication issue, I checked against every DC.

I'm lost, where are stored those information? How come those attributes are not synced, or how are they synced?

Thank you in advance!

office-exchange-server-connectivity
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @ChrisG2911-2022

The command set-casmailbox "user" -ActiveSyncAllowedDeviceIDs $null provided by Andy may clear the list of device IDs.

85509-25.png

Besides,did the problem happen after applying CU20?

0 Votes 0 ·
25.png (31.1 KiB)

1 Answer

AndyDavid avatar image
0 Votes"
AndyDavid answered ChrisG2911-2022 commented

Sometimes data gets stuck in the mailbox itself and needs to be cleared with mfcmapi:
http://daddyr.blogspot.com/2013/08/remove-corrupt-activesync-device-from.html

Also, if you run
set-casmailbox "user" -ActiveSyncAllowedDeviceIDs $null

does it still not clear?



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, I ran the command yesterday, and it cleared the data.

So does it mean that the AD attribute sync with the CAS mailbox attribute activeSyncDevice from the mbx to the AD, so deleting the AD would not change anything if I don't clear via CASMailbox cmd?

Thank you for the article, it was the one I read, so this info is stored in 2 places, in the mbx and in the AD.

Thank you both for your help!

0 Votes 0 ·