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

2025-11-12T03:35:37.7366667+00:00

ไม่สามารถดำเนินการตามที่คุณต้องการได้

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 365 and Office | Microsoft 365 Defender | Other | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-12T03:35:57.2333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message you are encountering, invalid_request: The provided value for the input parameter 'redirect_uri' is not valid, indicates that the redirect URI you are using does not match any of the redirect URIs registered for your client application. To resolve this issue, you should check the following:

    1. Verify the Redirect URI: Ensure that the redirect URI you are using in your request exactly matches one of the URIs registered in your application settings. This includes checking for any typos, trailing slashes, or case sensitivity.
    2. Register the Redirect URI: If the URI you are trying to use is not registered, you will need to register it in the Azure portal under your application's settings.
    3. Use the Correct Application ID: Make sure you are using the correct application ID (Client ID) that corresponds to the registered redirect URI.

    By ensuring that the redirect URI is properly registered and matches exactly, you should be able to resolve the invalid request error.

    0 comments No comments

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.