none
How to redirect to Dynamics 365 from provider hosted app? RRS feed

All replies

  • Hi MsSPJ,

    How is your Dynamics 365 authenticate ? As I understand, we need to firstly get the context token in Provider hosted app and then redirect.

    Response.Redirect(TokenHelper.GetAppContextTokenRequestUrl(sharePointHostUrl, Server.UrlEncode(targetUrl)));

    More information:

    Get context token and redirect

    Thanks

    Best Regards


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Tuesday, January 24, 2017 9:18 AM