Logs from application insights
The provided credentials have insufficient access to perform the requested operation
Status: 403 (Forbidden)
ErrorCode: InsufficientAccessError
Content:
{"error":{"message":"The provided credentials have insufficient access to perform the requested operation","code":"InsufficientAccessError","correlationId":"13b75b35-d189-4cd9-815f-cc58dbbd555e"}}
Headers:
Date: Wed, 27 Nov 2024 16:46:13 GMT
Connection: keep-alive
Via: REDACTED
X-Content-Type-Options: REDACTED
Access-Control-Allow-Origin: REDACTED
Access-Control-Expose-Headers: REDACTED
Vary: REDACTED
Strict-Transport-Security: REDACTED
Content-Type: application/json; charset=utf-8
Content-Length: 196
at Azure.Monitor.Query.LogsQueryClient.ExecuteAsync(String id, String query, QueryTimeRange timeRange, LogsQueryOptions options, Boolean async, Boolean isWorkspace, CancellationToken cancellationToken) at Azure.Monitor.Query.LogsQueryClient.QueryResourceAsync(ResourceIdentifier resourceId, String query, QueryTimeRange timeRange, LogsQueryOptions options, CancellationToken cancellationToken) at Sample.AppInsightsWithMIDemo.Controllers.AppLogsController.Index() in /src/AppInsightsWithMIDemo/Controllers/AppLogsController.cs:line 37
at Azure.Monitor.Query.LogsQueryClient.ExecuteAsync(String id, String query, QueryTimeRange timeRange, LogsQueryOptions options, Boolean async, Boolean isWorkspace, CancellationToken cancellationToken) at Azure.Monitor.Query.LogsQueryClient.QueryResourceAsync(ResourceIdentifier resourceId, String query, QueryTimeRange timeRange, LogsQueryOptions options, CancellationToken cancellationToken) at Sample.AppInsightsWithMIDemo.Controllers.AppLogsController.Index() in /src/AppInsightsWithMIDemo/Controllers/AppLogsController.cs:line 37