Did you know… It’s easier than you think to track emails from your phone into D365.

I’ve been working Dynamics CRM (or Dynamics 365) for 10 years and had never found an elegant (or simple) way to track emails from a mobile into D365 – until this year (2018).

What I am about to share is not hot off the press nor is it revolutionary, however, when I discovered this I got pretty excited – and the same could happen to you!

I was recently working on a project and was asked by the client what is the best way to track emails from mobile devices into D365.

At first, in my head, I thought of the “Dynamics 365 for Phones” app – but quickly remembered how limiting Email capabilities are on that.

I did some investigating and found nothing in my opinion that was a good enough solution for my customer until a very random thought entered my mind – could it be possible that the “Microsoft Outlook” app has D365 integrated?

As it turns out, the Outlook app works and behaves just like the Outlook desktop client does and does indeed integrated with D365. At high-level it allows you to:

  • Track without regarding
  • Track and set regarding
  • Change the regarding
  • Untrack
  • View D365 records

Here are the areas that will be covered in the low-level steps:

  • Configure the D365 mailbox for each D365 User
  • Ensure each User is granted access to App for Outlook in at least one of the security roles assigned to them
  • Push the App for Outlook to each User
  • Install “Dynamics 365 for Phones” and “Microsoft Outlook” apps (both available on Android and iOS)

Low-level Steps:
Dynamics 365 Setup

  1. Setting up a D365 User Mailbox (assuming D365 and Exchange are both online)
    1. Log in to D365 as an ‘OFFICE 365’ administrator
      1. Note: this is key – performing this as a ‘D635’ Administrator will prevent you from being able to complete step d below
    2. Navigate to ‘Settings’ -> ‘Email Configurations’ -> ‘Mailboxes’
    3. Open the user Mailbox
    4. Ensure the details are filled out as below
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Press the ‘Approve Email’ button from the top ribbon
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
      1. Note: a test email will be sent from Exchange to the email address shown on in that mailbox -> wait for the test email to arrive in that mailbox before continuing to next step (for me, this took less than 1 minute but can vary)
    1. Press the ‘Test & Enable Mailbox’
      1. i. You can only synchronise Outlook to one instance of D365, so if your organisation has more than one instance of D365 (e.g. dev, test, production) tick this box
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
      1. The mailbox is correctly configured when the ‘Test Run Status’ shows “Success”
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
  1. Ensuring the D365 User has the correct permissions
    1. As a D365 Administrator
    2. Navigate to ‘Settings’ -> ‘Security’
    3. Select ‘Security Roles’
    4. Open the role linked to your User
    5. Select the ‘Business Management’ tab
    6. Ensure the ‘Use Dynamics 365 App for Outlook’ permission is set to Organization level (green)
      1. Note: Updating a security impacts all other Users also assigned/linked to that security role
    7. Save and Close
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
  1. Push the App for Outlook to that User (no access is required need to have access)
    1. As a D365 Administrator
    2. Navigate to ‘Settings’ -> ‘Dynamics 365 App for Outlook’
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Only correctly configured mailboxes will appear in the ‘All Eligible Users’ view
    2. Highlight the User
    3. Press the ‘Add App to Outlook’ button and wait 15 mins for D365 to be pushed to Outlook
      1. Refresh the view/grid every few minutes as it may take less than 15 minutes -> the status will be updated to ‘Added to Outlook’ (in green writing) at which point the User can then test
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Open Outlook (Desktop version or via Office 365 on the web)
      1. Outlook – Desktop
        1. Open Outlook
          1. Note: restart Outlook if it was open whilst the above steps were being completed
        2. In the ‘Home’ ribbon, a button with a blue ‘D’ labeled “Dynamics 365” will now be visible
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
        1. Press the button to check the connection to D365 works (a pane will appear to the right-hand side of Outlook)
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
      1. Outlook – Office 365 (online)
        1. Open (double-click) an existing email
        2. a blue ‘D’ will appear in the top right-hand corner of the email message (next to the thumbs up icon)
          1. Note: when creating a new email, the blue ‘D’ appears in the bottom right-hand corner of the message
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
        1. Press the blue ‘D’ to check the connection to D365 works

The D365 setup is complete, now let’s get mobile
Mobile Setup (Android/iOS)

  1. Install the “Dynamics 365 for Phones” app from the Play Store/App Store
    1. Open the app once installed
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Sign in using the D365 URL and username/password (e.g. <yourname>@<companyname>.com)
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Once it has configured and the D365 home screen is visible, exit the app
  1. Install the “Microsoft Outlook” app from the Play Store/App Store
    1. Open the app once installed
    2. Sign in using the same username/password used for the Dynamics 365 for Phones app
    3. Once it has configured and you can see emails, exit the app

Now you’re ready to go – test you can track an email into D365!

    1. Open the Microsoft Outlook app
    2. Open an existing email
    3. f. Press the 3 dots (in the top-right hand corner under the email date) – magic starts to happen around this point!
    4. A sub-screen with a blue ‘D’ (labeled “Dynamics 365”) will appear from the bottom of the screen
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. Select it
    2. This add-in will then take you to a Dynamics 365 page
      1. Note: this will not happen if you have not installed the Dynamics 365 for Phones app and logged in (refer back to step 1b in the Mobile section above)
    3. If you’ve opened an email has never been tracked, you’ll see the option to ‘Track’
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
    1. If you’ve opened an email that has already been tracked, you’ll see the option to ‘Change’
AlfaHacks: Leon Explains How to Link Microsoft Dynamics 365 to your Outlook App!
      1. Note: the records on these pages e.g. “Leon ABC Ltd” can be pressed – in turn you will re-directed to the “Dynamics 365 for Phones” app where you can review that record in more detail – so cool!

In summary – that’s it, you can now (easily) track emails from your phone into D365!

Note: Those on iOS did stop using the native iOS Mail app and switch to the Microsoft Outlook app – enjoy!

Senior Dynamics 365 Consultant at AlfaPeople