如何在联合域中杀死用户会话? [英] How to Kill user session in a Federated Domain?

查看:113
本文介绍了如何在联合域中杀死用户会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

         我已经开发并托管了一个应用程序,该应用程序作为我的联合O365域的IDP。我使用Graph API将用户详细信息同步到我的应用程序中。从IDP重置用户密码时,  O365不允许
应用程序将密码同步到联合域。

         I have developed and hosted an application which works as an IDP to my federated O365 domain. I use Graph APIs to sync user details into my application. When a user password is reset from IDP,  O365 does not allow the app to sync the password onto a federated domain.

考虑到此限制,我是否可以在联合域中以编程方式终止特定用户会话?

Considering this limitation, is there any way I can kill a specific user session programmatically in a Federated domain?

推荐答案

你可以试着打电话给powershell cmdlet
Revoke-AzureADUserAllRefreshToken
或以编程方式
Revoke-AzureADSignedInUserAllRefreshToken
可能会杀死任何AzureAD / O365服务的用户会话,用户必须再次进行身份验证。  
You may try to call the powershell cmdlet Revoke-AzureADUserAllRefreshToken or Revoke-AzureADSignedInUserAllRefreshToken programatically and this may kill the user session to any AzureAD /O365 services and the user would have to authenticate again.  


这篇关于如何在联合域中杀死用户会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆