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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Remove-OwaVirtualDirectory
Then
Remove-ECPVirtualDirectory
Then
New-OwaVirtualDirectory
Then
New-ECPVirtualDirectory
then
Reset IIS.
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" -ExternalAuthenticationMet hods 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" -ExternalAuthenticationMet hods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Mailboxes" -ExternalAuthenticationMet hods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exchweb" -ExternalAuthenticationMet hods Fba
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "PublicFolders" -ExternalAuthenticationMet hods Fba
New-WebServicesVirtualDire ctory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/EWS/Exchange.asmx" -basicauthentication 1 -windowsauthentication 1
New-ActiveSyncVirtualDirec tory -WebsiteName "SBS Web Applications" -InternalUrl "https://Sites/Microsoft-Server-ActiveSync" -ExternalAuthenticationMet hods Basic -InternalAuthenticationMet hods Basic
I used the command available in the script available here: http://technet.microsoft.com/en-us/library/dd767439%28WS.10%29.aspx
Remove-EWSVirtualDirectory
Remove-OwaVirtualDirectory
And Then, recreate the entry with the command
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2007" -ExternalAuthenticationMet
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" -ExternalAuthenticationMet
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Mailboxes" -ExternalAuthenticationMet
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "Exchweb" -ExternalAuthenticationMet
New-OWAVirtualDirectory -WebsiteName "SBS Web Applications" -OwaVersion "Exchange2003or2000" -VirtualDirectoryType "PublicFolders" -ExternalAuthenticationMet
New-WebServicesVirtualDire
New-ActiveSyncVirtualDirec
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
http://technet.microsoft.com/en-us/library/bb123583(EXCHG.80).aspx
ASKER
Thanks,
I just checked and apply theses settings to my exchange server. So far the problem is solved.
Thanks,
Jonathan
I just checked and apply theses settings to my exchange server. So far the problem is solved.
Thanks,
Jonathan
How did you recreate the virtual directories?
Grts,
Michael