Sunday, 14 January 2018

Configuring Dynamics 365 Outlook App On-Premise

Microsoft released the Outlook App with CRM 2016, and then a second much improved version with Dynamics 365, a number of issues and small bugs were identified, but the App is now stable with Update 2.2, I recommend you install this patch to get your Outlook App running smoothly.

A number of people encounter numerous technical hurdles and become frustrated with the lack of documentation available. On this blog post I will go through step-by-step on how to configure the Outlook App for an On-Premise environment, we will configure the following components:
  • CRM OAuth Configuration
  • Exchange Profile
  • ADFS Configuration
  • Pushing the Outlook App to users
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

How the Outlook App works?
The Outlook App it's an add-in installed on a user Exchange Mailbox. Exchange add-ins have been introduced with Cumulative update 14 for Exchange 2013.

The Outlook App add-in is pushed to the user Mailbox from CRM, no Exchange Server-side configuration or installation is needed, it's all done from CRM. The service account used for Exchange Synchronization requires impersonation rights in order to successfully install the add-in on the user Mailbox.

Minimum Exchange configuration:
  • Exchange Server version 15.0.1236.3.32 (Cumulative Update 14 for Exchange Server 2013) 
  • Exchange 2016

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


CRM Exchange Setup
Please refer to my previous blog post on how to configure Exchange Server Side synchronization here: http://quantusdynamics.blogspot.co.uk/2013/11/dynamics-crm-2013-configuring-exchange.html


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:























Run the following command on the ADFS server:

Add-AdfsClient -ClientId  YOUR_ID  -Name "Dynamics CRM Outlook Client" -RedirectUri https://my_CRM_domain/crmmailapp/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 "https://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.


























Installing the Outlook App
As I've mentioned earlier, the Outlook App is installed on the user mailbox from CRM. There are two methods to push the Outlook App to the user mailbox:
  • User manually pushes the Outlook App
  • Administrator pushes the Outlook App from administration panel
The user can push the Outlook App manually under the the Apps for Dynamics 365 under the Cog on the top right menu:




















On this Page if the CRM user profile is correctly set up with Exchange Server-Side Sync, you should see a blue button to add the Outlook App, as per the below screenshot.

































Clicking on the Outlook App Button, starts the process on the background, the user will see the below message:


































To push the Outlook App to multiple users,  access the Settings menu > Dynamics 365 App for Outlook

The Eligible users section will only list users where the Exchange Server Profile was set up and the incoming and outgoing settings are set for Server-Side Exchange Synchronization, please refer to the below screenshot:

After the user Mailbox is correctly configured, you need to Test & Enable the Mailbox










Check the Dynamics 365 App for Outlook Settings Menu, the account is now visible on the Eligible Users, click Add App for Outlook, the status will change to Pending... this may take up to 2 minutes to complete, depending on your infrastructure.


















When the app is successfully pushed to the user mailbox, you will see a green message: Added to Outlook 









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.



60 comments:

  1. I am happy that I found your post while searching for informative posts. It is very useful.Thanks for sharing.
    Microsoft Dynamics AX Online Training

    ReplyDelete
  2. This is great blog post on configure outlook you can read configure gmail in outlook 2016

    ReplyDelete
  3. This is great blog post you have explained it deeply you can read how to delete gmail account or you can visit our website itprohelps.

    ReplyDelete
  4. This is great blog post you explained it deeply you can read Change gmail account

    ReplyDelete
  5. This post is Very nice post, If any remove a gmail account user face any problems related to chrome then call at how to remove a gmail account from chrome Phone Number +1 888 509 9555.

    ReplyDelete
  6. You described it very good on google not working you can read google search is not working

    ReplyDelete
  7. Thanks for sharing this information with us and i really appreciate how to.change gmail password on iphone

    ReplyDelete

  8. In the event that you don't have the foggiest idea how to recuperate the secret phrase, at that point take help from Gmail specialized help Call Toll Free +1-877-637-1326 How to recover a Forgotten Gmail password.

    ReplyDelete
  9. Nice post. I learn something totally new and challenging on sites . It's always helpful to read content, at that point take help from Gmail specialized help Call Toll Free +1 888 509 9555 reset gmail password without phone number.

    ReplyDelete
  10. It was a really amazing from my remove a gmail account from chrome . I found all the steps helpful; your simple language and clear instructions are easily practicable. Thanks for your help! In some case you don't know how to do that then call us on our toll-free no +1 888 509 9555.

    ReplyDelete
  11. This is realy a Nice blog post read on of my blogs paypal password reset you can visits our websites or toll free no +1 888 509 9555 solve your problem fastly.

    ReplyDelete
  12. I like to read your blog which is so amazing and informative. If you stuck with google account recovery issue then don't panic, you can contact our experts at google account recovery phone number

    ReplyDelete
  13. I like to read your blog because it is so informative & interesting. If you have any trouble like firestick says no signal related any issue then without worry contact our experts by dailing fire stick customer service phone number

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. Fantastic post.

    Really enjoyed reading it reset gmail password without phone number and held my attention all the way through! Keep it up.

    ReplyDelete
  16. Thanks for posting such a Useful information .You done a great job.
    MS Azure Admin Online Training

    ReplyDelete
  17. Become a professional developer on azure through microsoft azure training

    ReplyDelete
  18. You have shared such a great content with us i will read your others blog too. you can read same quality content here stop unwanted emails in gmail- itdialfast

    ReplyDelete
  19. All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks Gmail account recovery

    ReplyDelete
  20. this is one of the great blog post you can visit my blog to read more awesome content. https://onlineitprohelps.blogspot.com/

    ReplyDelete
  21. This is one of the great blog post you can read one of the great content of my here: change gmail password iphone call us our toll free number +1 888 509 9555.

    ReplyDelete
  22. In this article we are going to discuss with you how to fix iMessage Not Working on a Mac, When you use the iPhone to send messages, some display in green while others are blue. The green are standard SMS/MMS messages, and blue messages use iMessage, apple’s proprietary messaging services.

    ReplyDelete
  23. Thanks for sharing information .............
    Read more blog..........

    For more information visit us: How to Fix http Error 500 Facebook
    Contact us: +1 888 509 9555

    ReplyDelete
  24. thanks for information visit us.........
    Read more blog Facebook picture not loading

    For more information visit us:https://www.letsassists.com/blog/how-to-solve-facebook-not-loading-on-chrome/
    Contact us: +1(866)379-1999

    ReplyDelete
  25. Get in touch with Removalists Geelong , the best Removalists in Geelong and they'll make sure that your shifting process is streamlined and that all your belongings are delivered safely to your new abode. So, what are you waiting for? Request a free quote today!!

    ReplyDelete
  26. I am reading your post from the beginning, it was so interesting to read azure online training & I feel thanks to you for posting such a good blog, keep updates regularly..

    ReplyDelete
  27. Looking for more Google Support on
    Recovery of Account
    visit: https://www.instanttfn.com/blog/google-account-recovery-process(GOOGLE ACCOUNT RECOVERY)
    Phone: 1(866)201-2001

    ReplyDelete
  28. Contact MS Office setup with MS Office setup Assistance Experts If you want to know, how to Improve Unsaved MS Office Data? Dial Office.com/setup and update your MS Office setup to use all functions. https://office-setup.us/

    ReplyDelete
  29. Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.
    CRM Software

    ReplyDelete
  30. This comment has been removed by the author.

    ReplyDelete
  31. Sawda Capital Finance is a reputed and licensed moneylender, offering loans at low interest rates. The company is registered with the ministry of law. Our mission is to help people who are in need of cash by lending them money. We do not need any credit score, collaterals and deposits to process your loan request.
    Some of the services provided by the company are:
    1. Personal Loans
    2. Business Loans
    3. Payday Loans
    4. Debt Consolidation Loans

    Apply for a loan today.

    Email: sawda.finance@gmail.com
    Phone: +12139927693
    WhatsApp: +12139927693

    ReplyDelete
  32. Safe to use Bitcoin Bitcoin is the widely chosen one because it is holding multiple features. Safe to use Bitcoin Here you will get the Bitcoin Facts You Didn’t Know About how it’s helpful for the secured transaction. In a short time, the number of users of bitcoin is increased and the users are giving excellent reviews about it.

    ReplyDelete
  33. Old Mill Removals based in Sussex, South East England specialises in Household Removals & Removals to Europe. Your #1 Removal Company in Sussex Commercial Services

    ReplyDelete
  34. Bitstarz customer Support number
    Bitstarz customer Support number :- With an increased advancement in technology, many gamblers are turning to Play online casino games. It is no surprise that online gambling sites offer plenty of games, different payment options, and more. in recent times, players love to play online gambling using bitcoins to make the gaming platform more fun and exciting.

    ReplyDelete
  35. Thank you very much for sharing this useful knowledge with us. I'm delighted to have come across your post. Hoppers Crossing Removalists

    ReplyDelete
  36. Bitcoin ATM Service Phone Number . Bitcoin ATM Customer Support in the industry, 7 days a week with our live, experienced support. Click hare

    ReplyDelete
  37. You're giving out useful information. Excellent work. This information has been bookmarked for potential reference. This is a wonderful inspiring blog. We also have House Moving

    ReplyDelete
  38. Where do you obtain this type of information; it's quite enlightening. maintain momentum This is an extremely extensive and interesting blog, and I believe it is extremely important and informative. I'd want to express my gratitude for spending the time and effort necessary to create this blog. Furthermore, we possess
    Interstate Movers

    ReplyDelete
  39. Where do you get this kind of stuff, it's very insightful. keep up the pace This is a very detailed and insightful blog, and I believe this is very valuable and knowledgeable. Removalists Bacchus Marsh

    ReplyDelete
  40. Thank you for providing this information. This is a very comprehensive blog. Thank you for your time and dedication! Please continue to share such blogs. Removalists Brookfield

    ReplyDelete
  41. How Do I Find a Bitcoin ATM in San Antonio?

    Every business needs customer service. It should go beyond a written message. Customer service is key to crypto currency’s acceptance rate. Bitcoin Services in San Antonio invites anyone to use its Bitcoin ATMs regardless of their Bitcoin knowledge. Our network of ATMs has been voted the most flexible, practical, and customer-oriented Bitcoin ATMs San Antonio has to offer.

    ReplyDelete
  42. Thank you for providing this information. This is a very comprehensive blog. Thank you for your time and dedication! Please continue to share such blogs.
    Melbourne to Canberra Removalists

    ReplyDelete

  43. You're giving out useful information. Excellent work. This information has been bookmarked for potential reference. This is a wonderful inspiring blog. Adelaide to Melbourne Removalists

    ReplyDelete
  44. Thank you for sharing such useful information. This is one of the most excellent articles I've ever read. I read all of your blogs, but this one is my favourite. It's exactly what I was wanting to see, and I hope you'll keep sharing great content in the future.
    Removalists Hoppers Crossing

    ReplyDelete
  45. Thank you for providing this information. This is a very comprehensive blog. Thank you for your time and dedication! Please continue to share such blogs.
    Removalists Tarneit

    ReplyDelete
  46. Thank you for sharing such useful information. This is one of the most excellent articles I've ever read. I read all of your blogs, but this one is my favourite. It's exactly what I was wanting to see, and I hope you'll keep sharing great content in the future.
    Hoppers Crossing Removalists

    ReplyDelete
  47. Explained well! thanks for sharing this article. If you are looking for Dynamics 365 customer service in Brisbane, Datalinks Dynamics 365 customer service Brisbane based helps firms to enable employees and connect the customer experiences in a consistent, high-quality, and predictable manner.

    We provide consultative services as well as technical services in areas such as sales and marketing, intelligent customer service, integrated field service, modern finance and operations, and e - commerce solutions.

    ReplyDelete
  48. It was a pleasure to read this wonderful blog. This type of blog is uncommon. Those who read it will find it interesting. I enjoyed it and would like to encourage you to keep up the excellent work.
    Interstate Melbourne to Albury Removalists

    ReplyDelete
  49. wonderful, I agree with you; this is a fantastic and very useful blog. If you're looking for Removals Newcastle to Melbourne, look no further than Cheap Interstate Movers. Continue your excellent work!
    Removals Newcastle to Melbourne

    ReplyDelete
  50. This is fantastic; I'd like to know where you got your information. Keeping up with the times, I believe this is an important and informative piece of writing.
    Movers Cairns to Melbourne

    ReplyDelete
  51. I came across your site while looking for something else, but I was delighted to read it. The amount of information available here is incredible.
    Interstate Removalists Brisbane to Sydney

    ReplyDelete
  52. quite nice say. I just stumbled upon your weblog and wanted to publicize that i've without a doubt enjoyed browsing your weblog posts. After every sick be subscribing on your feed and that i dream you write inside the same manner as again quickly! Avast VPN Activation Code

    ReplyDelete
  53. attractive, notice. I simply stumbled upon your blog and wanted to proclaim that i've appreciated browsing your weblog posts. After every one in all proportion of share of, i can really subscribe to your feed, and that i goal you may write once more quickly! Spyhunter Download

    ReplyDelete
  54. I cant taking office on focusing long adequate to research; lots less write this rosy of article. Youve outdone your self as quickly as this cloth truely. it's miles one of the greatest contents. Happy Birthday Wishes For Brother

    ReplyDelete
  55. nice blog.Want to become Oracle Fusion SCM Certified Consultant? Attend this Best Oracle Fusion SCM Online Training offered by the Unogeeks, Top Oracle Fusion SCM Online Training Institute in the market

    ReplyDelete