locked
Getting error AADSTS650052 when trying to sign up for API RRS feed

  • Question

  • Hi

     I'm trying to sign up for the Microsoft (Bing) Ads API.

    I'm following the guide on this page - https://docs.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13

    When I run Get-Tokens-Production.ps1 on  the power shell I get the following error which I am not able to resolve. Can anyone point me in the right direction?

    Sorry, but we’re having trouble signing you in.

    AADSTS650052: The app needs access to a service (\"https://ads.microsoft.com\") that your organization \"optimumresults.co.nz\" has not subscribed to or enabled. Contact your IT Admin to review the configuration of your service subscriptions.

    Thanks for your help

    Saturday, April 25, 2020 11:51 PM

Answers

All replies

  • If you observe this error please ensure that you at least one of the users in your tenant is enabled for work accounts in the Microsoft Advertising web application. When you run the PowerShell script are you using credentials enabled already via the UI? 

    Thanks,

    Eric

    Tuesday, April 28, 2020 5:42 PM
  • Hi Eric

    Thanks for your reply.

    I have double checked that yes, I have used the same credentials as I use for the UI.


    Wednesday, April 29, 2020 12:55 AM
  • Hi Eric

    I have found the error of my ways.

    Still not there but it is now no longer an API issue for now

    Sunday, May 3, 2020 4:37 AM