How to use Microsoft Azure Application Insights Spoke

2026-07-27T16:18:17.3333333+00:00

i am getting error while testing the spoke
(The provided credentials have insufficient access to perform the requested operation)
i have given all required inputs with correct connection and credentials but still getting the error

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,546 Reputation points
    2026-07-28T15:34:49.37+00:00

    The error means the connection authenticates, but its Microsoft Entra identity probably cannot read the selected Application Insights resource. Microsoft's query guidance requires both Application Insights API permission and Azure role access; valid credentials alone are insufficient.

    In the Entra app registration used by the spoke, add Application Insights API Data.Read. On the exact Application Insights resource, open Access control (IAM) and assign Reader to the app's service principal at resource scope. Verify the tenant ID, client ID, secret, and Application Insights App ID all refer to this setup, and ensure the token targets the Application Insights API.

    Allow role propagation, refresh or recreate the connection to obtain a new token, and test again. If it still fails, capture the correlation ID and compare the token tenant and audience with the resource. The spoke's field mapping is connector-specific; if Azure permissions are correct, validate those inputs with the connector vendor.

    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.