azure - 执行 Revoke-AzureADUserAllRefreshToken 所需的最低权限是什么

标签 azure azure-active-directory office365 azure-powershell

我想为中级管理员分配撤销 Office 365 中用户的 365 session 的权限(可能是在帐户遭到泄露之后)。允许管理员撤销 session 所需的最低权限是什么。

最佳答案

一种方法是授予用户用户管理员角色。

Can manage all aspects of users and groups, including resetting passwords for limited admins.

enter image description here

您可以在powershell中运行Revoke-AzureADUserAllRefreshToken命令或调用Azure AD graph api直接使用 Azure AD Graph Explorer .

另一种方法是创建一个应用程序并授予其“Directory.ReadWrite.All”权限。

This will allows the app to read and write data in your organization's directory, such as users, and groups, without a signed-in user. Does not allow user or group deletion.

它们都包含其他权限,而不仅仅是“Revoke-AzureADUserAllRefreshToken”权限。这取决于您哪一个包含的权限最少。

关于azure - 执行 Revoke-AzureADUserAllRefreshToken 所需的最低权限是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56773401/

相关文章:

javascript - Azure Application Insights 用于跟踪用户在网页上花费的时间

postgresql - 通过 Azure DevOps 中的 EFCore 迁移更新 postgreSQL DB

azure - 如何使用 Graph API 查找 azure AD guest 用户邀请是否已兑换

Azure存储通过nodejs添加角色分配AD组

office365 - Office-ui-fabric-core 某些图标未显示

office365 - Microsoft Graph API 刷新 token 已过期

azure - 处理 ADF 管道中更新日期更新列的方法

python - 如何使用 Azure SDK for Python 解析 VirtualMachinePaged 对象?

windows - 使用联合用户登录 Windows 设备

json - O365 REST API 说明