Web Application authentication fails when trying to authenticate using Office 365 RRS feed

  • Question

  • Hello Sir/Mam,

    I have developed one sample web application using mvc 5 in visual studio 2015. And then i have integrated office 365 API to application to authenticate user using its Office 365 id which means user is not available in organization Active Directory. I have follow the same steps given in below MSDN Article for integration and added its configuration code in Startup.cs class as provided in MSDN forum (

    I have assigned only user's related permission for authentication in Office 365 API Integration wizard as below.

    So. after all the setup and development changes when i run this app and try to login to application using office 365 id, it successfully load the login page, but after submitting the credentials it throws authentication error as below:

    Error : 

    So, Can you please help me to solve this issue, as i am stuck here


    Bhavik A

    Friday, May 5, 2017 1:53 PM