BingAds / BingAds-dotNet-SDK

Other
27 stars 42 forks source link

The app needs access to a service #96

Closed ToddEvansHome closed 3 years ago

ToddEvansHome commented 3 years ago

When I try running the BingAdsConsoleApp using our Tenant and ClientId, we receive the below error message. We are unsure what to change to recognize scope: https://ads.microsoft.com

https://login.microsoftonline.com/common/oauth2/nativeclient?error=invalid_client&error_description=AADSTS650052%3a+The+app+needs+access+to+a+service+(%27https%3a%2f%2fads.microsoft.com%27)+that+your+organization+%27XXXXXXX%27+has+not+subscribed+to+or+enabled.+Contact+your+IT+Admin+to+review+the+configuration+of+your+service+subscriptions.....

Any advice would be greatly appreciated.

qitia commented 3 years ago

+@eric-urban hi @ToddEvansHome. The error message is too general, I can not tell what is wrong. When did you start to hit it? does it still repro?

qitia commented 3 years ago

@ToddEvansHome , Could you please send the manifest file to me for trouble shooting? you could find the manifest from here by navigate to your application. There is a Manifest menu in the main menu pane. You could send the manifest directly to my email: qitia@microsoft.com

ToddEvansHome commented 3 years ago

Thank you for your response. Attached is the manifest. It started when I was developing this back in may and is still a problem. Thank you again for your help.

On Tue, Aug 10, 2021 at 5:07 AM qitia @.***> wrote:

@ToddEvansHome https://github.com/ToddEvansHome , Could you please send the manifest file to me for trouble shooting? you could find the manifest from here by navigate to your application. There is a Manifest menu in the main menu pane. You could send the manifest directly to my email: @.***

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BingAds/BingAds-dotNet-SDK/issues/96#issuecomment-895901864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNJOY66TRTV7PGCWD6MCDTT4D26LANCNFSM457E7MNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

-- Thank you, Todd Evans Senior Programmer Media Management, Inc. 314-296-0007

-- https://www.linkedin.com/company/64239  https://twitter.com/MMi_mediaaudit  https://www.facebook.com/MMiMediaAudit  https://plus.google.com/u/0/107322038390188996620/posts  http://www.mediaaudit.com/contact/watchdog-eblast/This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed.  If you  received this e-mail in error, please notify the sender, do not disclose the contents to others and delete it from your system.

qitia commented 3 years ago

can not find the attachment... did you upload?

ToddEvansHome commented 3 years ago

I did attach the file. I see it in the email chain. Below is the screenshot.

[image: image.png]

On Tue, Aug 10, 2021 at 9:26 AM qitia @.***> wrote:

can not find the attachment... did you upload?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BingAds/BingAds-dotNet-SDK/issues/96#issuecomment-896076301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNJOY3DZUIFMSQIPOXEFJDT4EZJFANCNFSM457E7MNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

-- Thank you, Todd Evans Senior Programmer Media Management, Inc. 314-296-0007

-- https://www.linkedin.com/company/64239  https://twitter.com/MMi_mediaaudit  https://www.facebook.com/MMiMediaAudit  https://plus.google.com/u/0/107322038390188996620/posts  http://www.mediaaudit.com/contact/watchdog-eblast/This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed.  If you  received this e-mail in error, please notify the sender, do not disclose the contents to others and delete it from your system.

qitia commented 3 years ago

there is must something wrong, I even can not see your screen shot. could you please send the manifest content to me directly at qitia-at-microsoft.com?

qitia commented 3 years ago

Here is some more explain about this kind of error you received @ToddEvansHome , please check if it helps.

ToddEvansHome commented 3 years ago

Ahhhhhh. That was a big help. So I made progress.

I received a popup message about "Need admin approval" for MMI MS Advertising API. See below link to the image When I click on "Have an admin account? Sign in with that account". I can log in using my @. and then I'm logged in. But we need to login with @. https://drive.google.com/file/d/1WReR_dBKfcMFExHyoXXFaWcEyUlNNmi_/view?usp=sharing

The next link is a screen shot of the permissions section of our app. I used the "Grant admin consent for 0365 Media Management, inc" but that popup about Need admin approval still appears. What am I doing wrong? https://drive.google.com/file/d/1nk-RFT-WcRdhJUz30sLkySCxiK19bRJV/view?usp=sharing

Thank you for taking time to help with this!!!!!!

On Wed, Aug 11, 2021 at 8:03 PM qitia @.***> wrote:

Here https://docs.microsoft.com/en-us/advertising/guides/handle-service-errors-exceptions?view=bingads-13#aadsts650052 is some more explain about this kind of error you received @ToddEvansHome https://github.com/ToddEvansHome , please check if it helps.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BingAds/BingAds-dotNet-SDK/issues/96#issuecomment-897266484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNJOY322L7IZSFSNINP733T4MMVNANCNFSM457E7MNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

-- Thank you, Todd Evans Senior Programmer Media Management, Inc. 314-296-0007

-- https://www.linkedin.com/company/64239  https://twitter.com/MMi_mediaaudit  https://www.facebook.com/MMiMediaAudit  https://plus.google.com/u/0/107322038390188996620/posts  http://www.mediaaudit.com/contact/watchdog-eblast/This e-mail and any files transmitted with it may contain confidential information and is intended solely for use by the individual to whom it is addressed.  If you  received this e-mail in error, please notify the sender, do not disclose the contents to others and delete it from your system.

qitia commented 3 years ago

If this issue persist, please reach the support team.