Getting Started with Microsoft O365 (Admin Setup)

Registering BOLD Email Integration as an app in Microsoft 365 enables BOLD to authenticate to your Microsoft 365 tenant on behalf of BOLD users using their user account. By default, a newly registered app won't have any permissions, so you'll also need to assign appropriate roles to the application to enable BOLD Email Integration to sync Microsoft 365 mailboxes and send emails.

Note: GoDaddy SSO is not supported with the Microsoft O365 Integration.


Key Takeaways

  • Register Application: Begin by registering the app in Microsoft 365, generating a client secret, and obtaining the Application ID. Ensure you choose the right permissions, including delegated and application permissions.

  • Configure Web Application Authentication: Set up the web application authentication by specifying redirect URLs, allowing BOLD Email Integration to interact securely.

  • Create User Groups: Create a user group and assign users who are authorized for BOLD Email Integration. The guide explains the necessary steps to link the group with the application. Be mindful of limitations related to the Entra plan used.

CHAPTERS

Admin Setup
    Register the app
    Create Client secret
    Copy the Application ID

    Add API permissions
    Setup to configure Web Application Authentication
Create User Groups
Add a new Group to the Application
References
    Outlook Service Limits

 

Admin Setup

Register the app

  1. Log into the Office 365 portal
    1. Link to the Office 365 portal

  2. Click on Overview

    Entra - Overview Highlighted.png

  3. Click on the Add button

    Entra - Overview - Add Button.png

  4. Click on App registration

    Entra - Overview - Add Drop-Down Menu - App Registration.png

  5. Enter a name for the application, in the Name field
    1. Suggested to use: Bold_Email_Integration. We recommend not to include any spaces and use underscores instead.
  6. Select the Accounts in any organizational directory (Any Microsoft Entra ID Tenant - Multitenant) option 

  7. Click on the Register button

    Entra - App Registrations - Add New - Name Entered - Type Selected.png

Create Client secret

  1. On the main App Registration page, locate and copy the Application (client) ID, as it will be used in a later step.Entra - App Registrations - Bold Registration - App ID Highlighted.png
  2. On the left, click the Certificates & Secrets button.Entra - App Registrations - Bold Registration - Certs & Secrets Highlighted.png

  3. Click on the New client secret button
    Note: After creation be sure to save the client secret as it will only be available for a short time.
    This and the application (ClientId) will need to be configured in Utilities in a later step

    Entra - App Registrations - Bold Registration - Certifications & Secrets - New Client Secret Button.png

  4. Enter a name in the Description field
    Entra - App Registrations - Bold Registration - Certifications & Secrets - Add A Client Secret - Description Field.png

  5. Select the expiration from the Expires drop down field.
    1. We recommend selecting 24 months, the maximum amount of time that can be selected. Please also note the date this will expire, so you can update this secret before then, to ensure no interruption of service. For more information on how to update an expired Secret Value, please see our Knowledge Base article on that topic.

      Entra - App Registrations - Bold Registration - Certifications & Secrets - Add A Client Secret - Expires Drop-Down Menu - 730 Days Highlighted.png

  6. Click on the Add button

    Entra - App Registrations - Bold Registration - Certifications & Secrets - Add A Client Secret - Expires Selected - Add Button.png

  7. The Secret Value field will only be displayed on this screen.  Once you navigate to another area, the Secret Value will never be displayed again. Ensure that you copy it here, and store it alongside the Application ID we previously copied, as they will both be required for a later step.

    Entra - App Registrations - Bold Registration - Certifications & Secrets - Secret Added - Secret Value Highlighted.png

Add API permissions

  1. Click on the API permissions section

    Entra - App Registrations - Bold Registration - Certifications & Secrets - Secret Added - API Permissions.png

  2. Click on the Add a permission button

    Entra - App Registrations - Bold Registration - API Permissions - Add A Permission.png

  3. Click on the Microsoft Graph tile

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - MS Graph.png

  4. Click on the Delegated permissions tile

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - MS Graph - Delegated Permissions.png

  5. Use the search bar to locate all required permissions.

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - MS Graph - Select Permissions - Search Bar.png

  6. Add the following permissions, by clicking the checkboxes:  
    1. IMAP.AccessAsUserAll
    2. Mail.Read
    3. Mail.Send
    4. User.Read

  7. Once all above permissions are selected, click on the Add permissions button

    Entra - App Registrations - Bold Registration - API Permissions - Graph Permissions Added - Add Permission Button.png

  8. Click on the Add a permission button once more

    Entra - App Registrations - Bold Registration - API Permissions - Graph Permissions Added - Add Permission Button.png

  9. Click on the APIs my organization uses tab

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - APIs My Org Uses.png

  10. In the Apps in your directory that expose APIs search field, type: OFFICE

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - Select Permissions - APIs My Org Uses - Search Bar.png

  11. Click on the Office 365 Exchange Online option
    1. Not all Microsoft subscriptions will have the Office 365 Exchange Online option. If not visible, add to the subscription first before proceeding. Please see the Microsoft Website on this topic for further information. 

      Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - Select Permissions - APIs My Org Uses - Search Complete - O365 Exchange Online.png

  12. Click on the Application permissions tile

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - O365 Exchange Online - App Permissions.png

  13. Use the search bar to locate all required permissions.

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - O365 Exchange Online - Search Bar Highlighted.png

  14. Add the following permissions, by clicking the checkboxes:  
    1. IMAP.AccessAsApp

  15. Click on the Add permissions button

    Entra - App Registrations - Bold Registration - API Permissions - Request API Permissions - O365 Exchange Online - Search Bar Highlighted - Add Permission Button.png

  16. Ensure that all the APIs/Permissions are listed:
    1. Details for API/Permissions

      Located in Section API / Permission Name Type Description Admin Consent required
      OpenId permissions openid Delegated

      Sign in and read user profile

      No
      IMAP IMAP.AccessAsUserAll Delegated Read and write access to mailboxes via IMAP No
      Mail Mail.Read Delegated Read user mail No
      Mail Mail.Send Delegated Sign users in No
      User User.Read Delegated Send mail as a user No
      IMAP Imap.AccessAsApp Application

      IMAP.AccessAsApp

      Yes
      Entra - App Registrations - Bold Registration - API Permissions - Permissions Added Highlighted.png

  17. Click on the Grant Admin Consent button
    1. This option may be grayed out (unavailable), without the proper permissions.
      Microsoft on Entra AD roles

      Entra - App Registrations - Bold Registration - API Permissions - Permissions Added - Grant Admin Consent Button.png

Setup to configure Web Application Authentication

  1. Click on the Authentication section

    Entra - App Registrations - Bold Registration - API Permissions - Permissions Added - Authentication.png

  2. Click on the Add a platform button

    Entra - App Registrations - Bold Registration - Authentication - Add A Platform Button.png

  3. Click on the Web tile

    Entra - App Registrations - Bold Registration - Authentication - Configure Platforms - Web Button.png

  4. Enter the following link into the Redirect URIs field, replacing staffdemo with your company's subdomain: https://staffdemo.myavionte.com/sonar/api/oauth2/CallbackAuthTokenSync
    1. Finding your Build/Install Name

      Entra - App Registrations - Bold Registration - Authentication - Configure Web - Enter URL Field.png

  5. Click on the Configure button

    Entra - App Registrations - Bold Registration - Authentication - Configure Web - URL Entered - Configure Button.png

  6. Click on the Add URI link

    Entra - App Registrations - Bold Registration - Authentication - First URL Added - Add URL Button.png

  7. Enter the following link into the Redirect URIs field, replacing staffdemo with your company's subdomain: https://staffdemo.myavionte.com/sonar/api/oauth2/CallbackAuthTokenSend
    1. Finding your Build/Install Name

      Entra - App Registrations - Bold Registration - Authentication - First URL Added - Add URL Clicked - URL Field.png

  8. Click on the Save button

    Entra - App Registrations - Bold Registration - Authentication - First URL Added - Add URL Clicked - Name Entered - Save Button.png

Create User Groups

Create a user group that has access to this new application and assign users that are allowed BOLD Email Integration. Please note that if you are on the free version of Entra, you may not have the ability to create groups. If this is the case, please move on to the next section where you can instead add users to the integration individually.

  1. Click on the Groups section

    Entra - App Registrations - Bold Registration - Authentication - Both URLs Entered - Groups Button.png

  2. Click the All Groups button

    Entra - App Registrations - Bold Registration - Authentication - Both URLs Entered - Groups Menu Open - All Groups Button.png

  3. Click on the New group button

    Entra - Groups - All Groups - New Group Button.png

    1. Enter information for the following fields:
      1. Group Type: Select the Security option
      2. Group name: BOLD_Email_Integration
        1. Note: We recommend not to include any spaces and use underscores instead.
      3. Group description: Enter a brief description of the Group
      4. Entra roles can be assigned to the group: Toggle the switch to No
      5. Membership type: Select the Assigned option
      6. Owners: No changes are needed

        Entra - Groups - All Groups - New Group - Group Name Added - Fields.png

      7. Once all of the required information if selected, click Create.

        Entra - Groups - All Groups - New Group - Group Name Added - Create Button.png

      8.  Within the group you have created, click the Members button

        Entra - Groups - All Groups - Group Added - Group Selected - Members Button.png

      9.  Click the Add Members button

        Entra - Groups - All Groups - Group Added - Group Selected - Members - Add Members Button.png

      10. Select all the members/users using the checkbox to the left of each of their names

        Entra - Groups - All Groups - Group Added - Group Selected - Members - Add New Members - User Highlighted.png

      11. Once all members have been selected, click the Select button to add them to the group

        Entra - Groups - All Groups - Group Added - Group Selected - Members - Add New Members - Select Button.png

Add a new Group to the Application

Select Enterprise Apps and BOLD Email Integration to add this group to the new Application

  1. Under the Enterprise Applications section on the left, click All Applications

    Entra - Groups - All Groups - Group Added - Group Selected - Members - Member Added - Enterprise Apps Button.png

  2. Using the search bar, locate and select the application we created in the first section of this process.

    Entra - Enterprise Applications - Search Bar - Integration Highlighted.png

  3. Click on the Assign users and groups link

    Entra - Enterprise Applications - Bold Selected - Users And Groups.png

  4. Click on Add user/group

    Entra - Enterprise Applications - Bold Selected - Users And Groups - Add User or Group Button.png

  5. Click on the None Selected link

    Entra - Enterprise Applications - Bold Selected - Users And Groups - Assign Users And Groups - None Selected Button.png

  6. Click on the User Group that was created in a previous step.
    1. If the Entra Plan is a Free Tier, then the ability to select User Groups is not allowed. Instead, please select all the Users instead of a group at this stage.

      Entra - Enterprise Applications - Bold Selected - Users And Groups - Assign Users And Groups - Select Users And Groups - Search Complete - User Check Box.png

  7. Click on the Select button

    Entra - Enterprise Applications - Bold Selected - Users And Groups - Assign Users And Groups - Select Users And Groups - Search Complete - Group Selected - Select Button.png

  8. Click on the Assign button

    Entra - Enterprise Applications - Bold Selected - Users And Groups - Assign Users And Groups - Group Selected - Assign Button.png

References

Outlook Service Limits

From the Microsoft article, Microsoft Graph service-specific throttling limits:

"Outlook service limits are evaluated for each app ID and mailbox combination. In other words, the limits described apply to a specific app accessing a specific mailbox (user or group). If an application exceeds the limit in one mailbox, it does not affect the ability to access another mailbox. The following limits apply to the public cloud as well as national cloud deployments."

Limit Applies To
10,000 API requests in a 10-minute period v1.0 and beta endpoints
4 concurrent requests v1.0 and beta endpoints
15 megabytes (MB) upload (PATCH, POST, PUT) in a 30-second period v1.0 and beta endpoints

 

 

3rd party link Disclaimer: These links are being provided as a convenience and for informational purposes only; they do not constitute an endorsement or an approval by [The author] of any of the products, services or opinions of the corporation or organization or individual. [The author] bears no responsibility for the accuracy, legality or content of the external site or for that of subsequent links. Contact the external site for answers to questions regarding its content.

 

Click on the links below for more information:

 

Articles in this section

Was this article helpful?
1 out of 1 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.