gpt4 book ai didi

azure - 谁邀请了访客用户

转载 作者:行者123 更新时间:2023-12-02 08:00:53 25 4
gpt4 key购买 nike

我想为 Azure AD 构建用户审核应用程序。但不幸的是,没有指示邀请用户的 Azure AD 用户属性。

有什么方法可以查出谁邀请了访客用户吗?

最佳答案

是的,您可以找出谁在您的租户中邀请了 guest 用户。为此,您有两种方法:

1。 Azure 门户

  1. 登录 Azure 门户
  2. 单击“Azure Active Directory”
  3. 监控下点击审核日志

请参阅下面的屏幕截图:

enter image description here

Azure portal operation you could refer this docs

<强>2。 Microsoft Graph API 引用:

您还可以使用 MicrosftGraph API 检索谁在您的租户中邀请了 guest 用户:请参阅以下步骤:

请求 URL: https://graph.microsoft.com/v1.0/auditLogs/directoryAudits

所需权限: AuditLog.Read.All

查看屏幕截图,您将如何在 azure 门户 中执行此操作

enter image description here

添加权限后,点击为 YourTenant 授予管理员同意

在 postman 上测试:

enter image description here

您会在图片上看到您的 guest 用户initiatedBy

If you need more information you could refer this official docs

关于azure - 谁邀请了访客用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56765591/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com