After registering your app in
https://apps.dev.microsoft.com/ and trying to connect to the Microsoft Outlook API using Microsoft Graph, you get the following Error:
Sign In
Sorry, but we’re having trouble signing you in.
We received a bad request.
CODE : THINGS TO CHECK
Make sure your API key and Password are correct in your app code.
API : THINGS TO CHECK
- Go to the Application Registration Portal at https://apps.dev.microsoft.com/
- Select your application
- Add your local development urls,
- http://localhost
- http://localhost:8080
- https://localhost:44300
Make sure the redirect being passed from the code to Graph is passing a Url registered in the Application Registration Portal. If successful, you should see:
YourApp
App publisher website: localhost