Share via

Cannot Request User Consent with Sandbox Client

Tianyu Zhai 6 Reputation points
2022-01-12T07:49:30.827+00:00

Hi there, I need to set up a sandbox environment for my bing advertisement business, but it seems that the sandbox client cannot be granted user consent following this document https://learn.microsoft.com/en-us/advertising/guides/sandbox?view=bingads-13. Blew are some detailed information:

sandbox email account:

******@outlook-int.com

request user consent url:

https://login.windows-ppe.net/consumers/oauth2/v2.0/authorize?client_id=4c0b021c-00c3-4508-838f-d3127e8167ff&scope=openid%20offline_access%20https%3A%2F%2Fads-int.microsoft.com%2Fmsads.manage&response_type=code&redirect_uri=https%3A%2F%2Flogin.windows-ppe.net%2Fconsumers%2Foauth2%2Fnativeclient

error response:

We're unable to complete your request
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.