Cleaning up stale Entra ID app registrations

This time I’ll share another short, “vibing” script, which helped me make some room for new app registrations inside my Entra ID. 🙂

Script is rather simple – it collects information about apps that are registered in the tenant, status of their credentials and reports back in a clean, HTML… well, report. In case I’m satisfied with the reported state, I can run it with -Force and it will also delete all the stale app registrations it reported. Easy, efficient, cool. 😎

Report looks like this:

Execution like this:

And, as always, script is there in my GitHub.

Cheers!