?
Solved

Exchange Mailboxes and ActiveSync Policies

Posted on 2010-04-01
6
Medium Priority
?
993 Views
Last Modified: 2012-05-09
Hello all!

I have written a PowerShell script that runs every night at midnight.  Its purpose is to create mailboxes for new users added in the last 24 hours.  As all of the user creation logic is closely integrated with third party applications, and completed by using PHP scripts, I cannot just use the new-user cmdlet.  Instead, I use the enable-mailbox cmdlet.

The Exchange environment is a mixed environment, with Exchange 2003 as well as Exchange 2007.  The PHP scripts are run on a Server 2003 domain controller, and used to automatically generate the Exchange 2003 mailboxes.  With Exchange 2007, this luxury no longer exists.

So the PowerShell script runs and executes flawlessly.  However, there seems to be a problem with the ActiveSync policy, or the application of said policy.  After the creation of the mailbox in this manner, there's no option to "Manage mobile devices" anywhere for that user.  We were able to hunt it down to a flag in ADSIEdit, and can go in and configure this manually.  However, this really isn't a realistic scenario, as the college has an influx of new users every semester.

I have tried manipulating the value of the Exchange ActiveSync boolean both through the EMC as well as PowerShell.  I have tried moving the mailbox to a different Exchange 2007 mail store.  Nothing.  Still missing.  However, if I move it to Exchange 2003, then move it back to Exchange 2007, voila!

What's going on with this?  Does anyone have any ideas?

TIA,
Melanie
0
Comment
Question by:learjetta96
  • 3
  • 2
6 Comments
 
LVL 9

Expert Comment

by:paarun
ID: 29372409
I think you already have a good work around in place. Why not let the php script create mailboxes in exchange 2003 as usual and you just run a move-mailbox powershell command sometime early morning to move the mailboxes to Exchange 2007?
0
 

Author Comment

by:learjetta96
ID: 29374715
My only concern with this work around is that when we finally decommission the 2003 server (hopefully this summer), we'll still be left with this problem to tackle.  It does put it off, but it doesn't fix the issue.
0
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 29376566
Hi,

Does the Exchange 2007 is updated with the latest service packs and rollups?

---------
Shree
0
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

 

Author Comment

by:learjetta96
ID: 29379785
It is up to date as of about 3 weeks ago.
0
 
LVL 34

Expert Comment

by:Shreedhar Ette
ID: 29380244
What is the latest service pack and rollup on the exchange 2007?
0
 

Accepted Solution

by:
learjetta96 earned 0 total points
ID: 29813899
I believe we are going to punt this to Microsoft, as it should be working.  There are some other weird things happening on the server as well, so at this point employing Microsoft's help is a better idea.

Thanks folks!
0

Featured Post

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!

Question has a verified solution.

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

In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
What is the biggest problem in managing an exchange environment today? It is the lack of backups, disaster recovery (DR) plan, testing of the DR plan or believing that it won’t happen to us.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

588 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