Bing 广告 API 快速入门:仅供 Microsoft 帐户用户使用。请使用 /consumers 端点来满足此请求

Bing Ads API Quickstart: for use by Microsoft Account users only. Please use the /consumers endpoint to serve this request

遵循本指南:

https://docs.microsoft.com/en-us/advertising/guides/get-started?view=bingads-13

我有一个 运行ning PowerShell 脚本,它成功地引导我在浏览器中完成完整的 MS 帐户登录。如指南中所述,这将以 URL 结束,其中包括 code 参数。我将其粘贴回 PowerShell,并收到以下错误:

Invoke-WebRequest : {"error":"invalid_request","error_description":"AADSTS9002331: Application
'xxxxxxxxxxx'(AppName) is configured for use by Microsoft Account users only. Please use
the /consumers endpoint to serve this request.\r\nTrace ID: 16da02c8-d855-44cf-8693-614a74aa0800\r\nCorrelation ID:
63ba5d25-1210-407d-9eec-ef3b5d41c272\r\nTimestamp: 2020-06-10
19:25:17Z","error_codes":[9002331],"timestamp":"2020-06-10

这到底是什么意思?我如何使用消费者端点来满足这个请求?我只是想 运行 一个 python 脚本在一台机器上,一个帐户——消费者端点是我想要的吗?

由于@BobRz 确认了这一点,我将重新发布作为答案:

在应用程序注册期间,请务必启用对所有帐户类型的支持,例如,请参阅此处的第 3 步:https://docs.microsoft.com/en-us/advertising/guides/authentication-oauth-identity-platform?view=bingads-13#registerapplication