快速入门:删除注册到 Microsoft 标识平台的应用程序Quickstart: Remove an application registered with the Microsoft identity platform

已经向 Microsoft 标识平台注册了应用程序的企业开发人员可能需要删除应用程序的注册。Enterprise developers who have registered applications with Microsoft identity platform may need to remove an application's registration.

在本快速入门中,你将学习如何:In this quickstart, you'll learn how to:

  • 删除你或你的组织编写的应用程序Remove an application authored by you or your organization
  • 删除其他组织编写的应用程序Remove an application authored by another organization

先决条件Prerequisites

拥有一个其中已注册了应用程序的租户。You must have a tenant that has applications registered to it. 若要了解如何添加和注册应用,请参阅将应用程序注册到 Microsoft 标识平台To learn how to add and register apps, see Register an application with the Microsoft identity platform.

删除你或你的组织编写的应用程序Remove an application authored by you or your organization

由你或你的组织注册的应用程序是由租户中的应用程序对象与服务主体对象表示的。Applications that you or your organization have registered are represented by both an application object and service principal object in your tenant. 有关详细信息,请参阅应用程序对象和服务主体对象For more information, see Application Objects and Service Principal Objects.

删除应用程序To remove an application

  1. 使用工作或学校帐户登录到 Azure 门户Sign in to the Azure portal using a work or school account.

  2. 如果你的帐户有权访问多个租户,请在右上角选择该帐户,并将门户会话设置为所需的 Azure AD 租户。If your account gives you access to more than one tenant, select your account in the top right corner, and set your portal session to the desired Azure AD tenant.

  3. 在左侧导航窗格中,选择“Azure Active Directory”服务 ,然后选择“应用注册”。 In the left-hand navigation pane, select the Azure Active Directory service, then select App registrations. 找到并选择要配置的应用程序。Find and select the application that you want to configure. 选择应用以后,会看到应用程序的“概览”页。 Once you've selected the app, you'll see the application's Overview page.

  4. 在“概览” 页中,选择“删除” 。From the Overview page, select Delete.

  5. 选择“是” 以确认要删除该应用。Select Yes to confirm that you want to delete the app.

    备注

    若要删除应用程序,你必须是应用程序的所有者或者具有管理员权限。To delete an application, you need to be listed as an owner of the application or have admin privileges.

删除其他组织编写的应用程序Remove an application authored by another organization

如果在租户上下文中查看“应用注册”,则会发现在“所有应用”选项卡下显示的应用程序子集来自另一个租户,并已在许可过程中注册到你的租户。 If you are viewing App registrations in the context of a tenant, a subset of the applications that appear under the All apps tab are from another tenant and were registered into your tenant during the consent process. 更具体地说,它们仅由租户中的服务主体对象表示,没有相应的应用程序对象。More specifically, they are represented by only a service principal object in your tenant, with no corresponding application object. 有关应用程序对象与服务主体对象之间的差别的详细信息,请参阅 Azure AD 中的应用程序对象和服务主体对象For more information on the differences between application and service principal objects, see Application and service principal objects in Azure AD.

若要删除应用程序对目录的访问权限(在授予许可后),公司管理员必须删除该应用程序的服务主体。In order to remove an application’s access to your directory (after having granted consent), the company administrator must remove its service principal. 管理员必须拥有全局管理员访问权限,并且可以通过 Azure 门户删除应用程序或使用 Azure AD PowerShell Cmdlets 删除访问权限。The administrator must have global admin access, and can remove the application through the Azure portal or use the Azure AD PowerShell Cmdlets to remove access.

后续步骤Next steps

了解下述其他相关的应用管理快速入门:Learn about these other related app management quickstarts: