Is it possible to do single sign on with Office 365 and third party web page?


Above link working in Console Application but in .net Page its not wroking

  • Why did you delete your other, identical question? – Robert Lindgren Feb 7 '17 at 6:46
  • Because it's on hold and I don't know how to remove from hold – Prashant Shah Feb 7 '17 at 6:48
  • 1
    It will be removed from hold when you have made an edit to it that makes it fit the scope of this site and understandable. Everytime you edit a closed question it is added to a review queue where seasoned members will vote to reopen or leave closed. By deleting the old question and recreating it as a new post, you are circumventing that system, designed to keep the quality of this community high – Robert Lindgren Feb 7 '17 at 7:05
  • OK Got It... Thanks for knowledge. Do you have any suggestion for my question? – Prashant Shah Feb 7 '17 at 7:11

Yes, it's possible. Office 365 uses Azure AD as users "database". Azure AD supports OAuth and you can use, for example, OpenID Connect for authentication and SSO with Office 365.

You can find sample here - Calling a web API in a web app using Azure AD and OpenID Connect. Under https://github.com/Azure-Samples you can find other samples for Azure AD.

You can also read about different authentication types and scenarios here - Authentication Scenarios for Azure AD

  • hi Sergei, GitHub project doesn't using ClientContext. After doing SSO we need to do CRUD operation via ClientContext Object. Is it possible with SSO? – Prashant Shah Feb 14 '17 at 8:53
  • Hi, yes, it's possible. I answered on your original question, for further queries, please use separate thread. – Sergei Sergeev Feb 14 '17 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.