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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Mchege
New Member

Using a file in Microsoft teams as a data source

I am colaborating with collegues in Microsoft teams using and excel file that we all access and edit. I want to create a power BI report from this spreadsheet but cant find a way to select this file as a data source. Any ideas?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Mchege,

 

While in Teams, hit button "Open in Sharepoint" marked in yellow. (Sorry for my locale language)

Capture.JPG

 

You will need your copy your link to your sharepoint folder, in my case: 

 

https://company.sharepoint.com/sites/NVGCMPowerBIReporting

 

 

Then follow below instruction.

https://community.powerbi.com/t5/Integrations-with-Files-and/Can-t-connect-to-Sharepoint-subsites-us...

 

Let me know, if it works.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi Mchege,

 

While in Teams, hit button "Open in Sharepoint" marked in yellow. (Sorry for my locale language)

Capture.JPG

 

You will need your copy your link to your sharepoint folder, in my case: 

 

https://company.sharepoint.com/sites/NVGCMPowerBIReporting

 

 

Then follow below instruction.

https://community.powerbi.com/t5/Integrations-with-Files-and/Can-t-connect-to-Sharepoint-subsites-us...

 

Let me know, if it works.

Anonymous
Not applicable

Thanks @Anonymous  Worked for me.

Anonymous
Not applicable

Hello,

I also would like to use a spreadsheet in Teams as a data source for Power BI.

However, when I follow your directions, I get an error when I copy the link.

The steps I followed were:

1) Navigate in teams to the desired spreadsheet

2) Open in Sharepoint

3) Copy Link

4) remove all after "XXX.sharepoint.com/sites/folder"

5) I then get the error message:

"Unable to Connect

"we encountered an error while trying to connect"

"Details: "access to the resource is forbidden"

 

I don't understand why I get a message saying my access to the resource is forbidden when I DO have access to not only the sharepoint site, its folders but also the actual file I am attempting to connect to.

 

Please help.  I am not an "IT guy" and have just been thrown into this role.


Thanks

RBALT

Hi Rasty,

I tried this and it worked. Looks like it was the way I entered the sharepoint link. I also got assistance from my collegue on the next steps after that and it worked. Thanks you for your help

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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