Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

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?
0
AA095927
Asked:
AA095927
  • 5
  • 4
1 Solution
 
Alan HardistyCommented:
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 HardistyCommented:
Yes - the commands are not version specific.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 HardistyCommented:
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 HardistyCommented:
Yes - no changes to them at all.
0
 
AA095927Author Commented:
Thanks again Alan!
0
 
Alan HardistyCommented:
You are most welcome.

Thanks for the points.

Alan
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now