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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors