Clearing the logged-in Microsoft SSO user on macOS using Microsoft’s Company Portal app
2024-1-11 22:33:10 Author: derflounder.wordpress.com(查看原文) 阅读量:11 收藏

Home > Entra ID, Mac administration, macOS > Clearing the logged-in Microsoft SSO user on macOS using Microsoft’s Company Portal app

Clearing the logged-in Microsoft SSO user on macOS using Microsoft’s Company Portal app

As part of working on an issue recently, I ran into an issue with Microsoft’s Enterprise SSO plug-in on macOS. This plug-in enables single sign-on for Entra ID accounts for applications which support it. In this case, the issue was the following:

Desired behavior:

  1. Open application.
  2. Click the login button.
  3. Be prompted for the Entra ID user account to sign in with.
  4. Log in with that user account.

Actual behavior:

  1. Open application.
  2. Click the login button.
  3. Be automatically signed as the Entra ID user registered for single sign-on.

Unfortunately for my use case, I really needed to have the application in question prompt the user for which account they needed to log in with because a user account other than the one registered for single sign-on needed to be able to sign in to the application in question.

After some discussion in the #jamf-intune-integration channel in the Mac Admins Slack, I was pointed towards a way to sign out the account which was enabled for single sign-on using Microsoft’s Company Portal application. With no account enabled for single sign-on, the application would now prompt for a user account to sign in with. For more details, please see below the jump.

To sign out the Entra ID account enabled for single sign-on using the Company Portal application, please use the procedure described below:

1. Open the Company Portal application.

2. Sign into the Company Portal application as the user of the computer.

3. Under the Company Portal menu in the menubar, select Settings…

4. In the Settings window, in the Single sign-on (SSO) section, click the Remove account from this device button.

Note: I’ve noticed that clicking the Remove account from this device button doesn’t make a noticeable change in the Settings window, the account still appears as enabled. However, clicking the button should do what’s needed and applications should now prompt for a user account.


文章来源: https://derflounder.wordpress.com/2024/01/11/clearing-the-logged-in-microsoft-sso-user-on-macos-using-microsofts-company-portal-app/
如有侵权请联系:admin#unsafe.sh