Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics 365 Outlook app For Dynamics 365 OnPremise

(0) ShareShare
ReportReport
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?

  • 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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans