Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics 365 App for Outlook Issue

Posted on by Microsoft Employee

I recently installed the December 2016 update to our Dynamics CRM 2016 on-premise. I am looking to take advantage of the new Dynamics 365 App for Outlook, but I'm having trouble authenticating with it in Outlook. I currently have CRM configured with claims-authentication, IFD using ADFS 3.0 and Oauth2. I have set up server synchronization for myself and this works successfully. I have deployed the App for Outlook to my Outlook 2016 application.

When I attempt to use the Dynamics 365 App for Outlook, it attempts to authenticate. I enter my domain email address and password and then IE opens up with a 404 - File or directory not found message. The URL that it's trying to go to is:

"https://[CRM ORG URL]/CrmMailApp/undefined?client_id=1bef97ab-72ae-e511-80db-005056bd0caf&redirect_uri=https://[CRM ORG URL]/crmmailapp/code_auth.aspx&resource=https://[CRM ORG URL]&response_type=code&state=undefined?client_id=1bef97ab-72ae-e511-80db-005056bd0caf-dc2db2b5b7f40166c1de4e00b3f8fbb2"

I have reviewed the logs for CRM, the Outlook plugin, and ADFS and I have not been able to determine why I'm having trouble getting the Dynamics 365 App for Outlook to work.

Does anyone have any ideas?

*This post is locked for comments

  • ryanmagic Profile Picture
    ryanmagic 20 on at
    RE: Dynamics 365 App for Outlook Issue

    Did you resolve any of your issues?

  • ryanmagic Profile Picture
    ryanmagic 20 on at
    RE: Dynamics 365 App for Outlook Issue

    Did you resolve this?

  • Pinesh Profile Picture
    Pinesh 20 on at
    RE: Dynamics 365 App for Outlook Issue

    I have experienced the same behavior. I also upgraded to 9.0 but no changes. 

  • Joe Woltering Profile Picture
    Joe Woltering 12,159 on at
    RE: Dynamics 365 App for Outlook Issue

    Great. Well thanks for the info. Let me know if you discover anything. However, I'm resigned to the fact that this is probably by design. 

  • TechCRMT Profile Picture
    TechCRMT 15 on at
    RE: Dynamics 365 App for Outlook Issue

    Hi Joe.

    Then I already got bad news for you. My client is on 9.x onpremise + newest rollup. still the same adfs login page appears each time a users opens Outlook.

    I cant believe that Microsoft is just ignoring this issue... i will open a case today, i let you know the outcome.

  • Joe Woltering Profile Picture
    Joe Woltering 12,159 on at
    RE: Dynamics 365 App for Outlook Issue

    No, I don't think it is possible. I will be upgrading to 9.0 soon and am hoping that this will change but I'm not holding my breath. 

  • TechCRMT Profile Picture
    TechCRMT 15 on at
    RE: Dynamics 365 App for Outlook Issue

    Hi Joe,

    Did you ever solve this ADFS prompt every time users close Outlook?

    I have everything working, but this prompts drives my users crazy.

  • Pinesh Profile Picture
    Pinesh 20 on at
    RE: Dynamics 365 App for Outlook Issue

    Joe, have you tried increasing ADFS Token lifetime value to ~30 days? at least it will lower the frequency of prompts?

  • Joe Woltering Profile Picture
    Joe Woltering 12,159 on at
    RE: Dynamics 365 App for Outlook Issue

    Hi,

    No, we still get prompted to login. Very annoying. 

    We are Dynamics 8.2.2 and ADFS 2.0

  • Pinesh Profile Picture
    Pinesh 20 on at
    RE: Dynamics 365 App for Outlook Issue

    Joe,

    I do have registered Dynamics 365 App for Outlook into the ADFS server, But we are still getting prompted every time open outlook.  is your environment still work without prompting?

    Which version of CRM and ADFS you are running?

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans