Azure AD B2C 的备份和还原

Back and restore for Azure AD B2C

有谁知道如何备份/恢复 Azure AD B2C 用户存储?我假设它会全部备份并可恢复 - 这就是 Azure! - 但我在任何 MS 文档或门户中都找不到任何内容。

我不太担心丢失 B2C 设置,但如果 Azure 发生灾难,我该如何找回并恢复我的用户数据?

没有现成的机制来备份您的 Azure AD B2C 租户。 如果您担心 "disaster striking Azure",Azure AD B2C 租户提供 same reliability guarantees as regular Azure AD tenants,其中包含:

The multi-tenant, geo-distributed, high availability design of Azure AD means that you can rely on it for your most critical business needs. Running out of 28 data centers around the world with automated failover, you’ll have the comfort of knowing that Azure AD is highly reliable and that even if a data center goes down, copies of your directory data are live in at least two more regionally dispersed data centers and available for instant access.

这意味着,在大多数情况下,您不需要为灾难恢复目的备份您的 Azure AD B2C 租户。

但是,如果您仍然希望拥有备份以安心,或者更常见的情况是,以防止出现 admin/user 错误:

  1. 您可以通过 Azure AD B2C feedback forum 请求此功能。
  2. 从理论上讲,您可以通过 Azure AD Graph 定期轮询所有相关数据点(用户、扩展属性、应用程序、组等)的目录来自行实现,如 this sample 中所示.然而,这可能是一件非常麻烦的事情,因为有很多陷阱(出于安全原因无法导出密码,因此所有用户都将进行密码重置,社交帐户还不能完全导出,策略无法导出然而,等等......)