AADSTS650052: The app needs access to a service ('https://ads.microsoft.com') that your organization has not subscribed to or enabled.

Noah Webster 1 Reputation point
2021-08-10T14:01:58.787+00:00

We are trying to follow the steps from https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth?view=bingads-13 to get access to our Bing Ads API. We setup a new App, and entered https://login.microsoftonline.com/common/oauth2/nativeclient as the redirect URL. We then proceed to the validation step, but keep getting this error when we try to authenticate:

AADSTS650052: The app needs access to a service ('https://ads.microsoft.com') that your organization has not subscribed to or enabled.

Did we need to add something to the manifest? Did we need to add users or follow another step first? The directions above don't list anything.

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
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,411 Reputation points Microsoft Employee
    2021-08-13T16:54:10.807+00:00

    If you receive this error, make sure at least one of the users in your tenant is enabled for work accounts in the Microsoft Advertising web application. You need to follow some additional steps within Bing Ads to enable the work account:

    123182-image.png

    Please also double check that all of the app registration steps were followed:
    https://learn.microsoft.com/en-us/advertising/guides/authentication-oauth-identity-platform?view=bingads-13#registerapplication


  2. Noah Webster 1 Reputation point
    2022-03-07T17:30:04.453+00:00

    Any other suggestions? This is still an issue for us.

    0 comments No comments