Set up Outlook as an Email Server

This topic describes how to set up Microsoft Outlook as the email server for Yeastar Central Management using modern authentication. This allows the system to send emails through your Microsoft account.

Requirements

Yeastar Central Management
The firmware of Yeastar Central Management is 87.12.0.19 or later.
Microsoft 365

Procedure

Step 1. Obtain redirect URI from Yeastar Central Management

Obtain the redirect URI from Yeastar Central Management, which will be required when registering a Microsoft Entra application later.

  1. Log in to Yeastar Central Management, go to System > Email Server.
  2. In the Select Email Server Provider drop-down list, select Microsoft.
  3. In the Redirect URI field, click to copy the URI.

Step 2. Register an application on Microsoft Entra ID

Register an application on Microsoft Entra ID with the redirected URI provided by Yeastar Central Management, then obtain the application authentication information for SMTP settings on Yeastar Central Management.

  1. Log in to Microsoft Azure Portal with the Microsoft Administrator account.
  2. In the search bar, search and select Microsoft Entra ID service to enter your organization's directory.

  3. On the left navigation bar of organization's directory, go to App registrations, then click New registration.

  4. In the Register an application page, configure the registration information for the application, and click Register.

    • Name: Specify a name to help you identify the application.
    • Supported account types: Select Accounts in this organizational directory only.
    • Redirect URI: In the Select a platform drop-down list, select Web, then paste the Redirect URI obtained from Yeastar Central Management.
    An application is registered successfully, you are redirected to the Overview page of the application.
  5. Note down the Application (client) ID and Directory (tenant) ID of the application, as you will need to fill them into Yeastar Central Management later.

  6. Generate a client secret for the application.
    1. On the left navigation bar of the application, go to Certificates & secrets > Client secrets, then click New client secret.

    2. In the Add a client secret page, add a description and set an expiration date for the client secret, then click Add.

      A client secret is created and displayed in the Client secrets list.

    3. Note down the client secret's Value as you will need to fill it into the Yeastar Central Management later.
      Important: Record the client secret's value before leaving the page, as the key is only shown once. Otherwise, you will have to create a new client secret.

Step 3. Configure SMTP settings on Yeastar Central Management

Configure the SMTP settings of Yeastar Central Management with the authentication information obtained from the Microsoft Entra application, so as to set Microsoft Outlook as the system's email server.

  1. Log in to Yeastar Central Management, go to System > Email Server.
  2. In the Select Email Server Provider drop-down list, select Microsoft.
  3. Enter the following authentication information.

    • Tenant ID: Paste the Tenant ID of the Microsoft Entra application.
    • Application (Client) ID: Paste the Application ID of the Microsoft Entra application.
    • Client Secret: Paste the client secret of the Microsoft Entra application.
  4. Click Save.

    You are redirect to the Microsoft Sign-in page.

  5. Sign in with the Microsoft account that has Global Administrator privilege.

  6. In the pop-up window, do as follows to confirm:

    1. Select the checkbox of Consent on behalf of your organization.
    2. Click Accept.
    On Yeastar Central Management configuration page, the Status field displays Connected, indicating that the Microsoft authentication is successful; The Microsoft Outlook is set up as the system's email server.

  7. Test if the mail server can successfully send emails.
    1. Click Test.
    2. In the pop-up window, enter a recipient's email address in the Email Address field, then click Test.

Result

A test email is sent successfully using the Microsoft account; The page displays "Email sent successfully" and the recipient's mailbox would receive the email where the sender name and email address are the Microsoft account's display name and user principal name respectively. For example, admin<admin@ursaconn.onmicrosoft.com>.
Note:
  • If you want to change the sender name of the emails sent by the SMTP server, change the display name of the Microsoft account.
  • If the test email is failed to be sent, the page prompts you an error message.