Forum Discussion

NickG_ENV's avatar
NickG_ENV
Brass Contributor
Oct 26, 2023
Solved

Teams Calendar Integration with on prem Exchange 2016

I'm trying to get Teams calendars to connect with my Exchange 2016 server and I need help meeting one of the requirements. I manage many email domains so my autodiscover for each of these domains is a redirect to my primary domain using IIS. How would I publish autodiscoverV2 for each of those domains and not use a redirect and incorporate an SSL cert? Appreciate any help.

  • Hi NickG_ENV,

    you can try to do this using this options (steps):

    1. Create a new website in IIS for each of your email domains.

    To do this, open IIS Manager and navigate to the Sites node. Right-click the Sites node and select Add Website. In the Add Website dialog box, enter a name for the website and select the physical path where you want to store the autodiscover file.

    1. Bind the SSL cert to each website.

    To do this, right-click the website you created in step 1 and select Edit Bindings. In the Site Bindings dialog box, click Add. In the Add Site Binding dialog box, select https from the Type drop-down list. In the SSL certificate drop-down list, select the SSL cert you want to bind to the website. Click OK to save your changes.

    1. Create a new autodiscover file for each website.

    The autodiscover file should contain the following XML:

     

     

    <?xml version="1.0" encoding="utf-8"?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
      <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006">
        <Url>https://[your_domain]/autodiscover/autodiscover.xml</Url>
      </Response>
    </Autodiscover>

     

    To create the autodiscover file, open a text editor and paste the XML above into a new file. Save the file as autodiscover.xml.

    1. Save the autodiscover file to the root directory of each website.

    To do this, navigate to the physical path where you stored the autodiscover file in step 1. Copy the autodiscover.xml file to the root directory of the website.

    1. Update your DNS records to point to the new autodiscover websites.

    To do this, log in to your DNS management console and update the A records for your email domains to point to the IP address of the server where you are hosting the autodiscover websites.

    Once you have completed these steps, your users will be able to automatically configure their Outlook clients to connect to your Exchange server using autodiscoverV2.

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

2 Replies

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi NickG_ENV,

    you can try to do this using this options (steps):

    1. Create a new website in IIS for each of your email domains.

    To do this, open IIS Manager and navigate to the Sites node. Right-click the Sites node and select Add Website. In the Add Website dialog box, enter a name for the website and select the physical path where you want to store the autodiscover file.

    1. Bind the SSL cert to each website.

    To do this, right-click the website you created in step 1 and select Edit Bindings. In the Site Bindings dialog box, click Add. In the Add Site Binding dialog box, select https from the Type drop-down list. In the SSL certificate drop-down list, select the SSL cert you want to bind to the website. Click OK to save your changes.

    1. Create a new autodiscover file for each website.

    The autodiscover file should contain the following XML:

     

     

    <?xml version="1.0" encoding="utf-8"?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006">
      <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006">
        <Url>https://[your_domain]/autodiscover/autodiscover.xml</Url>
      </Response>
    </Autodiscover>

     

    To create the autodiscover file, open a text editor and paste the XML above into a new file. Save the file as autodiscover.xml.

    1. Save the autodiscover file to the root directory of each website.

    To do this, navigate to the physical path where you stored the autodiscover file in step 1. Copy the autodiscover.xml file to the root directory of the website.

    1. Update your DNS records to point to the new autodiscover websites.

    To do this, log in to your DNS management console and update the A records for your email domains to point to the IP address of the server where you are hosting the autodiscover websites.

    Once you have completed these steps, your users will be able to automatically configure their Outlook clients to connect to your Exchange server using autodiscoverV2.

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

    • NickG_ENV's avatar
      NickG_ENV
      Brass Contributor
      Thank you! Really appreciate you taking the time to answer my question. I will give that a shot.