Solved

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

Posted on 2011-09-05
15
309 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
Comment Utility
Do You have Exchange 2003?   Auto-discover is not supported on Exchange 2003.
0
 

Author Comment

by:phillipnor
Comment Utility
I have exchange server 2007 with SP3 installed
0
 
LVL 9

Accepted Solution

by:
akitsupport earned 83 total points
Comment Utility
0
 

Author Comment

by:phillipnor
Comment Utility
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
Comment Utility
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
Comment Utility
ha forgot this :
 dont forget to cmd iisreset after this.
0
 
LVL 9

Expert Comment

by:akitsupport
Comment Utility
0
Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

 

Author Comment

by:phillipnor
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Just an issue with the PC and not the exchange or anything?

0
 
LVL 9

Assisted Solution

by:akitsupport
akitsupport earned 83 total points
Comment Utility
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 42 total points
Comment Utility
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
Comment Utility
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Outlook Free & Paid Tools
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now