Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated login office 365 outlook

Tags:

c#

outlook

I have a c# mvc application which has login functions with username and password same as sts ( this is not sts login and it does not login sts too). However now I want to use this login information to login to office 365 outlook which means once the user login to my mvc application they will be able to directly access outlook through a link without login again. How can I do this? I have searched office 365 api but it does not fit to my usage as I am not requesting any data but login.

I will elaborate more.

Background: currently our organization is using office 365 services and I think we already integrate with ADFS login which we can login the office 365 service ( in this case outlook) at https://sts.xxx.com/adfs/ls/?wa=wsignin1.0&.....

What we want to do: we are currently building an application in which logged in users will no longer need to go the url above to login outlook. As long as they logged in our application, they are able to access the outlook through a normal link for example <a href="outlook address">Go outlook</a> and they can start checking their mails.

What we tried: we tried using offie 365 api but I dont think that this is the right way as we are not retriving any data from the api except we want to use our application login information to login office 365

like image 359
onegun Avatar asked May 04 '15 02:05

onegun


People also ask

Can I use power automate with Outlook?

Power Automate helps optimize Office 365 Outlook so you can shift your energy from repetitive tasks and focus on what matters most. Get notifications from Power Automate whenever important clients need to reach you so you can react quickly.

How do I stop Outlook from signing in automatically?

Go into the browser settings and search for password - disable sign in automatically at the top of the page. Was this reply helpful? so, found the saved password option and selected off, NO HELP.


1 Answers

If your Outlook servers are ADFS integrated, then you need to host your code on a server (HTTPS enabled) and integrate it with same ADFS. Once the users are logged into ADFS, they dont need to login again.

like image 155
S.Krishna Avatar answered Oct 30 '22 04:10

S.Krishna