Using the global administration account to delete the application that was forbided by microsoft,Insufficient privileges to complete the operation.

姚 屹峰 0 Reputation points
2023-01-14T11:22:36.82+00:00

enter image description here Deleting a disabled application by clicking Delete on the Z_fail_2 application overview page was failed in my Azure overview.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,447 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,633 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 40,311 Reputation points
    2023-01-16T03:30:18.1+00:00

    Hi @姚 屹峰

    Try calling the graph api to delete this application, log in to Graph Explorer using a global administrator, then consent to the Application.ReadWrite.All permission and run the delete service principal api:

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".