Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do i find the Auto discover settings? Out Of Office not working 2007

Posted on 2011-09-05
15
Medium Priority
?
328 Views
Last Modified: 2012-05-12
I need to find the auto discover settings on a server , i have the domain controller running on Windows Server 2008 Standard, the Exchange server has service Pack 3 installed and on a OS of Windows Server 2003,

This issue for me has been outstanding for a long time & i would love to get it resolved,

Thanks

James
0
Comment
Question by:phillipnor
  • 6
  • 5
  • 2
  • +1
15 Comments
 
LVL 22

Expert Comment

by:chakko
ID: 36483153
Do You have Exchange 2003?   Auto-discover is not supported on Exchange 2003.
0
 

Author Comment

by:phillipnor
ID: 36483159
I have exchange server 2007 with SP3 installed
0
 
LVL 9

Accepted Solution

by:
akitsupport earned 249 total points
ID: 36483163
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:phillipnor
ID: 36483174
Thanks for that, i am reading through it but i am still finding some issues with this, how can i test the auto discover settings?
0
 
LVL 4

Expert Comment

by:Daelt
ID: 36483185
This is the script i often use to setp all the virtual hosts including autodiscover:



Open a notepad and save as rename_vhost.ps1 the following code, then launch it with the exchange shell, choose the domain name when it will ask and select Y or N to each virtual host u want to be setup.

# Script to allow you to set all virtual directories to a common name like mail.company.com

Start-Transcript

# Variables

[string]$UMExtend = “/UnifiedMessaging/Service.asmx”
[string]$OABExtend = “/OAB”
[string]$SCPExtend = “/Autodiscover/Autodiscover.xml”
[string]$EWSExtend = “/EWS/Exchange.asmx”
[string]$ConfirmPrompt = “Set this Value? (Y/N)”
[string]$NoChangeForeground = “white”
[string]$NoChangeBackground = “red”

Write-host “This will allow you to set the virtual directories associated with Autodiscover provided services to the name you provide.”
Write-host “”
[string]$base = Read-host “Base name of virtual directory (e.g. mail.company.com)”
write-host “”
# =======================================================
# Validate if a third party trusted certificate is being used
# because BITS won’t use untrusted certificates
[string]$set = Read-host “Is the certificate being used an internally generated certificate? (Y/N)”
Write-host “”

if ($set -eq “Y”)    {
[string]$OABprefix = “http://”
}    else    {
[string]$OABprefix = “https://”
}

# =======================================================
# Build the Autodiscover URL and set the SCP Value

Write-host “Setting Autodiscover Service Connection Point” -foregroundcolor Yellow
write-host “”

$SCPURL = “https://” + $base + $SCPExtend

[array]$SCPCurrent = Get-ClientAccessServer

Foreach ($value in $SCPCurrent) {
Write-host “Looking at Server: ” $value.name
Write-host “Current SCP value: ” $value.AutoDiscoverServiceInternalUri.absoluteuri
Write-host “New SCP Value:     ” $SCPURL
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”)    {
Set-ClientAccessServer -id $value.identity -AutoDiscoverServiceInternalUri $SCPURL
}    else {
write-host “Autodiscover Service Connection Point internal value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}
}

# =======================================================
# Build the EWS URL and set the internal Value

Write-host “Setting Exchange Web Services Virtual Directories” -foregroundcolor Yellow
write-host “”

$EWSURL = “https://” + $base + $EWSExtend

[array]$EWSCurrent = Get-WebServicesVirtualDirectory

Foreach ($value in $EWSCurrent) {
Write-host “Looking at Server: ” $value.server
Write-host “Current Internal Value: ” $value.internalURL
Write-host “New Internal Value:     ” $EWSUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”)    {
Set-WebServicesVirtualDirectory -id $value.identity -InternalURL $EWSURL
} else {
write-host “Exchange Web Services Virtual Directory internal value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}

Write-host “Looking at Server: ” $value.server
Write-host “Current External Value: ” $value.externalURL
Write-host “New External Value:     ” $EWSUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”)    {
Set-WebServicesVirtualDirectory -id $value.identity -ExternalURL $EWSURL
} else {
write-host “Exchange Web Services Virtual Directory external value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}
}

# ======================================================
# Build the OAB URL and set the internal Value

Write-host “Setting OAB Virtual Directories” -foregroundcolor Yellow
write-host “”

$OABURL = $OABprefix + $base + $OABExtend

[array]$OABCurrent = Get-OABVirtualDirectory

Foreach ($value in $OABcurrent) {
Write-host “Looking at Server: ” $value.server
Write-host “Current Internal Value: ” $value.internalURL
Write-host “New Internal Value:     ” $OABUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”)    {
Set-OABVirtualDirectory -id $value.identity -InternalURL $OABURL
} else {
write-host “OAB Virtual Directory internal value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}

Write-host “Looking at Server: ” $value.server
Write-host “Current External Value: ” $value.externalURL
Write-host “New External Value:     ” $OABUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”) {
Set-OABVirtualDirectory -id $value.identity -ExternalURL $OABURL
} else {
write-host “OAB Virtual Directory external value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}
}

# =======================================================
# Build the UM URL and set the internal Value

Write-host “Setting UM Virtual Directories” -foregroundcolor Yellow
write-host “”

$UMURL = “https://” + $base + $UMExtend

[array]$UMCurrent = Get-UMVirtualDirectory

foreach ($value in $UMCurrent) {
Write-host “Looking at Server: ” $value.server
Write-host “Current Internal Value: ” $value.internalURL
Write-host “New Internal Value:     ” $UMUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”) {
Set-UMVirtualDirectory -id $value.identity -InternalURL $UMURL
} else {
write-host “UM Virtual Directory internal value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}

Write-host “Looking at Server: ” $value.server
Write-host “Current External Value: ” $value.externalURL
Write-host “New External Value:     ” $UMUrl
[string]$set = Read-host $ConfirmPrompt
write-host “”

if ($set -eq “Y”) {
Set-UMVirtualDirectory -id $value.identity -ExternalURL $UMURL
} else {
write-host “UM Virtual Directory external value NOT changed” -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground
}
}
Stop-Transcript

Open in new window

0
 
LVL 4

Expert Comment

by:Daelt
ID: 36483190
ha forgot this :
 dont forget to cmd iisreset after this.
0
 
LVL 9

Expert Comment

by:akitsupport
ID: 36483195
0
 

Author Comment

by:phillipnor
ID: 36483210
Is there an easy way to correct any errors the Autodiscover has? i ran the exchange connectivity test and got this back-

Down the bottom it staes something that it can't resolve in DNS?

ExRCA is attempting to test Autodiscover for Administrator@Busseys.co.uk.
Testing Autodiscover failed.
Test Steps
Attempting each method of contacting the Autodiscover service.
The Autodiscover service couldn't be contacted successfully by any method.
Test Steps
Attempting to test potential Autodiscover URL https://Busseys.co.uk/AutoDiscover/AutoDiscover.xml
Testing of this potential Autodiscover URL failed.
Test Steps
Attempting to resolve the host name busseys.co.uk in DNS.
The host name resolved successfully.
Additional Details
IP addresses returned: 88.208.211.8

Testing TCP port 443 on host busseys.co.uk to ensure it's listening and open.
The port was opened successfully.
Testing the SSL certificate to make sure it's valid.
The SSL certificate failed one or more certificate validation checks.
Test Steps
ExRCA is attempting to obtain the SSL certificate from remote server busseys.co.uk on port 443.
ExRCA successfully obtained the remote SSL certificate.
Additional Details
Remote Certificate Subject: CN=FAMILY.BUSSEYS.CO.UK, OU=Marketing, O=Busseys and Sabberton Bros. Ltd, L=Norwich, S=Norfolk, C=GB, Issuer: CN=Thawte SSL CA, O="Thawte, Inc.", C=US.

Validating the certificate name.
Certificate name validation failed.
  Tell me more about this issue and how to resolve it
Additional Details
Host name busseys.co.uk doesn't match any name found on the server certificate CN=FAMILY.BUSSEYS.CO.UK, OU=Marketing, O=Busseys and Sabberton Bros. Ltd, L=Norwich, S=Norfolk, C=GB.





Attempting to test potential Autodiscover URL https://autodiscover.Busseys.co.uk/AutoDiscover/AutoDiscover.xml
Testing of this potential Autodiscover URL failed.
Test Steps
Attempting to resolve the host name autodiscover.busseys.co.uk in DNS.
The host name couldn't be resolved.
  Tell me more about this issue and how to resolve it
Additional Details
Host autodiscover.busseys.co.uk couldn't be resolved in DNS InfoDomainNonexistent.



Attempting to contact the Autodiscover service using the HTTP redirect method.
The attempt to contact Autodiscover using the HTTP Redirect method failed.
Test Steps
Attempting to resolve the host name autodiscover.Busseys.co.uk in DNS.
The host name couldn't be resolved.
  Tell me more about this issue and how to resolve it
Additional Details
Host autodiscover.Busseys.co.uk couldn't be resolved in DNS InfoDomainNonexistent.



Attempting to contact the Autodiscover service using the DNS SRV redirect method.
ExRCA failed to contact the Autodiscover service using the DNS SRV redirect method.
Test Steps
Attempting to locate SRV record _autodiscover._tcp.Busseys.co.uk in DNS.
The Autodiscover SRV record wasn't found in DNS.
  Tell me more about this issue and how to resolve it
0
 
LVL 9

Expert Comment

by:akitsupport
ID: 36483229
See if this article helps.

http://www.greencorn.co.uk/2011/07/outlook-cant-find-microsoft-exchange-autodiscover-dns-record/

I'm guessing that the issue is with everyone over say a few people.
0
 

Author Comment

by:phillipnor
ID: 36483259
The problem with that webpage Akit is that

1. Where am i looking for these keys? on the Terminal server Domain controller or Exchange?
2. I don't have that key anywhere,

J
0
 
LVL 9

Expert Comment

by:akitsupport
ID: 36483315
From the article it suggests that autodiscover is an issue with a user PC over anything else.  So have a look at a client.
0
 

Author Comment

by:phillipnor
ID: 36483336
Just an issue with the PC and not the exchange or anything?

0
 
LVL 9

Assisted Solution

by:akitsupport
akitsupport earned 249 total points
ID: 36483383
Well from my reading its a client that ahs issues with accessing Autodiscover so most things I've read say you should look at that as the start point rather than assume its a server issue.

There is a huge pile of stuff here, but it might take you a while to read through it all.  It does list error's like your own.

http://social.technet.microsoft.com/Forums/en/exchange2010/thread/b6252959-0cff-4e63-93ad-347e47a1a672

0
 
LVL 22

Assisted Solution

by:chakko
chakko earned 126 total points
ID: 36483478
in your DNS (public DNS) do you have this record defined (or something very similar)?

_autodiscover._tcp.yourdomain.com       record type SRV             5 0 443 mail.yourdomain.com.
0
 

Author Closing Comment

by:phillipnor
ID: 36508660
I have found pieces of information from the experts of much help to me & have taken notes which they have said,

Very useful,
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

876 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