Microsoft OAuth Error Code : AADSTS650052

Vinay Pugal 26 Reputation points
2022-12-29T15:32:55.903+00:00

When we request consent for our application , users are facing this error :

AADSTS650052: The app is trying to access a service 'd42ffc93-c136-491d-b4fd-6f18168c68fd'(Microsoft Advertising API Service) that your organization 'xxxxx' lacks a service principal for. Contact your IT Admin to review the configuration of your service subscriptions or consent to the application in order to create the required service principal.

The following scopes are requested from the user : "https://ads.microsoft.com/msads.manage", "offline_access"

We have also added the following permissions in the Api permissions:
274867-screenshot-20221229-210005.png

How can we fix this?

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.
387 questions
{count} votes