I want to implement single sign-on on Office 365 with an ASP.Net web application.

For example, if a user is logged in to Office 365 and then he opens the web application in the same session, then the browser should not ask for credential again. My Asp.Net web application is using form based authentication.

Please help.

  • 1
    Hi @Noman, do you have same accounts on office 365 and your Asp.Net web application?
    – MAK
    Sep 29, 2015 at 6:30

1 Answer 1


Do you have azure AD? If yes you may consider using WIF (Windows identity foundation) for authentication making use of ASP.Net membership and Azure STS.

Please refer this link, http://www.asp.net/aspnet/overview/developing-apps-with-windows-azure/building-real-world-cloud-apps-with-windows-azure/single-sign-on

  • No, we don't have Azure AD. Sep 29, 2015 at 4:54
  • Hi @Sriram, can we sync Azure AD with on-premise AD?
    – MAK
    Sep 29, 2015 at 6:24
  • @MAK Yes, we can sync azure AD with on premise AD, please refer this link to know more link
    – Sriram
    Sep 29, 2015 at 13:39
  • @Sriram, Thanks. can we use OAuth or some other method similar to OAuth? I think 'Noman' is using database for asp.net authentication. If anyone having any idea?
    – MAK
    Sep 29, 2015 at 15:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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