Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Dynamics 365 Outlook app For Dynamics 365 OnPremise

Posted on by 15

Hi All

How to integrate Dynamics 365 Outlook app For Dynamics 365 On Premise system?

Is there any step by step manual available?

Is it possible id d365 is not IFD enabled?

  • Michael Donald Profile Picture
    Michael Donald 7 on at
    Dynamics 365 Outlook app For Dynamics 365 OnPremise

    Hi All,

    Integrating the Dynamics 365 Outlook app for a Dynamics 365 On-Premise system involves a few key steps. Here’s a general guide to help you through the process:

    1. Ensure Compatibility: Verify that your Dynamics 365 On-Premise version is compatible with the Outlook app. The app supports Dynamics 365 versions from CRM 2016 and later.

    2. Install Server-Side Synchronization: Set up server-side synchronization for your email system. This step is crucial as it facilitates communication between Dynamics 365 and Outlook.

    3. Configure Dynamics 365 for Outlook:

      • Download and install the Dynamics 365 App for Outlook.
      • Go to the Dynamics 365 settings, and select "Dynamics 365 App for Outlook".
      • Add users who will be using the app.
    4. IFD (Internet-Facing Deployment) Requirement: For an on-premise system, it is generally required that Dynamics 365 is IFD enabled to allow external access. If your Dynamics 365 is not IFD enabled, you may encounter limitations in accessing the app externally.

    5. Test the Configuration: Ensure that the configuration is working correctly by sending test emails and checking if they are tracked in Dynamics 365.

    For a detailed, step-by-step manual, it’s best to consult the official Microsoft documentation or a comprehensive guide from a reliable source.

    If you face any challenges during the integration or if your system is not IFD enabled, it’s highly recommended to contact a Dynamics 365 implementation partner. They can provide you with expert guidance, ensure that all prerequisites are met, and help you achieve a seamless integration.

    Best regards,
    Krupa Patel

  • Suggested answer
    RE: Dynamics 365 Outlook app For Dynamics 365 OnPremise

    Minimum Requirements

    • Dynamics 365 with IFD 
    • Dynamics 365 Update 2.2
    • Minimum ADFS 3.x due to OAuth endpoint
    • Minimum Exchange 2016 or 2013 with Cumulative Update 14 or greater
    • Office 2016 (recommended) although Office 2013 also works fine
    CRM Exchange Setup
    Connect Dynamics 365 (on-premises) to Exchange Server (on-premises) | Microsoft Docs

    CRM OAuth Configuration
    The Dynamics Outlook requires OAuth configuration, on the CRM server execute the following PowerShell commands:

    $ClaimsSettings = Get-CrmSetting -SettingType OAuthClaimsSettings
    $ClaimsSettings.Enabled = $true
    Set-CrmSetting -Setting $ClaimsSettings

    ADFS Configuration
    We need to ensure the Outlook App ID is registered with ADFS to allow OAuth authentication to succeed.

    First we need to retrieve the Outlook APP ID from CRM, you can access this information on the Settings Menu > Dynamics 365 App for Outlook

    you will see the following screen:

    pastedimage1624531990446v1.png

    Run the following command on the ADFS server:

    Add-AdfsClient -ClientId  YOUR_ID  -Name "Dynamics CRM Outlook Client" -RedirectUri my_CRM_domain/.../code_auth.aspx


    ADFS 4.x (windows server 2016)
    If you are using ADFS with Windows server 2016, in addition to the above steps, you also need to grant permissions to the Outlook App, please run the following command in powershell:

    Please note the domain used here, is the IFD authentication CRM URL, usually named authcrm.domain

    Grant-AdfsApplicationPermission -ClientRoleIdentifier YOUR_APP_ID -ServerRoleIdentifier "
    authcrm.domain.com” -ScopeNames openid


    ADFS Authentication Providers
    Forms based authentication is required to be enabled on the intranet zone. Open the ADFS management wizard.

    Click Authentication Policies > Primary Authentication > Global Settings > Authentication Methods > Edit.

    Click Forms Authentication on the Intranet zone.

    pastedimage1624531990446v2.png
    pastedimage1624531990446v3.png



    pastedimage1624531990447v4.jpeg

    Installing the Outlook App 
    How to deploy Dynamics 365 App for Outlook | Microsoft Docs

    Internet Explorer Settings
    The CRM domains need to be added to the Trusted Sites and Protected Mode needs to be enabled

    If you come across multiple authentication pop-ups try to enable anonymous authentication:

    Run inetcpl.cpl and click on OK.

    • Go to Security Tab. Click on Trusted Sites lower the security level to Low
    • Enable Protected Mode
    • Add both the internal and external CRM domains “">https://crm.domain"
    • Click on custom level and scroll down to user authentication section, select anonymous logon and save changes.

Helpful resources

Quick Links

First Dynamics 365 Community Call (CRM Edition)

Don't miss the first D365 Community Call on 7/10!

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 285,480 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,450 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans