1
1

More than 1 year has passed since last update.

Microsoft 365 のユーザーを強制サインアウトさせる方法

Posted at

方法1 Microsoft 365 管理センターから対象ユーザーを開き、アカウントのサインアウト箇所から強制サインアウトさせられます。

image.png

方法2 PowerShellで強制サインアウトする

PowerShell の Revoke-AzureADUserAllRefreshToken で強制サインアウト							
							
	1.AzureADモジュールのインストール						
		Install-Module -Name AzureAD					
							
	2.AzureADに接続						
		Connect-azureAD					
							
	3.ユーザーオブジェクトを調べる						
		Get-AzureADUser -ObjectID <ユーザーのUPN>
		例:
		$User = Get-AzureADUser -SearchString 'user@hogehoge.com'			
		$User 

	4.強制サインアウトする						
		Revoke-AzureADUserAllRefreshToken -ObjectId $User.ObjectID"	

方法3 Power Automateで強制サインアウトする

Power Automateの、AzureAD アクションを使って、Power Automate で処理。
※Azure ADを操作できる権限でフローを作る必要。
image.png

UPNで設定も可能。
image.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1