Этот блог посвящен MS Exchange, Outlook и проблемам, связанным с электронной почтой


семь − 3 =


This forum requires Javascript to be enabled for posting content

 

Current User: Guest

Please consider registering

Register?
| Lost Your Password?

Search Forums:

 










Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Не работает Autodiscover в Exchange 2010 SP1


User Post

15:44
Февраль 6, 2012

Dmitry Ivanov

Member

posts 6

 
1
0

Добрый день!

У меня установлен Exchange на 6 серверах:

exchange-1 Hub Transport, Client Access

exchange-2 Hub Transport, Client Access

exchange-3 Mailbox

exchange-4 Mailbox

exchange-5 Edge

exchange-6 Edge

 

Созданы CAS (exchange-1, exchange-2) и DAG (exchange-3, exchange-4).

Outlook Web Access работает на ура. Не работает Autodiscover в Outlook (использую версию 2010). При попытке настроить почту через аутодискавер появляется следующая ошибка:

 

 

Если открыть браузер и зайти: https://mail.domain.com/autodiscover/autodiscover.xml, вводим логин-пароль и получаем:

 

<?xml version=»1.0″ encoding=»utf-8″ ?>
- <Autodiscover xmlns=»http://schemas.microsoft.com/e…..chema/2006«>
- <Response>
- <Error Time=»20:04:29.6322552« Id=»1306505299«>
 <ErrorCode>600</ErrorCode>
 <Message>Invalid Request</Message>
 <DebugData />
 </Error>
 </Response>
 </Autodiscover>
 
 
Проверка Autodiscover через Powershell
[PS] C:\Windows\system32>Test-OutlookWebServices -Identity:user@domain.com
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1019
Type       : Information
Message    : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://m
             il.domain.com/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1006
Type       : Information
Message    : Contacted the Autodiscover service at https://mail.domain.com/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1016
Type       : Information
Message    : [EXCH] The AS is configured for this user in the Autodiscover response received from https://mail.domain.com/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1015
Type       : Warning
Message    : [EXCH] The OAB is not configured for this user in the AutoDiscover response received from https://mail.domain.com/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1014
Type       : Information
Message    : [EXCH] The UM is configured for this user in the Autodiscover response received from https://mail.domain.com/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1022
Type       : Success
Message    : Autodiscover was tested successfully.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1021
Type       : Information
Message    : The following web services generated errors: Oab in EXCH. Use the previous output to diagnose and correct
             the errors.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1106
Type       : Information
Message    : Contacted the Autodiscover service at https://EXCHANGE-2.domain.com:443/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1116
Type       : Information
Message    : [EXCH] The AS is configured for this user in the Autodiscover response received from https://EXCHANGE-2.domain.com:443/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1115
Type       : Warning
Message    : [EXCH] The OAB is not configured for this user in the AutoDiscover response received from https://EXCHANGE
             -2.domain.com:443/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1114
Type       : Information
Message    : [EXCH] The UM is configured for this user in the Autodiscover response received from https://EXCHANGE-2.domain.com:443/autodiscover/autodiscover.xml.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1122
Type       : Success
Message    : Autodiscover was tested successfully.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1121
Type       : Information
Message    : The following web services generated errors: Oab in EXCH. Use the previous output to diagnose and correct
             the errors.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1024
Type       : Success
Message    : [EXCH] Successfully contacted the AS service at https://mail.domain.com/ews/exchange.asmx. The elapsed
             time was 203 milliseconds.
RunspaceId : 635e8217-a1ba-463a-ae7f-e4562df0590e
Id         : 1026
Type       : Success
Message    : [EXCH] Successfully contacted the UM service at https://mail.domain.com/ews/exchange.asmx. The elapsed
             time was 31 milliseconds.

15:50
Февраль 6, 2012

Pavel Nagaev

Novorossiysk

Admin

posts 1617

 
2
0

Нажмите ctrl и не отпуская нажмите мышкой на значок Outlook в system tray и выберите Test Email configuration

Введите емейл, уберите галки с guessmart и пришлите вывод Log и xml

 

Скорее всего проблема в  именах серверов или DNS

Всего хорошего.

15:57
Февраль 6, 2012

Dmitry Ivanov

Member

posts 6

 
3
0

Pavel Nagaev said:

Нажмите ctrl и не отпуская нажмите мышкой на значок Outlook в system tray и выберите Test Email configuration

Введите емейл, уберите галки с guessmart и пришлите вывод Log и xml

 

Скорее всего проблема в  именах серверов или DNS

Павел, добрый день!

 

Я с этим вопросом обращался на форумы Microsoft Technet: http://social.technet.microsof…..05bbd8bc5a

 

Меня там также просили сделать Test e-mail configuration. Я сделал и логи все выложил.

 

Спасибо.

16:28
Февраль 6, 2012

Dmitry Ivanov

Member

posts 6

 
4
0

Сделал еще раз. Вот Xml:

<?xml version=»1.0″ encoding=»utf-8″?>
<Autodiscover xmlns=»http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006″>
  <Response xmlns=»http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a»>
    <User>
      <DisplayName>Dmitry S. Ivanov</DisplayName>
      <LegacyDN>/o=Domain Inc/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Dmitry Ivanov</LegacyDN>
      <AutoDiscoverSMTPAddress>Dmitry.Ivanov@domain.com</AutoDiscoverSMTPAddress>
      <DeploymentId>6c5f3956-02be-4d1f-941e-39932a6802e4</DeploymentId>
    </User>
    <Account>
      <AccountType>email</AccountType>
      <Action>settings</Action>
      <Protocol>
        <Type>EXCH</Type>
        <Server>mail.domain.com</Server>
        <ServerDN>/o=Domain Inc/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=mail.domain.com</ServerDN>
        <ServerVersion>738180DA</ServerVersion>
        <MdbDN>/o=Domain Inc/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=mail.domain.com/cn=Microsoft Private MDB</MdbDN>
        <AD>BANSKO.domain.com</AD>
        <ASUrl>https://mail.domain.com/ews/exchange.asmx</ASUrl&gt;
        <EwsUrl>https://mail.domain.com/ews/exchange.asmx</EwsUrl&gt;
        <EcpUrl>https://mail.domain.com/ecp/</EcpUrl&gt;
        <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
        <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
        <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
        <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
        <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
        <OOFUrl>https://mail.domain.com/ews/exchange.asmx</OOFUrl&gt;
        <UMUrl>https://mail.domain.com/ews/UM2007Legacy.asmx</UMUrl&gt;
      </Protocol>
      <Protocol>
        <Type>EXPR</Type>
        <Server>mail.domain.com</Server>
        <SSL>On</SSL>
        <AuthPackage>Basic</AuthPackage>
        <ASUrl>https://mail.domain.com/ews/exchange.asmx</ASUrl&gt;
        <EwsUrl>https://mail.domain.com/ews/exchange.asmx</EwsUrl&gt;
        <EcpUrl>https://mail.domain.com/ecp/</EcpUrl&gt;
        <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um>
        <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr>
        <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt>
        <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret>
        <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms>
        <OOFUrl>https://mail.domain.com/ews/exchange.asmx</OOFUrl&gt;
        <UMUrl>https://mail.domain.com/ews/UM2007Legacy.asmx</UMUrl&gt;
      </Protocol>
      <Protocol>
        <Type>WEB</Type>
        <Internal>
          <OWAUrl AuthenticationMethod=»Basic, Fba»>https://mail.domain.com/owa/</OWAUrl&gt;
          <Protocol>
            <Type>EXCH</Type>
            <ASUrl>https://mail.domain.com/ews/exchange.asmx</ASUrl&gt;
          </Protocol>
        </Internal>
        <External>
          <OWAUrl AuthenticationMethod=»Fba»>https://mail.domain.com/owa/</OWAUrl&gt;
          <Protocol>
            <Type>EXPR</Type>
            <ASUrl>https://mail.domain.com/ews/exchange.asmx</ASUrl&gt;
          </Protocol>
        </External>
      </Protocol>
    </Account>
  </Response>
</Autodiscover>

 

Log:

http://narod.ru/disk/398344580…..1.png.html

 

 

07:53
Февраль 7, 2012

Pavel Nagaev

Novorossiysk

Admin

posts 1617

 
5
0

Покажите вывод:

Get-MailboxDatabase | ft name, rpc*, offline*

 

а также содержимое файла urls.txt

 

gcm Get-*VirtualDirectory |

select -exp name |

%{ «<<< $_ >>>»; &$_ | fl
server, name, *url } > d:\urls.txt

Всего хорошего.

10:52
Февраль 7, 2012

Dmitry Ivanov

Member

posts 6

 
6
0

Павел, добрый день!

 

[PS] C:\Windows\system32>Get-MailboxDatabase | ft name, rpc*, offline*

Name                                 RpcClientAccessServer            OfflineAddressBook
----                                    ---------------------                   ------------------
MDB#3                                   mail.domain.com
MDB#4                                   mail.domain.com
 

Содержимое файла urls.txt

gcm Get-*VirtualDirectory |

select -exp name |

%{ «<<< $_ >>>»; &$_ | fl
server, name, *url } > d:\urls.txt

 

<<< Get-ActiveSyncVirtualDirectory >>>

 

Server                              : EXCHANGE-1

Name                                : Microsoft-Server-ActiveSync (Default Web Site)

MobileClientCertificateAuthorityURL :

InternalUrl                         : https://mail.domain.com/Microsoft-Server-ActiveSync

ExternalUrl                         : https://mail.domain.com/Microsoft-Server-ActiveSync

 

Server                              : EXCHANGE-2

Name                                : Microsoft-Server-ActiveSync (Default Web Site)

MobileClientCertificateAuthorityURL :

InternalUrl                         : https://mail.domain.com/Microsoft-Server-ActiveSync

ExternalUrl                         : https://mail.domain.com/Microsoft-Server-ActiveSync

 

 

<<< Get-AutodiscoverVirtualDirectory >>>

 

Server      : EXCHANGE-1

Name        : Autodiscover (Default Web Site)

InternalUrl : https://mail.domain.com/Autodiscover/Autodiscover.xml

ExternalUrl : https://mail.domain.com/Autodiscover/Autodiscover.xml

 

Server      : EXCHANGE-2

Name        : Autodiscover (Default Web Site)

InternalUrl : https://mail.domain.com/Autodiscover/Autodiscover.xml

ExternalUrl : https://mail.domain.com/Autodiscover/Autodiscover.xml

 

 

<<< Get-EcpVirtualDirectory >>>

 

Server      : EXCHANGE-1

Name        : ecp (Default Web Site)

InternalUrl : https://mail.domain.com/ecp

ExternalUrl : https://mail.domain.com/ecp

 

Server      : EXCHANGE-2

Name        : ecp (Default Web Site)

InternalUrl : https://mail.domain.com/ecp

ExternalUrl : https://mail.domain.com/ecp

 

 

<<< Get-OabVirtualDirectory >>>

 

Server      : EXCHANGE-1

Name        : OAB (Default Web Site)

InternalUrl : https://mail.domain.com/OAB

ExternalUrl : https://mail.domain.com/OAB

 

Server      : EXCHANGE-2

Name        : OAB (Default Web Site)

InternalUrl : https://mail.domain.com/OAB

ExternalUrl : https://mail.domain.com/OAB

 

 

<<< Get-OwaVirtualDirectory >>>

 

Server          : EXCHANGE-1

Name            : owa (Default Web Site)

Url             : {}

Exchange2003Url :

FailbackUrl     :

InternalUrl     : https://mail.domain.com/owa

ExternalUrl     : https://mail.domain.com/owa

 

Server          : EXCHANGE-2

Name            : owa (Default Web Site)

Url             : {}

Exchange2003Url :

FailbackUrl     :

InternalUrl     : https://mail.domain.com/owa

ExternalUrl     : https://mail.domain.com/owa

 

 

<<< Get-PowerShellVirtualDirectory >>>

 

Server      : EXCHANGE-1

Name        : PowerShell (Default Web Site)

InternalUrl : http://exchange-1.domain.com/powershell

ExternalUrl :

 

Server      : EXCHANGE-2

Name        : PowerShell (Default Web Site)

InternalUrl : http://exchange-2.domain.com/powershell

ExternalUrl :

 

Server      : EXCHANGE-3

Name        : PowerShell (Default Web Site)

InternalUrl : http://exchange-3.domain.com/powershell

ExternalUrl :

 

Server      : EXCHANGE-4

Name        : PowerShell (Default Web Site)

InternalUrl : http://exchange-4.domain.com/powershell

ExternalUrl :

 

 

<<< Get-WebServicesVirtualDirectory >>>

 

Server               : EXCHANGE-1

Name                 : EWS (Default Web Site)

InternalNLBBypassUrl : https://mail.domain.com/ews/exchange.asmx

InternalUrl          : https://mail.domain.com/ews/exchange.asmx

ExternalUrl          : https://mail.domain.com/ews/exchange.asmx

 

Server               : EXCHANGE-2

Name                 : EWS (Default Web Site)

InternalNLBBypassUrl : https://mail.domain.com/ews/exchange.asmx

InternalUrl          : https://mail.domain.com/ews/exchange.asmx

ExternalUrl          : https://mail.domain.com/ews/exchange.asmx

17:46
Февраль 7, 2012

Dmitry Ivanov

Member

posts 6

 
7
0

Post edited 17:49 – Февраль 7, 2012 by Dmitry Ivanov
Post edited 13:09 – Февраль 8, 2012 by Dmitry Ivanov


Павел, добрый день!

Я решил очистить ExternalUrl:

 

======================EXCHANGE-2======================================

Remove-ActiveSyncVirtualDirectory

Identity: Microsoft-Server-ActiveSync (default web site) New-ActiveSyncVirtualDirectory

===================== EXCHANGE-1======================================

New-ActiveSyncVirtualDirectory

======================EXCHANGE-2======================================

Get-ActiveSyncVirtualDirectory | FL name,internalurl,externalurl

Name : Microsoft-Server-ActiveSync (Default Web Site)

InternalUrl : https://exchange-2.domain.com/Microsoft-Server-ActiveSync

ExternalUrl :

Name : Microsoft-Server-ActiveSync (Default Web Site)

InternalUrl : https://exchange-1.domain.com/Microsoft-Server-ActiveSync

ExternalUrl :

Set-ActiveSyncVirtualDirectory -Identity «exchange-1Microsoft-Server-ActiveSync (default web site)» -InternalUrl «https://mail.domain.com/Microsoft-server-ActiveSync)»

Set-ActiveSyncVirtualDirectory -Identity «exchange-2Microsoft-Server-ActiveSync (default web site)» -InternalUrl «https://mail.domain.com/Microsoft-server-ActiveSync)»

Get-ActiveSyncVirtualDirectory | FL name,internalurl,externalurl

Name : Microsoft-Server-ActiveSync (Default Web Site)

InternalUrl : https://mail.domain.com/Microsoft-server-ActiveSync)

ExternalUrl :

Name : Microsoft-Server-ActiveSync (Default Web Site)

InternalUrl : https://mail.domain.com/Microsoft-server-ActiveSync)

ExternalUrl :

Set-OwaVirtualDirectory -Identity «exchange-1owa (default web site)» -BasicAuthentication $true

Set-OwaVirtualDirectory -Identity «exchange-2owa (default web site)» -BasicAuthentication $true ====================AUTODISCOVER====================================

======================EXCHANGE-2====================================

Remove-AutodiscoverVirtualDirectory -Identity «exchange-1autodiscover (default web site)»

Remove-AutodiscoverVirtualDirectory -Identity «exchange-2autodiscover (default web site)»

New-AutodiscoverVirtualDirectory

======================EXCHANGE-1====================================

New-AutodiscoverVirtualDirectory

======================EXCHANGE-2====================================

Get-AutodiscoverVirtualDirectory | FL name,internalurl,externalurl

Name : Autodiscover (Default Web Site)

InternalUrl :

ExternalUrl :

Name : Autodiscover (Default Web Site)

InternalUrl :

ExternalUrl :

Set-AutodiscoverVirtualDirectory -Identity «EXCHANGE-1Autodiscover (Default Web Site)» -InternalUrl «https://mail.domain.com/autodiscover/autodiscover.xml» Set-AutodiscoverVirtualDirectory -Identity «EXCHANGE-2Autodiscover (Default Web Site)» -InternalUrl «https://mail.domain.com/autodiscover/autodiscover.xml» Get-AutodiscoverVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2Autodiscover (Default Web Site)

Name : Autodiscover (Default Web Site)

InternalUrl : https://mail.domain.com/autodiscover/autodiscover.xml

ExternalUrl :

Identity : EXCHANGE-1Autodiscover (Default Web Site)

Name : Autodiscover (Default Web Site)

InternalUrl : https://mail.domain.com/autodiscover/autodiscover.xml

ExternalUrl :

 

Set-AutodiscoverVirtualDirectory -Identity «EXCHANGE-1Autodiscover (Default Web Site)» -BasicAuthentication $true

Creating a new session for implicit remoting of «Set-AutodiscoverVirtualDirectory» command…

Set-AutodiscoverVirtualDirectory -Identity «EXCHANGE-2Autodiscover (Default Web Site)» -BasicAuthentication $true

==================================ECP================================

======================EXCHANGE-2======================================

Remove-EcpVirtualDirectory

Identity: exchange-1ecp (default web site)

Remove-EcpVirtualDirectory

Identity: exchange-2ecp (default web site)

New-EcpVirtualDirectory

======================EXCHANGE-1======================================

New-EcpVirtualDirectory

======================EXCHANGE-2======================================

Get-EcpVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2ecp (Default Web Site)

Name : ecp (Default Web Site)

InternalUrl :

ExternalUrl :

Identity : EXCHANGE-1ecp (Default Web Site)

Name : ecp (Default Web Site)

InternalUrl :

ExternalUrl :

Set-EcpVirtualDirectory -Identity «EXCHANGE-1ecp (Default Web Site)» -InternalUrl «https://mail.domain.com/ecp»

Set-EcpVirtualDirectory -Identity «EXCHANGE-2ecp (Default Web Site)» -InternalUrl «https://mail.domain.com/ecp»

Get-EcpVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2ecp (Default Web Site)

Name : ecp (Default Web Site)

InternalUrl : https://mail.domain.com/ecp

ExternalUrl :

Identity : EXCHANGE-1ecp (Default Web Site)

Name : ecp (Default Web Site)

InternalUrl : https://mail.domain.com/ecp

ExternalUrl :

Set-EcpVirtualDirectory -Identity «EXCHANGE-1ecp (Default Web Site)» -BasicAuthentication $true

Set-EcpVirtualDirectory -Identity «EXCHANGE-2ecp (Default Web Site)» -BasicAuthentication $true ==================================OAB================================

======================EXCHANGE-2======================================

Remove-OabVirtualDirectory

Identity: exchange-1oab (default web site)

Remove-OabVirtualDirectory

Identity: exchange-2oab (default web site)

New-OabVirtualDirectory

======================EXCHANGE-1======================================

New-OabVirtualDirectory

======================EXCHANGE-2======================================

Get-OabVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2OAB (Default Web Site)

Name : OAB (Default Web Site)

InternalUrl : http://exchange-2.domain.com/OAB

ExternalUrl :

Identity : EXCHANGE-1OAB (Default Web Site)

Name : OAB (Default Web Site)

InternalUrl : http://mail.domain.com/OAB

ExternalUrl :

Set-OabVirtualDirectory -Identity «EXCHANGE-1OAB (Default Web Site)» -InternalUrl «https://mail.domain.com/OAB»

Set-OabVirtualDirectory -Identity «EXCHANGE-2OAB (Default Web Site)» -InternalUrl «https://mail.domain.com/OAB»

Get-OabVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2OAB (Default Web Site)

Name : OAB (Default Web Site)

InternalUrl : https://mail.domain.com/OAB

ExternalUrl :

Identity : EXCHANGE-1OAB (Default Web Site)

Name : OAB (Default Web Site)

InternalUrl : https://mail.domain.com/OAB

ExternalUrl :

Set-OabVirtualDirectory -Identity «EXCHANGE-1OAB (Default Web Site)» -BasicAuthentication $true

WARNING: The virtual directory «EXCHANGE-1OAB (Default Web Site)» allows Basic authentication but doesn't require an SSL-encrypted connection. This means that passwords will be sent over the network in clear. You should set «RequireSSL» to true for this virtual directory.

Set-OabVirtualDirectory -Identity «EXCHANGE-1OAB (Default Web Site)» -RequireSSL $true

Set-OabVirtualDirectory -Identity «EXCHANGE-2OAB (Default Web Site)» -BasicAuthentication $true

WARNING: The virtual directory «EXCHANGE-2OAB (Default Web Site)» allows Basic authentication but doesn't require an SSL-encrypted connection. This means that passwords will be sent over the network in clear. You should set «RequireSSL» to true for this virtual directory.

Set-OabVirtualDirectory -Identity «EXCHANGE-2OAB (Default Web Site)» -RequireSSL $true ==================================OWA===============================

======================EXCHANGE-2======================================

Remove-OwaVirtualDirectory

Identity: exchange-1owa (default web site)

Remove-OwaVirtualDirectory

Identity: exchange-2owa (default web site)

New-OwaVirtualDirectory

======================EXCHANGE-1======================================

New-OwaVirtualDirectory

======================EXCHANGE-2======================================

Get-OwaVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2owa (Default Web Site)

Name : owa (Default Web Site)

InternalUrl :

ExternalUrl :

Identity : EXCHANGE-1owa (Default Web Site)

Name : owa (Default Web Site)

InternalUrl :

ExternalUrl :

Set-OwaVirtualDirectory -Identity «EXCHANGE-1owa (Default Web Site)» -InternalUrl «https://mail.domain.com/owa»

Set-OwaVirtualDirectory -Identity «EXCHANGE-2owa (Default Web Site)» -InternalUrl «https://mail.domain.com/owa»

Get-OwaVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2owa (Default Web Site)

Name : owa (Default Web Site)

InternalUrl : https://mail.domain.com/owa

ExternalUrl :

Identity : EXCHANGE-1owa (Default Web Site)

Name : owa (Default Web Site)

InternalUrl : https://mail.domain.com/owa

ExternalUrl :

Set-OwaVirtualDirectory -Identity «EXCHANGE-1owa (Default Web Site)» -BasicAuthentication $true

Set-OwaVirtualDirectory -Identity «EXCHANGE-2owa (Default Web Site)» -BasicAuthentication $true

==================================EWS===============================

======================EXCHANGE-2======================================

Remove-WebServicesVirtualDirectory

Identity: exchange-1ews (default web site)

Remove-WebServicesVirtualDirectory

Identity: exchange-2ews (default web site)

New-WebServicesVirtualDirectory

======================EXCHANGE-1======================================

New-WebServicesVirtualDirectory

======================EXCHANGE-2======================================

Get-WebServicesVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2EWS (Default Web Site)

Name : EWS (Default Web Site)

InternalUrl : https://exchange-2.domain.com/EWS/Exchange.asmx

ExternalUrl :

Identity : EXCHANGE-1EWS (Default Web Site)

Name : EWS (Default Web Site)

InternalUrl : https://mail.domain.com/EWS/Exchange.asmx

ExternalUrl :

Set-WebServicesVirtualDirectory -Identity «EXCHANGE-1EWS (Default Web Site)» -InternalUrl «https://mail.domain.com/ews/exchange.asmx»

Set-WebServicesVirtualDirectory -Identity «EXCHANGE-2EWS (Default Web Site)» -InternalUrl «https://mail.domain.com/ews/exchange.asmx»

Get-WebServicesVirtualDirectory | FL identity,name,internalurl,externalurl

Identity : EXCHANGE-2EWS (Default Web Site)

Name : EWS (Default Web Site)

InternalUrl : https://mail.domain.com/ews/exchange.asmx

ExternalUrl :

Identity : EXCHANGE-1EWS (Default Web Site)

Name : EWS (Default Web Site)

InternalUrl : https://mail.domain.com/ews/exchange.asmx

ExternalUrl :

Set-WebServicesVirtualDirectory -Identity «EXCHANGE-1EWS (Default Web Site)» -BasicAuthentication $true

Set-WebServicesVirtualDirectory -Identity «EXCHANGE-2EWS (Default Web Site)» -BasicAuthentication $true

 
После этого заработал Outlook на клиентской машине. Дальше для тестов я установил Outlook на другую машину и получил точно такую же ошибку, которая была изначально на первой машине. Разве что при настройке autodiscover при отработке пункта "Вход на сервер" стало появляться окно введите логин-пароль, но после ввода правильного пароля появляется прежняя ошибка. Если пароль введен неверно, то это окошко появляется повторно до того момента, пока не будет введен верный пароль.
 
Update: обнаружил интересную вещь. Если после ошибки выбрать настроить параметры почты вручную, далее выбрать почту Exchange и ввести ip или DNS имя сервера exchange-1.domain.com, то аутлук сразу же подключается через автодискавер к серверу exchange-1, в настройках имя сервера меняется на mail.domain.com, загружается профиль и аутлук работает.
Остался вопрос в том - что не работает в exchange-2 и как эту проблему найти и исправить?

13:10
Февраль 8, 2012

Dmitry Ivanov

Member

posts 6

 
8
0
Павел, добрый день!

 

В общем, разобрался в чем дело. Не стартует автоматически служба Microsoft Exchange Address Book на сервере Exchange-2.

В логах:

1.

Log Name: System

Source: Service Control Manager

Event ID: 7009

Level: Error

A timeout was reached (30000 milliseconds) while waiting for the Microsoft Exchange Address Book service to connect.

2.

Log Name: System

Source: Service Control Manager

Event ID: 7000

Level: Error

The Microsoft Exchange Address Book service failed to start due to the following error: 
The service did not respond to the start or control request in a timely fashion.
 

Вручную служба запускается и аутлук работает без проблем. После перезагрузки Exchange-2 служба снова не стартует автоматически.

01:01
Февраль 19, 2012

admin_dm

Member

posts 8

 
9
0

Установите  SP2 для Exchange

Персоздайте адресную книгу (и виртуальный каталог):

http://technet.microsoft.com/e…..23595.aspx

  1. To get the default OAB virtual directory's settings, run the following command.
     
     
    Get-OABVirtualDirectory -Identity "OAB (Default Web Site)" | fl | Out-File -filePath "C:\OAB_DefWS_Settings.txt"
    
  2. Record the settings for the PollInterval, OfflineAddressBooks, RequireSSL, Path, InternalURL, and ExternalURL parameters.
  3. To delete the default OAB virtual directory, run the following command.
     
     
    Remove-OABVirtualDirectory -Identity "OAB (Default Web Site)"
    
  4. Type Y to confirm that you want to remove the OAB virtual directory, and then press ENTER. If the OAB virtual directory that you are removing has OABs connecting to it, you will receive another warning indicating that you must designate another OAB virtual directory.
  5. Create an OAB virtual directory that has the same settings as the OAB that you removed, except the settings for the OfflineAddressBooks parameter. You will reconnect the OABs in the next step. For instructions about how to create an OAB virtual directory, see Create an Offline Address Book Virtual Directory.
  6. Reconnect any OABs that use the Web-based distribution method to the new OAB virtual directory. For instructions about how to reconnect OABs to a virtual directory, see Configure Offline Address Book Properties.

For detailed syntax and parameter information, see Remove-OABVirtualDirectory.

 

Застопьте службы адресной книги и file distribution  и удалите содержимое

C:Program FilesMicrosoftExchange ServerV14ClientAccessOAB

http://www.howexchangeworks.co…..buted.html

Не поможет – смотрите в сторону антивирусного по на сервере,  фаевролы, повышайте уровни диагностики + смотрите рекомендации BPA

15:06
Март 20, 2012

epa3up

Member

posts 6

 
10
0

Добрый день!

 

После установки «отложенный старт» в настройках этих служб, все заработало корректно.

 

Спасибо.

08:51
Март 21, 2012

Pavel Nagaev

Novorossiysk

Admin

posts 1617

 
11
0

Это странно и так быть не должно.

Всего хорошего.

Reply to Topic:
Не работает Autodiscover в Exchange 2010 SP1

Guest Name (Required):

Guest Email (Required):

bbCode Editor
Smileys
Confused
Cool
Cry
Embarassed
Frown
Kiss
Laugh
Smile
Surprised
Wink
Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 7
   

About the ExchangeRUS – сайт о Microsoft Exchange Server и электронной почте Forum

Forum Timezone: UTC 3

Most Users Ever Online:
328

Currently Online:

11 Guests

Currently Browsing this Topic:

1 Guest

Forum Stats:

Groups: 3
Forums: 10
Topics: 1417
Posts: 5740

Membership:

There are 1614 Members
There have been 214 Guests

There are 2 Admins

Top Posters:

fron – 251
kkv – 143
Bloodwiser – 89
mrhron – 56
restless – 47
Dmitry Barsukov – 42

Administrators: Pavel Nagaev (1617 Posts), Oleg Krylov (337 Posts)

© Simple:Press  

 













































Рейтинг блогов eXTReMe Tracker