Link to home
Start Free TrialLog in
Avatar of quatral
quatral

asked on

Exchange 2007 - Authentication popup and EWS problem

Hi,

I'm managing an Exchange 2007 Server installed on Windows Small Business 2008. Recenlty I  installed the server and updates available. Since then, have alot of problem with the server.

I had to manually delete every IIS SBS Web Application and recreate it with the Exchange Management Shell.

The problem I have now is the following:

When user use Outlook they enter their credentials and after a couple of seconds another popup appear that demand to enter credentials again. Even if I enter the correct user and passwords, this popup always appear a couple of seconds later.

It's my understanding that this problem is releated to to EWS entry in IIS, but cannot find the necessary solution to solve it.

It's important to note that user can still access email, calendar, note etc. even if they have this popup. Once we close the window a couple of times, user can use outlook normally until the problem appear again.
In attachment I joined the output of the "test-outlookwebservices" | fl command
Exchange-2007-Output.txt
ASKER CERTIFIED SOLUTION
Avatar of zippybungle2003
zippybungle2003
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It seems to me that your permissions on your Exchange Virtual Directories are a bit pooched.
How did you recreate the virtual directories?

Grts,

Michael
If yuo need to recreate the correct waypen the exchange managment shell and enter the below.

Remove-OwaVirtualDirectory -Identity “owa (default Web site)”


Then

Remove-ECPVirtualDirectory -Identity “ecp (default Web site)”

Then

New-OwaVirtualDirectory

Then

New-ECPVirtualDirectory


then

Reset IIS.
Avatar of quatral
quatral

ASKER

Hi,

I used the command available in the script available here: http://technet.microsoft.com/en-us/library/dd767439%28WS.10%29.aspx

Remove-EWSVirtualDirectory -Identity "SBS Web Applications"
Remove-OwaVirtualDirectory -Identity "SBS Web Applications"

And Then, recreate the entry with the command

New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2007" -ExternalAuthenticationMethods Fba
Set-OWAVirtualDirectory -InternalUrl "https://sites/owa/" -ClientAuthCleanupLevel "Low" -LogonFormat "UserName" -DefaultDomain $strDomainDNS -Identity "Owa (SBS Web Applications)"
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exadmin" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Mailboxes" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exchweb" -ExternalAuthenticationMethods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "PublicFolders" -ExternalAuthenticationMethods Fba
New-WebServicesVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/EWS/Exchange.asmx" -basicauthentication 1 -windowsauthentication 1
New-ActiveSyncVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/Microsoft-Server-ActiveSync" -ExternalAuthenticationMethods Basic -InternalAuthenticationMethods Basic
Since this is an SBS2008, did you (re)run the Internet Publishing/Connection wizard?
Could you check your IIS configuration with regards to Certificates as well please?
http://technet.microsoft.com/en-us/library/bb123583(EXCHG.80).aspx
Avatar of quatral

ASKER

Thanks,

I just checked and apply theses settings to my exchange server. So far the problem is solved.

Thanks,
Jonathan