Title: Microsoft Sentinel – Logic Apps Playbook Permissions Update Fails: Service Principal Not Found

Trilok Patel 0 Reputation points
2026-10-19T12:21:52.1933333+00:00

Hello Microsoft Support Team / Community,

I am experiencing an issue with Microsoft Sentinel Logic App playbook permissions in the Microsoft Defender portal.

Environment:

Microsoft Sentinel integrated with Microsoft Defender XDR

Sentinel workspace: law-sentinel-prod

Azure resource group: HighTempEcom

Two active Logic App playbooks in the same resource group

Issue Description

In Microsoft Defender → Microsoft Sentinel → Settings → Playbook permissions, the resource group HighTempEcom shows Missing permissions, despite the required Azure RBAC role already being assigned.

When I try to update the permissions using Configure permissions, the operation fails with:

Failed to update Logic Apps permissions: 1

When I try to remove the existing resource group permission through the portal, I receive:

Service principal not found for application ID: 58131f34-bef7-4935-999e-0c16b96a1de9

Troubleshooting Already Performed

1. Azure RBAC verification

I confirmed that the following role assignment exists:

Service principal: Azure Security Insights

Application ID: 98785600-1bb7-4fb9-b9fa-19afe2c8a360

Object ID: df6dc350-0ff7-4a3d-89de-6b3c00466412

Role: Microsoft Sentinel Automation Contributor

Scope: HighTempEcom resource group

I also confirmed that my administrator account has Owner access to the resource group.

2. Role reassignment

I removed and reassigned the Microsoft Sentinel Automation Contributor role to the same Azure Security Insights service principal.

The role assignment completed successfully, but the warning remained.

3. Service principal verification

I executed the following Azure CLI commands:

az ad sp show --id 58131f34-bef7-4935-999e-0c16b96a1de9

Result: Service principal not found.

az ad sp show --id 98785600-1bb7-4fb9-b9fa-19afe2c8a360

Result: Azure Security Insights service principal found successfully.

4. Playbook execution verification

Both Logic App playbooks are located in HighTempEcom.

Existing playbook executions have succeeded.

No related failed operations were identified in the Azure Activity Log.

The permission warning continues to appear in the Microsoft Defender portal.

Assistance Required

Could you please clarify:

What Microsoft application or service does Application ID 58131f34-bef7-4935-999e-0c16b96a1de9 represent?

Is this a required Microsoft-managed service principal for the current Microsoft Sentinel playbook permissions model?

Is there a supported procedure to restore or provision this service principal if it is missing?

How can I resolve the Missing permissions warning when Microsoft Sentinel Automation Contributor is already assigned correctly?

Could this be a known issue with playbook permission management in the unified Microsoft Defender portal?

I would prefer to resolve this without recreating existing Logic Apps or disrupting operational security automation.

Any guidance or documented resolution would be appreciated.

Thank you.

Microsoft Security | Microsoft Sentinel
0 comments No comments

2 answers

Sort by: Most helpful
  1. AI answer

    2026-10-19T12:23:55.89+00:00

    Do not recreate the Logic Apps or manually create a service principal for [GUID]; because the documented Sentinel identity already has the required resource-group role and the Defender portal is attempting to manage a different, undocumented application ID, open a Microsoft support request for tenant/portal permission-record repair.

    What the evidence establishes

    • Microsoft Sentinel’s service account requires Microsoft Sentinel Automation Contributor on the resource group containing the playbooks. The documented enterprise application is Azure Security Insights. Your assignment to its object ID at HighTempEcom therefore matches the documented permission model.^1^
    • Automation Contributor is still managed through Azure RBAC, not Microsoft Defender unified RBAC. Moving Sentinel into the Defender portal does not introduce a documented replacement identity for this role.^2^
    • The available Microsoft documentation does not identify [GUID] as a Microsoft Sentinel application ID. It therefore cannot be safely classified as required, obsolete, or Microsoft-owned from the GUID alone.
    • Microsoft first-party applications do not always have local service-principal objects in every tenant. Their ownership should be verified under Enterprise applications → Application type: Microsoft Applications, but absence alone does not prove that an administrator should instantiate one.^3^

    Since you already removed and restored the correct assignment without changing the warning, repeating that operation is unlikely to repair the portal’s reference to the other application ID.

    Open a support request without disrupting automation

    Create an Azure support request under Microsoft Sentinel → Automation and playbooks or Assigning permissions and using RBAC. Owner, Contributor, Support Request Contributor, or an equivalent custom role can create the request.^4^

    Include:

    1. Tenant ID, subscription ID, and Sentinel workspace resource ID.
    2. Resource group HighTempEcom.
    3. Exact UTC timestamps and screenshots for:
      • Failed to update Logic Apps permissions: 1
      • Service principal not found for application ID: [GUID]
    4. Output showing both the missing GUID and the existing Azure Security Insights service principal:
         az account show --query "{tenant:tenantId,subscription:id}" -o json
         az ad sp show --id [GUID]
         az ad sp show --id [GUID]
      
    5. The resource-group role assignment for Azure Security Insights:
         az role assignment list \
           --scope "/subscriptions/[Subscription ID] ID]/resourceGroups/[Resource Group] Group]" \
           --assignee-object-id "<Azure-Security-Insights-object-id>" \
           --include-inherited -o table
      
    6. State that playbook runs succeed and that deleting/reassigning the documented role did not clear the warning.
    7. Ask support to:
      • identify the owner and purpose of application ID [GUID];
      • inspect the Sentinel playbook-permission record for a stale identity reference;
      • reprovision the Microsoft-managed identity or remove the stale record through a supported backend operation;
      • confirm whether this is a Defender portal defect.

    Avoid posting tenant, subscription, or object IDs publicly.

    Conditional provisioning—only after Microsoft confirms the GUID

    Microsoft Entra supports creating a tenant-local enterprise application from a confirmed multitenant application ID using az ad sp create. This requires Cloud Application Administrator or Application Administrator.^5^

    However, do not run the following unless Microsoft Support confirms that this exact GUID is the required first-party Sentinel application and explicitly directs tenant provisioning:

    az login --tenant <tenant-id>
    az account show --query tenantId -o tsv
    az ad sp create --id [GUID]
    az ad sp show --id [GUID]
    

    Creating an enterprise application from an unidentified GUID changes the tenant directory and may instantiate an unrelated application. It also might not repair a stale permission record in the Defender portal.

    Continue operating the existing playbooks while the case is investigated. Successful runs indicate that their runtime connections remain functional; the portal warning concerns Sentinel’s resource-group permission-management state, which is separate from each Logic App’s connector authentication.^6^


    References

    1. Automate and run Microsoft Sentinel playbooks
    2. Map existing RBAC permissions to Microsoft Defender unified RBAC permissions
    3. Verify first-party Microsoft applications in sign-in reports
    4. Connect Microsoft Sentinel to the Microsoft Defender portal
    5. Create an enterprise application from a multitenant application (azure-cli)
    6. Authenticate playbooks to Microsoft Sentinel
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.
  2. DavideDG_P 0 Reputation points
    2026-11-03T15:56:03.4+00:00

    Hi.

    I had the same issue on 2 tenants, while on other ones the service principal was present.

    That service principal (58131f34-bef7-4935-999e-0c16b96a1de9) is the one for "UnifiedActions".

    I was able to fix it with:

    az ad sp create --id "58131f34-bef7-4935-999e-0c16b96a1de9"

    After that, the Enterprise App "UnifiedActions" appeared in the Entra portal and I was able to assign Playbook permissions from the Defender portal.

    HTH. Regards.

    Was this answer helpful?

    0 comments No comments

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.