Hello!
The situation is following:
1) installed MAILCAS.example.com with MBX and CAS roles. Created AUTODISCOVER.example.com (cname to MAILCAS) in public DNS servers.
2) installed MAIL.example.com with CAS role.
3) installed MBX1 and MBX2 with MBX role and created DAG.
4) moved mailboxes from MAILCAS to DAG.
5) changed AUTODISCOVER.example.com to point to MAIL.example.com
5) Now I want to remove server MAILCAS. Problem is that I get unwanted information from autodiscovery. There are still instructions to MAILCAS.
I used Connectivity Analyzer. Exchange Web services connectivity test (service account access) says
this.
Autodiscover and Exchange ActiveSync test says
this. Outlook Autodiscover test says
this.
In Exchange Management Shell:
[PS] > Get-ActiveSyncVirtualDirectory | ft -autosize
Name
Server InternalUrl
----
------ -----------
Microsoft-Server-ActiveSync (Default Web Site) mailcas https://mailcas.example.com/Microsoft-Server-ActiveSync
Microsoft-Server-ActiveSync (Default Web Site) MAIL https://mail.example.com/Microsoft-Server-ActiveSync
[PS] > Get-OabVirtualDirectory | ft -autosize
Server Name Internal Url External Url
------ ---- ------------ ------------
mailcas OAB (Default Web Site) https://mailcas.example.com/OAB https://mailcas.example.com/OAB
MAIL OAB (Default Web Site) https://mail.example.com/OAB https://mail.example.com/OAB
[PS] > Get-OwaVirtualDirectory | ft server,name,internalurl,externalurl
Server Name
InternalUrl ExternalUrl
------ ----
----------- -----------
mailcas owa (Default Web Site) https://mailcas.example.com/owa
https://mailcas.example.com/owa
MAIL owa (Default Web Site) https://mail.example.com/owa
https://mail.example.com/owa
[PS] > Get-WebServicesVirtualDirectory | ft server,name,internalurl,externalurl
Server Name
InternalUrl ExternalUrl
------ ----
----------- -----------
mailcas EWS (Default Web Site) https://mailcas.example.com/ews/... https://mailcas.example.com/ews/...
MAIL EWS (Default Web Site) https://mail.example.com/EWS/... https://mail.example.com/EWS/...
I really don't have idea where comes the information from MAILCAS. What did I forget?