Solved

Activesync for Exchange 2007

Posted on 2011-09-09
9
286 Views
Last Modified: 2012-05-12
I also need to do the same with 2007 on server 2008, is there a way with out 3rd party apps?
0
Comment
Question by:AA095927
  • 5
  • 4
9 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 36514227
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
 

Author Comment

by:AA095927
ID: 36514244
Do those commands work in both Standard and Enterprise, including 2010?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514265
Yes - the commands are not version specific.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:AA095927
ID: 36514281
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
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514329
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
 

Author Comment

by:AA095927
ID: 36514353
So the password and sync settings stay the same?
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514357
Yes - no changes to them at all.
0
 

Author Closing Comment

by:AA095927
ID: 36514365
Thanks again Alan!
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36514377
You are most welcome.

Thanks for the points.

Alan
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
This video discusses moving either the default database or any database to a new volume.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question