Can’t login to Exchange Admin Center after a clean Exchange 2013 installation

Yesterday, after a clean installation of MS Exchange 2013 RU7 i have some problems to login to the Exchange Admin Center using Exchange administrative credentials

I can successfully connect to the Exchange Power Shell but something seems to be wrong with FormsAuthentication,

IIS log is registering error code “302 0” every time I try to login to the url: https://myservername/ecp/?exchclientver=15

Here is what I did:

I ran the following cmdlet to check ecp virtualdirectory authentication:

Get-Ecpvirtualdirectory -server MYSERVER | fl identity,*auth*


I ran the following cmdlet to change Windows Authentication and Forms Authentication

Set-EcpVirtualDirectory -Identity “MYSERVER\ecp (default web site)” -windowsauthentication $true -formsauthentication $false

Then IISreset to apply changes, 

Then I was able to login successfully to Exchange Admin Center on https://servername/ecp/?exchclientver=15 and I was ready to migrate the Exchange Admin mailbox to a new Exchange 2013 Database.

Once the Exchange Admin mailbox have been migrated, I ran the following cmdlet to enable  Forms Authentication and disable Windows Authentication, as default setting.

Set-EcpVirtualDirectory -Identity “MYSERVER\ecp (default web site)” -windowsauthentication $false -formsauthentication $true

 

Advertisements

Can not synchronize email with smartphone after migrating the mailbox to Exchange 2013

Some users can not synchronize email with mobile devices  after migrating the mailbox to Exchange 2013.

The following error is registered in the event viewer : “Exchange ActiveSync returned an HTTP 500 response.”

Make sure that the check box for “Include inheritable permissions from this object’s parent” is selected in the security tab on the user object in Active Directory