How to delete a azure registered app?

Anonymous
2024-05-10T04:03:32.31+00:00

I cannot delete my app registration: https://ms.portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/21251890-0076-4133-8837-6dc2ce197a3e/isMSAApp~/false

I tried click the delete button and an error popped up:

User's image

Could anyone help with deleting this app?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshu katara 16,565 Reputation points MVP Moderator
    2024-05-10T05:59:00.64+00:00

    Hi Dong,

    Thank you for your post

    From your error message and as mentioned above you'll need the correct delete permissions to delete your Azure AD App Registration. I'll share some steps below to hopefully point you in the right direction.


    Prerequisite:

    To remove an Azure AD App Registration, you'll need the microsoft.directory/applications/delete permission. This can be found in the roles below. For more info - Azure AD built-in roles.

    • Global Administrator
    • Application Administrator
    • Cloud Application Administrator
    • Hybrid Identity Administrator
    • Directory Synchronization Accounts

    Confirm user permissions:

    To start off, you'll need to confirm your user's permissions/role within Azure AD, to ensure it matches the correct role above.

    Note: If you already have the correct permissions and are running into issues deleting your app, please let me know.

    1. Navigate to Azure Active Directory
    2. On the right-hand side, there should be a "My Feed" section where you should be able to see your user's role. Note: You can also view your permissions/role by navigating to Azure Active Directory -> Users -> Select your user -> Assigned RolesUser's image

    Assign the correct role:

    If your user doesn't have the correct permission(s)/role to delete your Azure AD App Registration, you'll need to assign one on the roles above to your user. To do this, you'll need to be a Privileged Role Administrator or Global Administrator.

    Assign a Role:

    If you can't assign roles, you'll need to reach out to a Privileged Role Admin or Global Admin within your tenant.

    1. Within Azure Active Directory, select Roles and administrators.
    2. Find the role you need for example - Global Administrator.
    3. Select the role name to open the role.
    4. Select Add assignments and then select the users you want to assign to this role.
    5. Select Add to assign the role.User's image

    Remove Azure AD App Registration:

    Once you have the correct permissions to delete your Azure AD App Registration, you can retry the delete operation.

    1. Within Azure Active Directory, under Manage, select App registrations.
    2. Select the app that you want to delete.
    3. From the Overview page, select Delete.
    4. Read the deletion consequences. Check the box if one appears at the bottom of the pane.
    5. Select Delete to confirm that you want to delete the app.

    I hope this helps, if it does , please accept , Thanks!

    If you have any other questions, please let me know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.