In Azure add API Permission "Microsoft Advertising API Service" to your App Registration
In Azure, go to App Registrations:
- Select your app
- Click on API Permissions from the menu option
- Click Add a Permission
- Click Tab: APIs my organization uses
- Search for Microsoft Advertising API Service
- Select the App and the required msads.manage and ads.manage permissions
For folks who are not able to see the "Microsoft Advertising API Service" in 'APIs my organization uses' - here is a catch which we figure out after trying for a few days.
"Microsoft Advertising API Service" gets added automatically on signing for a Microsoft Advertising account (https://ads.microsoft.com/).
Your Azure account will be under a directory xxx.onmicrosoft.com. You will need a work account user eg: user1@xxx.onmicrosoft.com and will need to signup for Microsoft Advertising account using that user. This will ensure that your Azure direction gets the "Microsoft Advertising API Service"
Bing Ads API: Error Code 650052
We are following documentation
, but when we try to Request User Consent, we get the following error message
AADSTS650052: The app needs access to a service ('https://ads.microsoft.com') that your organization 'xxx-xxx-xxxx-xxxx' has not subscribed to or enabled. Contact your IT Admin to review the configuration of your service subscriptions.
How can we fix this?
7 answers
Sort by: Newest
-
Akshay Surve 5 Reputation points
2023-05-10T11:13:33.87+00:00 -
Paid Search 51 21 Reputation points
2021-08-26T19:35:04.72+00:00 I am unsure how or when our Microsoft Advertising API Service appeared under "APIs my organization uses" tab.
When I created an MS Ad account, then with in MS Ad, I changed my email from a personnel account to a Work Account, possibly that's when Microsoft Advertising API Service appeared. -
nenad 16 Reputation points
2021-08-26T10:29:40.93+00:00 @Paid Search 51 I am experiencing the same issue.
I don't see "Microsoft Advertising API Service" under "APIs my organization uses" tab.
How does one enable it? -
Paid Search 51 21 Reputation points
2021-08-23T15:32:33.203+00:00 The fix for this was simple. In Azure add API Permission "Microsoft Advertising API Service" to your App Registration
- In Azure, go to App Registrations
- Select your app
- Click on API Permissions from the menu option
- Click Add a Permission
- Click Tab: APIs my organization uses
- Search for Microsoft Advertising API Service
- click Grant admin consent ... button
-
Ravi Doppalapudi 21 Reputation points
2021-07-06T16:30:54.08+00:00 Hi @Eric Urban - MSFT we are still facing the same issue and contacted support, no update yet.