Exchange 2010. 403 error. activesync not working for some users.

Hello Experts

We have some mobile users that has trouble connecting to exchange via activesync.

When using exchange analyzer and activesync tester i get the error 403 from both of them, saying access denied.

I used to fix this problem by enabling inherit in AD. But now it doesn't work.

I have enabled "Basic authentication" on the IIS side for active-sync folder.

Active sync policies from exchange have "allow non-provisible devices" enabled.

I am suspecting it could be an AD issue, since this user had a working activesync previously. no membership or permissions has been changed.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Member_2_8001432Author Commented:
just to add, i just created a new account, and created a new mailbox. Activesync works.
Scott CSenior EngineerCommented:
Here are my notes on troubleshooting ActiveSync.  Do this for your troubled users.

ActiveSync Mailbox Logging

Open Exchange management shell on any Exchange server. Run cmd below,
Set-CASMailbox aliasofUser -ActiveSyncDebugLogging:$true
To retrieve logs.
Get-ActiveSyncDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddress

Set-CASMailbox aliasofUser -ActiveSyncDebugLogging:$false


1)  Delete the email account from the device. (Remove the profile)
2)  Find out what ActiveSync devices are associated with a user’s mailbox:
            Get-ActiveSyncDevice -Mailbox "Redmond\TonySmith"
3)  Remove the device in question from ActiveSync:  
            Remove-ActiveSyncDevice -Identity iPhone_TonySmith -Confirm $true
4)  Enable ActiveSync logging for the user’s mailbox:
            Run the following command on the server where the user’s mailbox is located “Set-CASMailbox alias -ActiveSyncDebugLogging:$true”
5) Re-add the device
6) Allow syncing to commence and complete
7) Dump the captured log file to an email address:
            Get-ActiveSyncDeviceStatistics -Mailbox alias -GetMailboxLog:$true -NotificationEmailAddress

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Member_2_8001432Author Commented:
i think your debug comment helped me solve it. Testing it now.

i saw in the log this:
WARNING: You currently have 10 Exchange ActiveSync partnerships out of 10 maximum partnerships allowed per user. After
you reach the maximum, no new partnerships can be created until you remove some from your account.

I have removed some devices and waiting for them to remove the old devices. Gonna try again. You might just have given me the solution!

Gonna test it first :)
Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

Scott CSenior EngineerCommented:
Yes.  Too many partnerships will cause that.

That article is a great read.  I personally know the author and worked with him first-hand at MS.
Member_2_8001432Author Commented:
Yep, max devices were reached. Thanks!
Scott CSenior EngineerCommented:
Glad I could help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.