Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange 2007 - Authentication popup and EWS problem

Posted on 2011-02-21
7
Medium Priority
?
1,299 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:quatral
[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
  • 3
  • 2
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
zippybungle2003 earned 2000 total points
ID: 34943042
Ive seen something similar before, Is the exchange patched to the latest patch as im sure there was an issue with an update after service pack 1...


http://www.techieshelp.com/outlook-prompts-for-credentials/

0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 34943062
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
0
 
LVL 5

Expert Comment

by:zippybungle2003
ID: 34943075
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.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:quatral
ID: 34943222
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
0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 34943254
Since this is an SBS2008, did you (re)run the Internet Publishing/Connection wizard?
0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 34943273
Could you check your IIS configuration with regards to Certificates as well please?
http://technet.microsoft.com/en-us/library/bb123583(EXCHG.80).aspx
0
 

Author Closing Comment

by:quatral
ID: 34943476
Thanks,

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

Thanks,
Jonathan
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

609 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