Share via

How do I ensure that an App Registration is not used before I delete it?

Paul Sammy 21 Reputation points
2021-08-06T13:54:03.833+00:00

Maybe I am blind and can't see the option in the Azure Portal.

I'm working on a cloud application which has had many developers working on it. I want to clean up unused resources to help clarify the components we need to maintain.

I have found a few App Registrations which I do not think are being used - how do I verify that this is the case?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
  1. Marilee Turscak-MSFT 37,381 Reputation points Microsoft Employee Moderator
    2021-08-06T23:05:15.88+00:00

    There is a good guide here that uses Vasil Michev's Powershell script to generate a CSV file of applications in the Azure Portal, and then goes through using a list of criteria for removing the apps (test apps, apps that haven't been granted permissions in years, etc).

    You can also use this sample Powershell script to query App Registrations with expiring secrets and certificates, along with this Github solution that provides a dashboard of expired and expiring service principals.

    There isn't really a single criteria for determining this, as apps can be used in different ways.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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