Configure Microsoft Tenant Connection Parameters#

Note

References in this section to “PowerShell Proxy” refer to the MS Windows host running PowerShell commands. References to just “Proxy” refer to the HTTP proxy server that the the Windows PowerShell host uses to access the tenant in the cloud.

This procedure configures the following connections:

  • From VOSS Automate to the PowerShell Proxy

  • Between the PowerShell Proxy and the tenant

  • The Graph API connection between VOSS Automate and the tenant

Prerequisites:

You will need:

To add and configure the Microsoft Tenant

  1. Log in to the VOSS Automate Admin Portal as a Provider Administrator.

    Note

    By default, the Provider administrator role is the only role that has the ability to create Tenant connections).

  2. Add the Microsoft tenant:

    1. Go to (default menus) Apps Management > Microsoft Tenant.

    2. Click Add.

    3. Choose the hierarchy level where you wish to add the tenant. Typically, this is at Customer level.

    4. Enter a name and a description for the tenant.

      ../../../_images/MSFT_9826a5e55cbbb72f.png
  3. Add the PowerShell Proxy connection parameters:

    1. Locate the Microsoft Teams Powershell section.

    2. In the Host field, enter the FQDN or IP address of a single-node PowerShell Proxy, or the FQDN corresponding to your load balancer’s virtual IP address.

      Note

      For details around the local hosts file and the TrustedHosts WinRM configuration, see Set up the PowerShell Proxy Server.

    3. In the Username field and Password field, enter the credentials for the local service account you created on the PowerShell Proxy.

      ../../../_images/MSFT_4bb781f700428752.png
  4. Configure the outbound internet Proxy:

    1. Locate the Microsoft Teams HTTP Proxy fields.

    2. If you have an outbound Internet Proxy deployed between the PowerShell Proxy and the public Internet, select the Use HTTP Proxy checkbox.

      Note

      • If there is no outbound Internet Proxy deployed between the PowerShell and the public internet, leave both checkboxes unchecked, and leave the Username and Password fields blank. Continue to the next step.

      • Authenticated proxy is supported.

    3. If the outbound Internet proxy requires authentication, select the Use HTTP Proxy Authentication checkbox, and enter the Proxy authentication credentials in the Username / Password fields.

      Note

      You will have already provisioned the outbound Internet Proxy’s IP address (or FQDN) and port number when you set up the PowerShell Proxy. See Set up the PowerShell Proxy Server, and note the caveat regarding proxy authentication in PowerShell Proxy Deployment Topologies.

      ../../../_images/MSFT_45c85ed09e92f23b.png
  5. Add the Microsoft Teams Tenant service account credentials:

    1. Locate the Microsoft Teams fields.

    2. In the Admin Username and Admin Password fields, enter the credentials for the Microsoft Teams tenant service account.

      Note

      You created this account earlier. See Create MS Teams Service Account on Microsoft Cloud.

  6. Add Microsoft 365 details to the Microsoft tenant:

    1. Locate the Microsoft 365 fields.

    2. Enter the Client ID and Tenant ID values recorded earlier during the application registration setup.

    3. If you’re using client secret authentication, copy the secret value into the Secret field.

      ../../../_images/MSFT_98f16dd5a528eb57.png
    4. If you’re using certificate authentication:

      • Paste the certificate thumbprint obtained from Azure into the Certificate Thumbprint field.

        Note

        From release 21.4 onwards, this field is no longer a password, but plain text, since it is generated from the public portion of the certificate.

      • From the Certificate drop-down, choose the certificate previously created in the Admin Portal.

        Note

        • You uploaded the public key for this locally stored certificate to Azure. The thumbprint added in the Microsoft 365 tenant parameter is generated in Azure when the public key file is uploaded to Azure.

        • Certificate authentication only if a client secret is not provided.

    5. MS 365 proxy / MS 365 secure proxy: These fields allow for setting an outbound internet proxy server if required for traffic outbound to the public Internet. This proxy setup is used to define the route for the MS Graph API communications which the system uses for communication with the MS 365 cloud tenant.

      • If the Internet Proxy is not authenticated, then use the MS 365 proxy field and the format is:

        https://host:port/

      • If the Internet proxy requires authentication, then use the MS 365 secure proxy and the format is:

        https://proxyuser:proxypassword@host:port/

      In both cases the host can be a FQDN if resolvable via DNS or the IP address of the Internet proxy.

    6. Max page size for MSOLUser / Max page size for Groups: These fields control the paging size for the number of records pulled at a time from the corresponding API.

      • The MSOLUser setting controls the device/msgraph/MSOLUser related API.

      • The Group setting controls the device/msgraph/Groups and device/msgraph/Teams related APIs.

      When left blank, the default page size is 999, a high number that allows for best performance. It is recommended that you leave this blank and utilize the default value unless you encounter errors on your Microsoft 365 syncs (for example, “Template output exceeded memory limit”). In that case, you can enter a specific value less than 999 in order to try a smaller number of records until the sync no longer has an error.

      Note that reducing the value may impact sync performance so it is best to use the largest paging size that does not result in an error.

      From release 21.4-PB4 onwards, the memory limit handling of requests has been increased, so that any previous explicit specification of max page size values less than 999 may not be required anymore, or can be increased substantially.

  7. If you’re using VOSS Automate to manage Microsoft Exchange online, provision the Exchange Online application certificate thumbprint.

    Note

    The certificate authentication thumbprint is generated on the Azure portal for Microsoft Exchange. You would have installed this certificate on the PowerShell proxy server and configured it in the application registration.

    The certificate thumbprint is the encrypted password required for an authenticated connection to the Microsoft Cloud Exchange portal. Connecting to Microsoft Exchange is required to sync in the Microsoft Exchange objects (mailboxes, shared mailboxes, rooms, and distribution lists).

    1. Locate the Microsoft Exchange fields.

    2. Select Enable Microsoft Exchange.

    3. In the Certificate Thumbprint field, paste the certificate thumbprint you obtained earlier.

      Note

      You obtained the certificate thumbprint when logged into the PowerShell proxy to register the VOSS Automate application with Microsoft Entra ID. See Create Application Registration in Microsoft Cloud Tenant Portal.

      The certificate thumbprint was created on the proxy and uploaded to the Azure portal. When generating PowerShell scripts to manage Microsoft Exchange Online, VOSS Automate includes this thumbprint so that the PowerShell proxy can use the corresponding certificate to authenticate with Microsoft Exchange Online.

      ../../../_images/ms-tenant-exchange.png
  8. Click Save.

  9. Test your Microsoft tenant connection. You will be prompted to confirm the test.

    Note

    In this step you will verify that VOSS Automate can connect to the Microsoft Teams tenant using PowerShell, and to Microsoft Entra ID using the Microsoft Graph API.

    1. On the Microsoft Tenant page, choose the relevant tenant.

    2. Click Test Connection.

Next Steps

  • Verify that no changes are needed in user name mapping macros prior to sync. High level administrators with access to the data/MultivendorUsernameMappingMacros model instances should carry out this task.

  • Perform a sync from the Microsoft tenant to import Microsoft users, tenant dial plan, licenses, and policies to the customer level. You will be prompted to confirm the syncs.

    For Microsoft Exchange, ensure that instances for all 4 device models (User mailboxes, Shared Mailboxes, Room Mailboxes, and Distribution Mailboxes) are synced in at the level were the tenant exists.

  • Configure the customer-wide site defaults doc (SDD), CUSTOMER_TEMPLATE. See Site Defaults Doc Templates.

  • Add network device lists (NDLs) with Microsoft 365 and Microsoft Teams tenant details. NDLs are required when adding sites. See Network Device Lists (NDLs).

  • Create sites.

  • Run the overbuild. See: Overbuild for Microsoft.

  • Go to Configure VOSS Automate for Microsoft Services

Related Topics