Search code examples
visual-studiovisual-studio-2015connectorazure-logic-apps

Logic Apps - authentication loop in Visual Studio 2015


When adding the "Dynamics365 for operations" connector inside my Logic App flow and try to connect with it i get the following error:

A new window pops up asking for my credentials. Upon entering my credentials the page becomes white with on the top "working..." After a while i get the error Timeout.

I tried the following solutions:

  • Starting Visual Studio in admin: had partial success, now i get one setup further into the authentication but i still get into the same authentication loop.

  • Opening the link in Google Chrome just says

    {"Message":"The request is invalid.","ModelState":{"consentInfo":["No consent server information was associated with this request."]}}

  • I have added the link to trusted sites on IE.

  • Disabled security in the internet options of IE.

Solution

  • after a lot of trial and error i managed to fix it! For some reason i had to disable the "Anonymous Authentication" in the IIS manager in my default web site and enable the "Forms Authentication".