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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RobThrive
Resolver I
Resolver I

Service account login to Sharepoint Folder

Hello all,

 

We have recently started to move the business onto Sharepoint Online. I'm trying to get Power BI (desktop/Hosted server, not service!) to access an excel file on a sharepoint team-site documents folder.

 

The problem I have: I am trying to use a service account to connect to that sharepoint folder via Power BI, but when I use the organsiation login option it tells me the user cannot login (which I understand is standard for service accounts). When I try to use a windows login and provide the correct username + password, I get told the user isn't authorised to access the file. This is despite the fact I've even created a group (and placed the svc account into it) and given that group complete full access to the sharepoint site.

 

Is it just not possible to use a service account for this? or is there something I'm not doing correctly?

If it makes a difference, this is using Azure A/D, all o365 based.

 

Many thanks

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@RobThrive 

 

You may check if the following post helps.

https://community.powerbi.com/t5/Power-Query/SharePoint-online-to-PowerBI-incorrect-permissions/m-p/...

Community Support Team _ Sam Zha
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

2 REPLIES 2
hawke
Advocate I
Advocate I

Hi Rob, did you ever figure out a solution for this?  We are having the same issue.  I clicked on the link that was suggested, but that isn't the issue we are having. Our issue is that we aren't able to login using the service account without getting an error message.  If you were able to resolve the issue, please let me know what you did.

 

Thanks!

v-chuncz-msft
Community Support
Community Support

@RobThrive 

 

You may check if the following post helps.

https://community.powerbi.com/t5/Power-Query/SharePoint-online-to-PowerBI-incorrect-permissions/m-p/...

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.