Cannot grant organization consent for my application

Seth Hallem 6 Reputation points


I am developing an application that requires organizational consent. Prior to a few days ago, the consent flow was working but my app was configured to accept consent from my tenant only.

Now, I want to roll out this product to other organizations. I changed the Azure setting to allow consent from all tenants. Unfortunately, the consent flow no longer works. I reach the consent page, but upon "Accept"ing the required permissions, I enter a loop. Each time I hit "Accept", I return to the consent page.

Has anyone else seen this issue. Any advice as to how to resolve it?



Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,914 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Seth Hallem 6 Reputation points


    I initiate my OAuth flow with this URL:

    I placed the consent page in the Chrome debugger, and the attached screen shot is an outline of what I get. The POST to /Set returns a 200, not a 302, and I am back where I started. This did not happen as recently as a few days ago.

    0 comments No comments

  2. alex 101 Reputation points

    Try adding delegated permissions for every application permission. They shouldn't really be needed for admin consent for a web app and even if they were, it should fail with an error and not a loop. But that's what fixed it for us.

    0 comments No comments