Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Activesync for Exchange 2007

Posted on 2011-09-09
9
Medium Priority
?
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 2000 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

618 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