Azure CLI Service Principal or Enterprise applications duplications removal

EnterpriseArchitect 6,411 Reputation points
2026-01-07T06:56:50.8066667+00:00

When browsing to the Enterprise applications | All applications portal GUI https://entra.microsoft.com/?feature.msaljs=true#view/Microsoft_AAD_IAM/StartboardApplicationsMenuBlade/~/AppAppsPreview

I can see that there are a few hundred duplications of Azure CLI Service Principal or Enterprise Apps in this format, dating back to 2016 and continuing up to the most recent 2026.

azure-cli-YYYY-MM-dd-hh-mm-ss

The homepage URL is not accessible when executed from the browser, but the Activation status are all Activated.

The Service Principal Type is Application.

The AppType is App registration.

Service Principal last used all shows as blank or never. I guess there is no activity recorded over 30 days.

Most of them have no owner assigned, no App passwords, and have expiring credentials.

Which one can I safely delete or must be kept ?

Why are those being duplicated multiple times?

Microsoft Security | Microsoft Entra | Microsoft Entra ID

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.