Unable to Delete App in MS Azure App Registration

Omer Malik 0 Reputation points
2024-06-04T08:28:13.76+00:00

I am unable to delete the app in the MS Azure app registration giving the following error

Failed to delete application PowerSchool SIS. Error detail: Unable to complete the request due to data validation error.. This could be due to the app being a Managed Identity - if so, please go to Managed Identities to delete.

PLease assist me at your earliest convenince.

Thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,369 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Thomas Hoffmann 20 Reputation points
    2024-06-05T12:44:18.1233333+00:00

    I think I found the reason or issue.

    I configured SSO and the identifier contained a slash at the end.
    Removing the slash, disabling SSO and deletion worked for me .

    The error messages are not helpful and lead in the wrong direction when using the web interface. Trying to delete the app via PowerShell gave more helpful error messages.

    4 people found this answer helpful.

  2. Sandeep G-MSFT 16,361 Reputation points Microsoft Employee
    2024-06-06T05:20:17.46+00:00

    @Omer Malik

    Thank you for posting this in Microsoft Q&A.

    Looks like Thomas Hoffmann has found a way to fix the issue. Can you try above steps and let us know if it helps.

    I had tried this in my lab and the error that I get while deleting an app from Azure is as below,

    User's image

    When we add an app identified for an application and if it ends with "/" then it throws above error.

    However, you can check the application identifier value for your application in Azure and try to delete the application.

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.