This script safely removes an application registration and its associated service principal from Azure Active Directory (Entra ID).
This script is the counterpart to the add-application-registration script and ensures proper cleanup of all resources created during application registration.