Microsoft Ads OAuth Redirect Fails – Domain Not Recognized

I’d be incredibly grateful for your help. I work for a small company, and we run ads on Bing. I need to develop an API to integrate with the Microsoft Ads platform to retrieve spending reports and other data.

I came across this Laravel library that supports Facebook and Google ads: Laravel Ads SDK. Unfortunately, it doesn’t work with Bing Ads. The problem occurs when trying to retrieve the token; the redirect URL is:

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?scope=https://ads.microsoft.com%2Fmsads.manage+offline_access&client_id=f43443-0808-7hg9-a9a9-934gb06914b0&response_type=code&redirect_uri=https%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fnativeclient&state=46891992

When I attempt to log in using the same email linked to our Bing Ads campaign or even a Hotmail account, I receive the error message: “Domain isn’t in our system. Make sure you typed it correctly.”

Has anyone encountered this issue or found a solution? Any advice would be much appreciated!

enter image description here

Do I need to have Microsoft account or an paid azure subscription or what? I have been on this seen 10th December and not got anywhere with it. Any help will go a long way. Thank you

P.S. We have tried using javascript and always experience the same blocked that the domain isn’t in our system. Make sure you typed it correctly