• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

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

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
phillipnor
Asked:
phillipnor
  • 6
  • 5
  • 2
  • +1
3 Solutions
 
chakkoCommented:
Do You have Exchange 2003?   Auto-discover is not supported on Exchange 2003.
0
 
phillipnorAuthor Commented:
I have exchange server 2007 with SP3 installed
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

 
phillipnorAuthor Commented:
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
 
DaeltCommented:
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
 
DaeltCommented:
ha forgot this :
 dont forget to cmd iisreset after this.
0
 
phillipnorAuthor Commented:
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
 
akitsupportCommented:
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
 
phillipnorAuthor Commented:
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
 
akitsupportCommented:
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
 
phillipnorAuthor Commented:
Just an issue with the PC and not the exchange or anything?

0
 
akitsupportCommented:
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
 
chakkoCommented:
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
 
phillipnorAuthor Commented:
I have found pieces of information from the experts of much help to me & have taken notes which they have said,

Very useful,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 6
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now