Posted on 2011-02-17
Medium Priority
Last Modified: 2012-05-11
Whats the best way to handle Iphones on Exchange 2007.

Is there a way to set up a group on AD.  I dont want to go through all users on exchange and disable activie sync, we have 700 users and only 130 of those have iphones.

Any ideas, please help cause we have only one Exhange box and its dying
Question by:happyexchange
  • 2
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34921372
You can globally disable Activesync for ALL users and then enable it for the relevant users that have been authorised to use it or disable it user by user.  Either way - there is no quick fix.

Do you allow any user to connect their iPhone to the server or only authorised ones?

Author Comment

ID: 34921457
Well its only for authorised users but private users are putting them selves on  our exchange.  There is must be something i an do with AD to force passwords or something
LVL 76

Accepted Solution

Alan Hardisty earned 2000 total points
ID: 34921497
Well - to disable it globally you can use the following EMS command:

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

Then you can enable it either through the EMC one by one, or again through the EMS using the following command:

Set-CASMailbox -Identity user@domain.com -ActiveSyncEnabled $true

If you get a list of authorised users, you can create a text file with a line per user that is authorised and just copy / paste that into the EMS like this:

Set-CASMailbox -Identity user1@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user2@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user3@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user4@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user5@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user6@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user7@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user8@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user9@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user10@domain.com -ActiveSyncEnabled $true
Set-CASMailbox -Identity user11@domain.com -ActiveSyncEnabled $true

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
This article summarizes the problem of addictive cell phone usage that college students across the country are facing. It covers the issues with obsessive cell phone addiction, reasons why this is happening, and what we can do to solve this problem.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

580 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