简体   繁体   English

如何注销帐户而不登录并再次注销Azure Portal

[英]How to logout the account without login into and logout Azure Portal again

I had logined into Azure portal with my company account which sets up ADFS. 我已经使用设置ADFS的公司帐户登录到Azure门户。 Now, I want to use another account to login into Azure Portal. 现在,我想使用另一个帐户登录Azure门户。 However, when I try to open portal.azure.com , it always redirect me to my company login page. 但是,当我尝试打开portal.azure.com ,它总是将我重定向到我的公司登录页面。 I don't want to login agin and there is no section to switch account to my personal account.I can only use another accounts in my company. 我不想登录,也没有将帐户切换到个人帐户的部分。我只能在公司中使用其他帐户。 I hope I make sense about it. 我希望我能理解。

Question: The login page is always redirected to my company login page. 问题:登录页面总是重定向到我公司的登录页面。 How do I get back the orginal login page without loginning and logout again.(I know that It may work with clearing the broswer cache but I don't want this, I need some cache) 我如何在不再次登录和注销的情况下返回原始的登录页面。(我知道这可能与清除浏览器缓存有关,但是我不希望这样,我需要一些缓存)

For me personally, Firefox's Multi-Account Containers solves this issue very well. 对我个人而言,Firefox的多帐户容器很好地解决了这个问题。

I can be logged in simultaneously to however many accounts I want and they are all neatly isolated. 我可以同时登录到我想要的许多帐户,并且它们都被整齐地隔离了。

The reason you run into this problem by the way is that this is a feature of Azure AD. 顺便说一下,您遇到此问题的原因是,这是Azure AD的功能。 It's called Single Sign-On. 这称为单点登录。 You sign in once, you are authenticated to all apps which use O365 auth. 您登录一次,即可通过所有使用O365身份验证的应用程序的身份验证。

Try to input this url in your broswer and Enter to go. 尝试在浏览器中输入此网址,然后按Enter键。

https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=https%3A%2F%2Fgraphexplorer.azurewebsites.net%2F

Then you will find that you can logout the orginal accounts. 然后您会发现可以注销原始帐户。 When you try to go to https://portal.azure.com , you can just use any account as you want : 当您尝试访问https://portal.azure.com时 ,可以根据需要使用任何帐户:

在此处输入图片说明

I test this method in both Chrome and Edge, it works. 我在Chrome和Edge中都测试了此方法,它可以工作。

There are two different ways you can try. 您可以尝试两种不同的方法。

  1. Try to clear your browser cookie only on domain login.microsoftonline.com . 尝试仅在域login.microsoftonline.com上清除浏览器cookie。
  2. use https://portal.azure.com/example.com instead of https://portal.azure.com . 使用https://portal.azure.com/example.com而不是https://portal.azure.com example.com is your personal account domain. example.com是您的个人帐户域。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM