Azure B2C SigninEvents 图 Api

Azure B2C SigninEvents Graph Api

我正在尝试通过图表 API 访问我的 Azure AD B2C 租户的登录事件,但我不断收到以下错误。出现错误是因为 Azure AD B2C 不支持通过图表检索用户登录 api?

{
  "odata.error": {
    "code": "Authentication_ApplicationBasedRequestFromNonPremiumTenant",
    "message": {
      "lang": "en",
      "value": "Application based api auth request from non premium tenant"
    },
    "requestId": "0b16f6cc-8a1f-4f5d-9d57-be8606570eee",
    "date": "2017-11-10 18:29:34Z"
  }
}

Azure AD B2C 尚不支持登录和审核API。您可以在 Azure AD B2C feedback forum.

中请求此功能

Azure AD B2C FAQ 状态:

What reporting and auditing features does Azure AD B2C provide? Are they the same as in Azure AD Premium?

No, Azure AD B2C does not support the same set of reports as Azure AD Premium. However there are many commonalities:

  • The sign-in reports provide a record of each sign-in with reduced details.
  • Audit reports are available in the Azure portal, under Azure Active Directory> ACTIVITY-Audit logs>Choose B2C and apply filters as desired. Both admin activity as well as application activity are covered.
  • A usage report, covering number of users, number of logins, and volume of MFA is available at Usage Reporting API

虽然不是很清楚,但它指出 门户中提供了登录和审核报告。唯一可用的 API 是 Usage Reporting.

也就是说,您可以启用登录和审核报告,但您需要为此获得 Azure AD Premium。但是,如上所述,它'将不会具有与常规 Azure AD 相同级别的详细信息。