Link to home
Start Free TrialLog in
Avatar of RMGS
RMGS

asked on

How do I get Autodiscover service working for a user logged in locally to a laptop?

Hi, Can you please help?

Just recently installed Exchange 2007 SP1 and I have run into a problem. Our school has staff laptops which users log on locally and because of this, the OAB and the Autodiscover is having problems. Outlook clients keep on crashing and when Outlook initially sends/receives it takes a very long time, gets stuck on 5 seconds and shows an error:-

Reported error (0x8004010f): the operation failed,an object cannot be found.

If I uncheck download OAB in send/receive options then the issue is a temporarily fixed as Outlook doesn't crash but I still get the error above. Disabling downloading OAB is not an option as I would like this feature to work for staff.

I was given a possible solution, which was to create an internal SRV record. I did this and it hasn't resolved the issue.

Do you think creating an external SRV record will resolve the issue?

Avatar of Busbar
Busbar
Flag of Egypt image

Nop, Local user's should work fine with the Exchange and autodiscover, it looks that something is wrong with the windows or outlook configuration, keep in mind that autodiscover is a subject and OAB is another one.
for OAB: I believe that the problem that users cannot query the AD so they try to connect to the OAB external URL, do you have configured on the OAB virtual directory (The External URL), it can be the same as the internal one, or can use an External FQDN.
Avatar of RMGS
RMGS

ASKER

Hi Busbar,

Yes I have configured the OAB virtual directory and the internal and external urls.

Internally I can access https://excsvr.ad.rmgs/oab/efc3a76b-9a5c-4d11-b1ae-f754fa887e33/oab.xml
what is the external URL, and can the user how is not joined to the domain access it
Avatar of RMGS

ASKER

This is where I am getting confused. When I right click the Outlook icon in the system tray, then Test Email Autoconfiguration, test Autodiscover.

Autodiscover to https://rmgs.org.uk/autodiscover/autodiscover.xml
Autodiscover internet timeout against url https://rmgs.org.uk/autodiscover/autodiscover.xml
......

The above urls are wrong, as those to point to anything. They should be pointing to https://mail.rmgs.org.uk/autodiscover/autodiscover.xml
can you go to powershell and type
Set-ClientAccessServer –Identity <CAS Server Name> -AutoDiscoverServiceInternalUri: <Internal URL> -AutoDiscoverServiceExternalUri: <External URL>

and restart IIS and try again
Avatar of RMGS

ASKER

Set-ClientAccessServer : A parameter cannot be found that matches parameter nam
e 'AutoDiscoverServiceInternalUrl'.
At line:1 char:80
+ Set-ClientAccessServer -Identity Dione.ad.rmgs -AutoDiscoverServiceInternalUr
l:h <<<< ttps://dione.ad.rmgs/autodiscover -AutoDiscoverServiceExternalUrl: htt
ps://mail.rmgs.org.uk/autodiscover

Sorry to be a pain but thats the error I get
sorry use this cmdlet
Set-WebServicesVirtualDirectory -identity "CAS01\EWS (Default Web Site)" -externalurl https://mail.contoso.com/EWS/Exchange.asmx
were the CAS01 is you cas serer name
Avatar of RMGS

ASKER

Busbar, I have done that and restarted IIS. Just out of interest, what does that command do to help this problem?
this corrects the autodiscover settings on the Exchange, now users will connect to the URL you typed
Avatar of RMGS

ASKER

Hi Busbar, please accept my apology for the late reply but I was away for the weekend. Back to this problem; I cannot figure out why I am having these issues.When you type https://mail.rmgs.org.uk/autodiscover/autodiscover.xml into the browser it displays:-

  <?xml version="1.0" encoding="utf-8" ?>
- <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
- <Response>
- <Error Time="10:32:36.5916628" Id="2919603893">
  <ErrorCode>600</ErrorCode>
  <Message>Invalid Request</Message>
  <DebugData />
  </Error>
  </Response>
  </Autodiscover>

Does this mean I need to remove teh autodiscover virtual directory and recreate?
Yes please
also try autodiscover.rmgs.org.uk
ASKER CERTIFIED SOLUTION
Avatar of RMGS
RMGS

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
glad that I helped