Don't ask how I know this (AD permissions issues from Exchange 2013 migration), 
but users that have Activesync get a container called 
"ExchangeActiveSyncDevices" created underneath their AD user account that holds 
some information about the sync object.  As MBS said, querying this is not 
going to be supported, but you may be able to acquire the information you're 
looking for.

Switch ADU&C into the view, "Users, Contacts, Groups, and Computers as 
Containers" and then drill down to a user object where you know Activesync is 
already enabled to see the container and subobjects.

-Bonnie
From: [email protected] [mailto:[email protected]] On 
Behalf Of Haritwal, Dhiraj
Sent: Tuesday, September 22, 2015 10:12 PM
To: [email protected]
Subject: RE: [Exchange] List Active Sync enabled Users

I got your point, MBS. I am just trying to figure out AD Attribute which can 
confirm which user has Active Sync Enabled & which one doesn't.

When Users Mailbox/ActiveSync details (including device details) are stored on 
AD Account, there has to be some attribute which can verify.

Dhiraj




From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Michael B. Smith
Sent: 19 September 2015 21:02
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange] List Active Sync enabled Users

I didn't say that. I said "Since Exchange 2007, what you are trying to do is 
non-supported except by using the Exchange PowerShell cmdlets."

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Haritwal, Dhiraj
Sent: Saturday, September 19, 2015 1:27 AM
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange] List Active Sync enabled Users


MBS,

Do you mean there is no attribute stored in AD for an active sync enabled user.

There has to be something.
Even mailbox details are stored in AD so should be.....

Sent from my Sony Xperia(tm) smartphone


---- Michael B. Smith wrote ----
Then use something like wireshark or netmon.

Since Exchange 2007, what you are trying to do is non-supported except by using 
the Exchange PowerShell cmdlets.

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Haritwal, Dhiraj
Sent: Wednesday, September 16, 2015 2:52 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [Exchange] List Active Sync enabled Users


Thanks, I don't have access to Exchange hence playing with AD only.

Sent from my Sony Xperia(tm) smartphone


---- Kennedy, Jim wrote ----
>From Exchange Powershell:

Get-CASMailbox -ResultSize Unlimited | where { $_.ActiveSyncEnabled -eq 'True'} 
| ft name, activesyncenabled

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Haritwal, Dhiraj
Sent: Wednesday, September 16, 2015 2:40 PM
To: [email protected]<mailto:[email protected]>
Subject: [Exchange] List Active Sync enabled Users

Hi,

I am trying to list all Active Sync enabled users from AD powershell & running 
ldap query for below two AD attributes. Kindly suggest if it's the correct way 
or I should search any other AD attribute.

msExchMobileMailboxFlags=1
msExchMobileMailboxPolicyLink=*



Regards,

Dhiraj


________________________________

This email is confidential and intended only for the use of the individual or 
entity named above and may contain information that is privileged. If you are 
not the intended recipient, you are notified that any dissemination, 
distribution or copying of this email is strictly prohibited. If you have 
received this email in error, please notify us immediately by return email or 
telephone and destroy the original message. - This mail is sent via Sony Asia 
Pacific Mail Gateway..

________________________________

This email is confidential and intended only for the use of the individual or 
entity named above and may contain information that is privileged. If you are 
not the intended recipient, you are notified that any dissemination, 
distribution or copying of this email is strictly prohibited. If you have 
received this email in error, please notify us immediately by return email or 
telephone and destroy the original message. - This mail is sent via Sony Asia 
Pacific Mail Gateway..

________________________________

This email is confidential and intended only for the use of the individual or 
entity named above and may contain information that is privileged. If you are 
not the intended recipient, you are notified that any dissemination, 
distribution or copying of this email is strictly prohibited. If you have 
received this email in error, please notify us immediately by return email or 
telephone and destroy the original message. - This mail is sent via Sony Asia 
Pacific Mail Gateway..

________________________________

This email is confidential and intended only for the use of the individual or 
entity named above and may contain information that is privileged. If you are 
not the intended recipient, you are notified that any dissemination, 
distribution or copying of this email is strictly prohibited. If you have 
received this email in error, please notify us immediately by return email or 
telephone and destroy the original message. - This mail is sent via Sony Asia 
Pacific Mail Gateway..

Reply via email to