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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Marizach
Frequent Visitor

Cloud Data Source Connection Authentication using Service Principal

I've created a report using my user account as the authentication method. I've now published it on the Power online service. I want to change the authentication type to service principal. What permissions will the service principal require? I want to connect to data sources like log analytics workpace and SharePoint, the Connection type for both is "Web". I also want to Connect to Azure Resource Graph. 

powerbi.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Marizach ,

You can create a service principal in Azure AD. The service principal will require at least Reader role permissions to access the resources in Azure. Maybe this document can help you: Run queries with Azure Resource Graph Power BI connector - Azure Resource Graph | Microsoft Learn

For Log Analytics Workspace, the service principal needs permissions to run queries and potentially write data. This usually requires the Log Analytics Reader and Log Analytics Contributor roles.

vyilongmsft_0-1713147855118.png

For SharePoint, the service principal should have permissions to read from the SharePoint lists or folders you’re connecting to. This typically involves having Read access to the SharePoint site.

To connect to the Azure Resource Graph, the service principal needs permissions to run queries at the tenant, subscription, or management group level, depending on your requirements.

If you want to learn more about Azure Log Analytics, i think you can read this document: Using Azure Log Analytics in Power BI - Power BI | Microsoft Learn

 

 

 

Best Regards

Yilong Zhou

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Marizach ,

You can create a service principal in Azure AD. The service principal will require at least Reader role permissions to access the resources in Azure. Maybe this document can help you: Run queries with Azure Resource Graph Power BI connector - Azure Resource Graph | Microsoft Learn

For Log Analytics Workspace, the service principal needs permissions to run queries and potentially write data. This usually requires the Log Analytics Reader and Log Analytics Contributor roles.

vyilongmsft_0-1713147855118.png

For SharePoint, the service principal should have permissions to read from the SharePoint lists or folders you’re connecting to. This typically involves having Read access to the SharePoint site.

To connect to the Azure Resource Graph, the service principal needs permissions to run queries at the tenant, subscription, or management group level, depending on your requirements.

If you want to learn more about Azure Log Analytics, i think you can read this document: Using Azure Log Analytics in Power BI - Power BI | Microsoft Learn

 

 

 

Best Regards

Yilong Zhou

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors