Solved

Active Sync Error

Posted on 2014-02-24
8
1,170 Views
Last Modified: 2014-03-03
Hi All.

  I have Exchange 2010 and am trying to get Active Sync working in preparation for a migration from BES to an MDM.   When I run the MS Remote Connectivity Analyzer everything but one thing passes.

Attempting the FolderSync command on the Exchange ActiveSync session.
       The test of the FolderSync command failed.
              
      Additional Details
       
Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).
Diagnostics:

I then looked in the event logs on the exchange server and see this error:

Exchange ActiveSync doesn't have sufficient permissions to create the "CN=XXX,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=XXX,DC=com" container under Active Directory user "Active Directory operation failed on XXXX.com. This error is not retriable. Additional information: Access is denied.
Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
".
Make sure the user has inherited permission granted to domain\Exchange Servers to allow List, Create child, Delete child of object type "msExchActiveSyncDevices" and doesn't have any deny permissions that block such operations.

 So I go onto one of my DCs and verify that the test account indeed has "Include inheritable permissions from this object's parent" checked and that that domain\Exchange Server has the above mentioned permissions on the account but it still doesn't work.  Any suggestions?
0
Comment
Question by:BrianVan
[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
  • 3
8 Comments
 
LVL 9

Expert Comment

by:Sean
ID: 39883270
To work around this issue, assign the Exchange Servers group the right to change permissions against msExchActiveSyncDevices objects. To do this, follow these steps:

    Start Active Directory Users and Computers.
    Click View, and then click to enable Advanced Features.
    Right-click the object where you want to change the Exchange Server permissions, and then click Properties.

    Note You can change permissions against a user, an organizational unit, or a domain.
    On the Security tab, click Advanced.
    Click Add, type Exchange Servers, and then click OK.
    In the Apply to box, click Descendant msExchActiveSyncDevices objects.
    Under Permissions, click to enable Modify Permissions.
    Click OK three times.

http://support.microsoft.com/kb/2579075
0
 

Author Comment

by:BrianVan
ID: 39883347
Hello Zindel1.

  I did the steps you suggested and no change.
0
 
LVL 9

Expert Comment

by:Sean
ID: 39883362
http://ayalaaii.wordpress.com/2012/12/20/exchange-2010-insuff_access_rights-this-error-is-not-retriable-additional-information-access-is-denied/

 if the “Include Inheritable permissions from this objects parent” is cheked you uncheck it Apply setting, then go back check it and Apply agaain, ensuring that permission will get re-applied
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 

Author Comment

by:BrianVan
ID: 39883625
Still not working.
0
 
LVL 9

Expert Comment

by:Sean
ID: 39883637
is this for just one user or all users?
0
 

Author Comment

by:BrianVan
ID: 39883641
I have tested it with 4 users and they have all had the same results so I would assume it is affecting all users.
0
 

Accepted Solution

by:
BrianVan earned 0 total points
ID: 39889057
Well I finally figured it out.  After much trial and error it turns out that the first time I ran the 'prepareAD' command something went wrong.  I ran setup /prepareAD on the mail server again and now it suddenly works.  Not sure what was wrong but it's working now.  Thanks for the help all.
0
 

Author Closing Comment

by:BrianVan
ID: 39900021
Figured it out myself
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
how to add IIS SMTP to handle application/Scanner relays into office 365.

733 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