Error in CAS autodiscover - The Uri must be of UriKind Absolute
I have 2 CAS 2010 servers configured through NLB. The Internal url value is configured to cas.domain.com. When I run
Get-AutodiscoverVirtualDirectory, it throws the following error:-
WARNING: The object CAS02\Autodiscover (Default Web Site) has been corrupted, and it's in an inconsistent state. The
following validation errors happened:
WARNING: The property value you specified, "cas.domain.com" is invalid. The Uri must be of UriKind Absolute
Everything was working as expected so I didn't bother much, but now when I was applying SP1, it threw the same error again and upgrade
failed.
any clues?
August 31st, 2010 9:02pm
An absolute URi means that it is the complete path to the resource, i.e.
http://cas.domain.com/index.html etc... ( this is just an example)
You typically do not need to set those on the autodiscover virtual directory however.
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2010 9:16pm
When I run Get-AutodiscoverVirtualDirectory, the InternalUrl and and ExternalUrl are shown empty. Is that normal?
August 31st, 2010 9:29pm
Yes.
Where is the cas.domain.com entry set?
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2010 9:33pm
It's set in set-clientaccessserver AutodiscoverServiceInternalUri
August 31st, 2010 9:54pm
That should be set to:
https://cas.domain.com/autodiscover/autodiscover.xml
( Assuming that is what you have set for the certificate and is the URL you want internal clients to connect to of course)
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2010 10:06pm