Having trouble allowing access to ActiveSync for a mobile device? You set Allowed through the GUI but it comes back Access Denied?
Try Powershell…
Start by discovering the DeviceID of the stubborn device with a Get-MobileDeviceStatistics –Mailbox user@domain.com
command.
You’ll be looking for DeviceID
and the current DeviceAccessState.
Get-MobileDeviceStatistics
-Mailbox jdoe@domain.com
Once you know the DeviceID
you can enter the following command to allow that device to utilize ActiveSync.
Note the DeviceID at the end of the
command.
Set-CASMailbox
-Identity jdoe@domain.com -ActiveSyncAllowedDeviceIDs
G5CV17DITH25F0P91LHFG46FMG
To verify your work rerun the Get-MobileDeviceStatistics command to see if DeviceAccessState now
shows Allowed.
Get-MobileDeviceStatistics
-Mailbox jdoe@domain.com
Thank you! A couple years later but still helped!
ReplyDeleteArticle saved my bacon. Thanks!
ReplyDeleteIt doesn't work for me
ReplyDeleteThanks for this. MDM migration caused this for a small group of our users.
ReplyDeleteHowdy! I know this is kinda off topic but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot! Venito Leather Phone case wallet
ReplyDeletedj equipments that are built by Sennheiser are the best in my opinion, we always use them when we have a gig:: Venito Leather Apple Watch Bands
ReplyDeleteI totally agree! I came over from google and am looking to subscribe. Where is your RSS feed? Leather Watch Bands
ReplyDeletehello!,I love your writing so so much! share we keep in touch more about your article on AOL? I require a specialist on this house to solve my problem. Maybe that’s you! Looking forward to look you. Leather Watch Bands by Venito
ReplyDelete