Deploy and install Dynamics 365 App for Outlook

This topic covers how to set up and deploy Dynamics 365 App for Outlook.

Dynamics 365 App for Outlook works with customer engagement apps (such as Dynamics 365 Sales, Dynamics 365 Customer Service, Dynamics 365 Marketing, Dynamics 365 Field Service, Dynamics 365 Project Service Automation, and Dynamics 365 Customer Engagement (on-premises), version 9), and model-driven Power Apps that run on Microsoft Dataverse.

Note

Multiplexing setup doesn't reduce the number of licenses required to access Dynamics 365 apps. For more information, see Multiplexing Licensing Brief.

Prerequisites

The following prerequisites are required before you begin set up.

Step 1: Set the default synchronization method

To use Dynamics 365 App for Outlook, you need to set server-side synchronization for your email processing. For more information on email synchronization, see Set incoming and outgoing email synchronization

  1. From your app, go to Settings > Advanced Settings.

    Setting Customizations.

  2. Go Settings > Administration and then select System Settings.

    Go to system settings.

  3. Select the Email tab, and set Process Email Using to Server-Side Synchronization.

    Select server-side sync.

Step 2: Test email configuration and enable mailboxes

Enable and test your user mailboxes so they can use Dynamics 365 App for Outlook.

  1. From your app, go to Settings > Advanced Settings.

    Setting Customizations.

  2. Go Settings > Email Configuration and then select Mailboxes.

    Go to mailboxes settings.

  3. Select the Active Mailboxes view, and then select the mailboxes that you want to test and enable.

    Select the mailboxes that you want to enable.

  4. On the command bar, select APPROVE EMAIL and then select OK.

    Select approve email.

  5. Once approved, select TEST & ENABLE MAILBOX.

    Select test and enable maillbox.

  6. On the confirmation dialog box, select OK.

    Select ok to confirm.

You may need to wait for the system to process the updates. The more mailboxes you enable, the longer it may take.

Step 2.1: Verify configuration

To verify mailbox is set up correctly, open the mailbox that you tested in the previous step.

If the set up is successful, the configuration Test Results section will change from Not Run to Success.

Open a mailbox to verify that it's set up correctly.

Step 3: Provide security role access

The security role Dynamics 365 App for Outlook User is available from build 9.1.0.4206 or later. If a user doesn’t have this security role or its underlying privileges, they’ll receive the following error: You haven't been authorized to use this app. Check with your system administrator to update your settings. You must add users to this role so they can use Dynamics 365 App for Outlook. This will ensure that the users have the basic privileges needed to access App for Outlook.

Other security privileges on top of the basic privileges, related to the user's role, will light up more features. For example, if a user has create privilege on Lead table, in addition to Dynamics 365 App for Outlook User security role, they would see an email resolve to a Lead table where applicable.

App for Outlook also requires server-side synchronization to be properly configured with the minimum security roles required by the service. These roles are outlined in the table below.

Privilege name Table Location (tab) within security role
prvReadEmailServerProfile EmailServerProfile Business Management
prvWriteMailbox Mailbox Business Management
prvReadMailbox Mailbox Business Management
prvReadOrganization Organization Business Management
prvSyncToOutlook (exchangesyncidmapping Outlook Business Management > Privacy-related privileges
prvReadActionCard ActionCard Core Records
prvDeleteActivity Activity Core Records
prvAppendActivity Activity Core Records
prvWriteActivity Activity Core Records
prvCreateActivity Activity Core Records
prvReadActivity Activity Core Records
prvAppendToActivity Activity Core Records
prvReadConnection Connection Core Records
prvAssignContact Contact Core Records
prvReadContact Contact Core Records
prvWriteContact Contact Core Records
prvCreateContact Contact Core Records
prvDeleteContact Contact Core Records
prvReadUserQuery Saved View Core Records
prvReadQueue Queue Core Records
prvReadQuery View Customization
prvReadIncident Case Service
prvSearchAvailability   Service Management > Miscellaneous Privileges
prvOverrideCreatedOnCreatedBy   Business Management > Miscellaneous Privileges

Note

If you create a team and add the team to the Dynamics 365 App for Outlook User security role, this doesn't automatically propogate the privileges to the users within that team. This applies to custom roles with the Use Dynamics 365 Appf for Outlook privilege, as well.

  1. To add users to the App for Outlook security role, from your app, go to Settings > Advanced Settings.

    Setting Customizations.

  2. Go Settings > Security and then select Users.

    Select a user settings.

  3. Select the users from the list and then select Manage Roles.

    Select manage roles.

  4. In the Manage User Roles dialog, select the Dynamics 365 App for Outlook User security role to the users and then select OK.

    Select user role.

Step 4: Install App for Outlook

Follow these steps to push Dynamics 365 App for Outlook to selected users, all users, or have users install it themselves as needed.

Important

For environments in Microsoft Dataverse an administrator can get the App for Outlook solution from Microsoft AppSource. After signing in to AppSource, choose the the environment that you want to to install App for Outlook. For more information, see Microsoft Dynamics 365 App for Outlook.

  1. To push the app to your users, from your app, go to Settings > Advanced Settings.

    Setting Customizations.

  2. Go Settings > Dynamics 365 App for Outlook.

    Go to Dynamics 365 App for Outlook.

  3. The Getting Started with Microsoft Dynamics 365 App for Outlook page lists all eligible users that can use App for Outlook. You have several different options on how you can deploy the app to your users:

    • Option 1: Select the checkbox to automatically add App for Outlook to all eligible users. If a user's email is synchronized through server-side synchronization, you won’t have to do anything more to push the app to them.

      Automatically deply the app.

    • Option 2: Select ADD APP FOR EIGIBILE USERS to deploy the app to all users that are set up correctly. The Status will change to Pending.

      Automatically deply the app for eligible users.

    • Option 3: Push the app to certain users, select those users in the list, and then select Add App to Outlook.

      Automatically deply the app to certain users.

  4. The status will change to Added to Outlook and the app will be available for your users.

    Status changes to added to Outlook.

The app will appear in the Outlook ribbon for the added users.

Open App for Outlook pane.

Have users install App for Outlook themselves

  1. From your app, go to Settings > Advanced Settings.

    Setting Customizations.

  2. Select the Settings button Settings button., again and then select Apps for Dynamics 365 apps.

    Select Apps for Dynamics 365 apps.

  3. In the Apps for Dynamics 365 apps screen, under Dynamics 365 App for Outlook, users select Add app to Outlook.

To deploy to Dynamics 365 apps (on-premises) users

Follow these steps if you're using Dynamics 365 apps (on-premises).

Troubleshooting installation problems

  1. If you don't see Dynamics 365 App for Outlook when you click the Settings button Settings button., check that you've enabled the feature.

  2. If you or your users have trouble installing Dynamics 365 App for Outlook, it may be because their Exchange mailbox is currently linked to another Microsoft Dataverse environment or Customer Engagement (on-premises) organization. An Exchange mailbox (email address) can only synchronize appointments, contacts, and tasks with one organization, and a user that belongs to that organization can only synchronize appointments, contacts, and tasks with one Exchange mailbox. You can overwrite the setting stored in Exchange if you want to change the primary synchronizing organization. For more information, see this KB article.