locked
CRM 2015 SDK: Bug in Authentication for O365 - (Cannot authenticate) - Resolution RRS feed

  • Question

  • I'm having a hard time specifically finding a post specific to this so figured I would post and if it's a duplicate my apologies.

    Situation:

    • Install the Dynamics CRM 2015 SDK
    • Open the WebResource SDK Project
    • Make sure when you compile that your references to the XRM SDK Dll's point to your 2015 SDK files (or fix them)
    • Compile the Webresource Utility with Visual Studio (I am using 2015, but 2013 works too)
    • Now try to run it and log into your Office 365 CRM Online instance to create some webresources

    BUG: While attempting to validate to an O365 dynamics CRM Online (in the US) it will fai.

    Reason: The code checks if you are logging into dynamics.com and then makes an assumption to use https://dev.{0} as the URL to your discovery

    However the real url is disco.{0}.

    Update that, recomplile and bingo it works

    Cheers,

    Sunday, August 23, 2015 5:43 PM