web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unknown identity when ...
Power Automate
Unanswered

Unknown identity when running KQL queries

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Here is my flow. I am connecting through a service principal to run  kql queries through this pipeline. I am connected to the kusto cluster database through a service principal.
aajain_0-1668775629146.png aajain_1-1668775795432.png
This service principal has all rights needed to access the database.

When I run the pipeline I can see that it is using an identity unknown to me to connect to the cluster.
 Identity=9434c9ec-3c7c-4dd2-94f4-e9148e0a69a7 is not allowed to execute the query.   

Where is this identity coming from? Need help in understanding. I looked through the documentation, I am not sure if I need to create a user and security role also. I was not able to do since I don't have the required permissions, Or do I need to register my application with PowerAutomate as well or my environment? What's the process?

ERROR

"400-BadRequest",
  "ErrorReason": "BadRequest",
  "ErrorMessage": "{\r\n    \"error\": {\r\n        \"code\": \"BadRequest\",\r\n        \"message\": \"Request is invalid and cannot be executed.\",\r\n        \"@type\": \"Kusto.DataNode.Exceptions.ClientQueryRequestException\",\r\n        \"@message\": \"GenevaMetricsKqlRequestPlugin: An error occurred during the execution of the geneva_metrics_request. Message:Plugin 'GenevaMetricsKqlRequestPlugin' failed in call to 'https://azglobal.prod.microsoftmetrics.com:9201': FailureCode='403', FailureSubCode='ReasonPhrase:Forbidden, Details:{\\\"Error\\\":{\\\"Code\\\":\\\"403\\\",\\\"Message\\\":\\\"Request failed because Not authorized to read. Unable to execute because Identity=9434c9ec-3c7c-4dd2-94f4-e9148e0a69a7 is not authorized to execute this request.\\\"}}', IsPermanent='True'\",\r\n        \"@context\": {\r\n            \"timestamp\": \"2022-11-16T19:06:50.4509257Z\",\r\n            \"serviceAlias\": \"MESSAGINGAUGMENATION\",\r\n            \"machineName\": \"KEngine000000\",\r\n            \"processName\": \"Kusto.WinSvc.Svc\",\r\n            \"processId\": 8824,\r\n            \"threadId\": 8224,\r\n            \"clientRequestId\": \"d8070243-093a-469d-bab3-7586826f5733\",\r\n            \"activityId\": \"f8fa9088-c761-4400-a49b-f65d995fa97f\",\r\n            \"subActivityId\": \"901c364b-e114-4191-801f-b84cef367e83\",\r\n            \"activityType\": \"DN.CSL.SemanticPass.Plugin.geneva_metrics_request\",\r\n            \"parentActivityId\": \"f08f492a-1f37-4812-839c-f4accd03568a\",\r\n            \"activityStack\": \"(Activity stack: CRID=d8070243-093a-469d-bab3-7586826f5733 ARID=f8fa9088-c761-4400-a49b-f65d995fa97f > DN.Admin.Client.ExecuteControlCommand/b760fcdf-ab87-4d35-8fc1-89bcb184dc4a > P.WCF.Service.ExecuteControlCommand..IInterNodeCommunicationAdminContract/d380c9c9-b5f3-42bc-aacd-690e90746d3d > DN.FE.ExecuteControlCommand/832ada01-f9df-443d-9e9b-ab22635e4bdf > DN.AdminCommand.TableSetOrAppendCommand/2bea451f-9791-4fcd-8c5c-ad1001278664 > DN.AdminCommand.TableSetCommand/f08f492a-1f37-4812-839c-f4accd03568a > DN.CSL.SemanticPass.Plugin.geneva_metrics_request/901c364b-e114-4191-801f-b84cef367e83)\"\r\n        },\r\n        \"@permanent\": true\r\n    }\r\n}",
  "DatabaseName": "MessagingAugmentation",



Error: clientRequestId: e91c8ecd-281f-4166-94b5-af506c2e6822

aajain_1-1668775795432.png

 



aajain_0-1668775629146.png

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard