AADSTS65001: The user or administrator has not consented to use the application with ID <ID> named <app>. Send an interactive authorization request for this user and resource.

Jared Allen 26 Reputation points
2021-09-29T21:27:43.763+00:00

Hi,

I'm trying to update our application that uses the Bing Ads API to use the updated OAuth flow described here: https://video2.skills-academy.com/en-us/advertising/guides/authentication-oauth?view=bingads-13

I'm able to send the request to request user consent and get the code that is returned. However, when I try to use that code to get a refresh token, I'm getting the error:

AADSTS65001: The user or administrator has not consented to use the application with ID named <name>. Send an interactive authorization request for this user and resource.

Our IT manager has relayed back to us that admin consent has been granted:
136375-image.png

It's also worth noting that after making the request for user consent, the user logs in, but not consent screen is shown after that.

Please let me know if I can provide any more information.

Thanks!

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
402 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,366 questions
0 comments No comments
{count} votes

Accepted answer
  1. James Hamil 22,981 Reputation points Microsoft Employee
    2021-10-01T00:05:30.15+00:00

    Hi @Jared Allen , I'm sorry you're having this problem! Historically this has been fixed by reproducing the environment as shown here: https://stackoverflow.com/questions/59282141/aadsts65001-the-user-or-administrator-has-not-consented-to-use-the-application and triple checking that you have the right permissions. If this still doesn't work there are a few other steps we can take to resolve this. Please let me know!

    If this answer helped you please mark it as "Verified" so other users may reference it.

    Thank you,
    James


0 additional answers

Sort by: Most helpful