Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lpauly
Frequent Visitor

Connect to Azure Monitor/Log Analytics Workspace with Service Principal or Managed Identity

Hello everybody,

 

I want to connect to a Azure Log Analytics workspace with Power BI, I know that I can get the M-Query via export from the query desinger: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-powerbi . 

But because of security reasons I need to connect not with my own user in azure but with either a service principal or with a managed identity. Is there any possibility to do so? Or is there another way, or best practise for not using a personal azure account? 

 

Kind Regards

Lucas

1 ACCEPTED SOLUTION
lpauly
Frequent Visitor

Hi,

 

I found a solution from this Blog: https://powers-hell.com/2021/08/15/authenticate-to-graph-directly-from-powerbi/

 

With this and a Service Principal I can get data.

View solution in original post

3 REPLIES 3
lpauly
Frequent Visitor

Hi,

 

I found a solution from this Blog: https://powers-hell.com/2021/08/15/authenticate-to-graph-directly-from-powerbi/

 

With this and a Service Principal I can get data.

Anonymous
Not applicable

Hi @lpauly ,

 

There's an official document about using Azure Log Analytics in Power BI, please kindly refer to

Using Azure Log Analytics in Power BI (Preview) - Power BI | Microsoft Learn

Be aware of the considerations and limitations.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

 

Unfortunately, this is the wrong direction. We need the Data from an Azure Log Analytics Workspace in Power BI. Is this possible without dedicated User?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors