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.
I added this OAuth2 redirect URI to your Microsoft app configuration.
TL;DR
Developers encountering an error with OAuth with Microsoft, where Google OAuth works fine. The error message indicates an issue with the redirect URI provided, stating it is not valid. Ensure the OAuth2 redirect URI is added to the Microsoft app configuration to match the expected value.