Idira EPM – Entra ID Policy Targeting Not Applied Due to Permission Configuration

Idira EPM – Entra ID Policy Targeting Not Applied Due to Permission Configuration

145
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:09 PM


Symptom


Idira EPM endpoints may fail to retrieve required device information from Microsoft Entra ID, resulting in targeting rules not being applied.
This issue commonly occurs when the EPM Azure application is configured with Delegated permissions instead of Application permissions, or when the required permissions have not been granted tenant‑wide admin consent.


Environment


25.12 EPM Windows Agent

Customers may observe the following symptoms:

  • EPM targeting rules based on Entra ID device attributes are not applied
  • Device information fails to load in EPM logs
  • Azure-related API calls return 403 Forbidden

Example Log

CvfWinHttpRequest::SendRequestData: AZR: ERROR: Connection not established, status: 403
CvfMsGraphClient::_CallMsGraphAPI: AZR: ERROR: SendRequestData result:0 statusCode:403


Cause


The Idira EPM Agent failed to obtain device information from Microsoft Entra ID due to insufficient permissions on the Azure AD App Registration.

Although Device.Read.All was present, it was configured under Delegated permissions.
For backend service–to–service communication (EPM → Graph API), Application permissions are required.



Resolution


Step 1 – Confirm the Permission Model

  1. Navigate to Azure Portal → App Registrations
  2. Select the Idira EPM application (or the App Registration used for Entra ID integration)
  3. Go to API Permissions
  4. Verify Device.Read.All exists under:
    → Application permissions (NOT Delegated permissions)

If it appears only under Delegated permissions, remove it and re‑add it under Application permissions.

 

Step 2 – Grant Admin Consent

  1. Remain in API Permissions
  2. Click Grant admin consent for <tenant>
  3. Ensure the Status column shows:

✔️ Granted for <tenant>

If consent is not granted, Entra ID will continue blocking the API call, resulting in 403 errors.

 

Step 3 – Retry EPM Device Info Retrieval

After permissions are corrected:

  • Wait 5–10 minutes for Azure replication, or
  • Restart the Idira EPM Agent
  • Retry Support Info collection or refresh targeting rules

Device‑based targeting should now apply correctly.

 

Additional Reference

Microsoft Documentation:
Permissions and consent in the Microsoft identity platform
https://learn.microsoft.com/en-us/entra/identity-platform/permissions-consent-overview



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001XDHCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail