Activesync for Exchange 2007

I also need to do the same with 2007 on server 2008, is there a way with out 3rd party apps?
AA095927Asked:
Who is Participating?
 
Alan HardistyConnect With a Mentor Co-OwnerCommented:
To disable Activesync for ALL users, please use the following in the Exchange Management Shell:

get-Mailbox | set-CASMailbox -ActiveSyncEnabled:$False

To then enable it on a mailbox by mailbox basis, use the following command:

Set-CASMailbox -Identity user@domain.com -ActiveSyncEnabled:$true
0
 
AA095927Author Commented:
Do those commands work in both Standard and Enterprise, including 2010?
0
 
Alan HardistyCo-OwnerCommented:
Yes - the commands are not version specific.
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
AA095927Author Commented:
So if I run the first command, then the second within a few seconds, will the iPhone/Droid user need to reconnect/reactive there phone?  Or should it be pretty seemless?
Also, does disabling it for everyone first effect any of the pre-configured Password or Sync settings?
0
 
Alan HardistyCo-OwnerCommented:
If you disable Activesync globally for all mailboxes (1st command), then existing users will not be able to use Activesync until their account is enabled again.

Once it is enabled again (2nd command), they won't need to re-connect or re-authenticate etc.  It is just like turning on / off a light switch.  You are allowing or denying access via Activesync - not forcing a re-configuration.

There won't be any problems with existing users if you disable then re-enable Activesync for them.  They probably won't even notice.

You can also copy/paste the command into a text file and then configure the users you want to allow, then copy paste the entire list into the EMC and batch enable the users you want e.g.,

Set-CASMailbox -Identity userA@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userB@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userC@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userD@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userE@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userF@domain.com -ActiveSyncEnabled:$true
Set-CASMailbox -Identity userG@domain.com -ActiveSyncEnabled:$true
0
 
AA095927Author Commented:
So the password and sync settings stay the same?
0
 
Alan HardistyCo-OwnerCommented:
Yes - no changes to them at all.
0
 
AA095927Author Commented:
Thanks again Alan!
0
 
Alan HardistyCo-OwnerCommented:
You are most welcome.

Thanks for the points.

Alan
0
All Courses

From novice to tech pro — start learning today.