在 Azure Active Directory 中删除一个租户Delete a tenant in Azure Active Directory

删除 Azure AD 组织(租户)时,也会删除包含在该组织中的所有资源。When an Azure AD organization (tenant) is deleted, all resources that are contained in the organization are also deleted. 在删除前要最大程度地减少与组织关联的资源,使组织为删除做好准备。Prepare your organization by minimizing its associated resources before you delete. 只有 Azure Active Directory (Azure AD) 全局管理员可从门户中删除 Azure AD 组织。Only an Azure Active Directory (Azure AD) global administrator can delete an Azure AD organization from the portal.

准备组织Prepare the organization

除非 Azure AD 中的组织通过了若干项检查,否则无法将其删除。You can't delete a organization in Azure AD until it passes several checks. 这些检查可以降低删除 Azure AD 组织后对用户访问造成负面影响(例如,影响登录 Office 365 或访问 Azure 中的资源)的风险。These checks reduce risk that deleting an Azure AD organization negatively impacts user access, such as the ability to sign in to Office 365 or access resources in Azure. 例如,如果意外删除了与订阅关联的组织,则用户将无法访问该订阅的 Azure 资源。For example, if the organization associated with a subscription is unintentionally deleted, then users can't access the Azure resources for that subscription. 需检查以下情况:The following conditions are checked:

  • 除了一位要删除组织的全局管理员外,Azure AD 组织(租户)中不得有任何用户。There can be no users in the Azure AD organization (tenant) except one global administrator who is to delete the organization. 在删除组织之前,必须先删除任何其他用户。Any other users must be deleted before the organization can be deleted. 如果用户是从本地同步的,则必须先关闭同步,并且必须使用 Azure 门户或 Azure PowerShell cmdlet 从云组织中删除这些用户。If users are synchronized from on-premises, then sync must first be turned off, and the users must be deleted in the cloud organization using the Azure portal or Azure PowerShell cmdlets.
  • 该组织中不能有任何应用程序。There can be no applications in the organization. 在删除组织之前,必须先删除任何应用程序。Any applications must be removed before the organization can be deleted.
  • 不能有任何多重身份验证提供程序链接到该组织。There can be no multi-factor authentication providers linked to the organization.
  • 该组织不能有与之关联的任何 Microsoft Online Services(例如 Azure、Office 365 或 Azure AD Premium)订阅。There can be no subscriptions for any Microsoft Online Services such as Azure, Office 365, or Azure AD Premium associated with the organization. 例如,如果在 Azure 中创建了一个默认 Azure AD 组织,并且 Azure 订阅仍然依赖于此组织进行身份验证,则不能删除此组织。For example, if a default Azure AD organization was created for you in Azure, you cannot delete this organization if your Azure subscription still relies on this organization for authentication. 类似地,如果其他用户已将订阅与某个组织相关联,则无法删除该组织。Similarly, you can't delete a organization if another user has associated a subscription with it.

删除组织Delete the organization

  1. 使用一个其身份为组织全局管理员的帐户登录到 Azure 门户Sign in to the Azure portal with an account that is the Global Administrator for your organization.

  2. 选择“Azure Active Directory” 。Select Azure Active Directory.

  3. 切换到要删除的组织。Switch to the organization you want to delete.

    删除前确认组织

  4. 选择“删除租户”。Select Delete tenant.

    选择命令以删除组织

  5. 如果组织未通过一个或多个检查,系统会提供相关链接,介绍如何通过检查的详细信息。If your organization does not pass one or more checks, you're provided with a link to more information on how to pass. 通过所有检查后,请选择“删除”,此过程结束。After you pass all checks, select Delete to complete the process.

后续步骤Next steps

Azure Active Directory 文档Azure Active Directory documentation