迁移用户的 Azure AD B2C 成本

Azure AD B2C cost of migrating users

如果B2C对用户迁移收费,我好像找不到书面答复?有人对这个问题有参考吗?假设我有 100 万用户要迁移到 B2C。 50k 免费用户后,我会按每个用户收费吗? 通过查看有关刷新令牌和其他操作的其他问题,并四处询问,它似乎仅在颁发 ID 或访问令牌时才计入配额。有没有人实践过这种大规模的用户迁移,而且没有被收费?很大一部分用户不活跃,我不想为迁移他们而产生费用。

遗憾的是,我没有经历过这么大的迁移,只有几万用户。

但根据文档,每月活跃用户 (MAU) 定价模型仅对在给定月份内进行身份验证的用户收费(50 000 MAU 是免费的)。 引用定价页面 (https://azure.microsoft.com/en-us/pricing/details/active-directory/external-identities/):

Who is considered a "monthly active user"?

A monthly active user (MAU) is a unique user that performs an authentication within a given month. For example, a user that authenticates multiple times within a given month is counted as one MAU. Customers are not charged for a MAU’s subsequent authentications during the month, nor for inactive users.

此外:

What is considered an authentication?

Authentications may include:

  • Active, interactive login by the user;
  • Passive, non-interactive login (such as single sign-on, sign-up, sign-in, token refresh, and password change)

Additional operations that are counted as an authentication include: login to a portal; redeeming an invitation; authenticating to perform an admin action; and when an application exchanges a refresh token for a new identity token or access token for that user.

因此,通过 Microsoft Graph API 添加用户不会算作“活跃用户”或“身份验证”。 让他们登录以重置密码作为迁移的一部分将算在内。

因此,如果您的迁移仅涉及通过 Graph API 创建用户,而不是让用户签署 in/reset 密码,那么他们不应该为您支付任何费用。