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
Anonymous
Not applicable

Looping on Dataflow function causes repeated credential requests

My project has Power BI getting Sharepoint list version history via REST API calls. Use of this community-shared function works well in the Power BI desktop and deployed dataset. Adding to this solution the "Invoke Function" button to add a new column, the function is called across a set of list items to successfully pull each item's version history. However, when I move the function and table to a dataflow, the function repeatedly asks for credentials to be entered. Any thoughts for getting to a single REST API call or for keeping the credential request to a maximum of one time?

 

1 REPLY 1
lbendlin
Super User
Super User

The thread you reference has a potential solution at the very bottom, but it comes at a cost:

 

 

I found a work around. Load the data into a DataFlow first. In your Dataflow there is an Options button. In there click Project Options. Check the box "Allow combining data from multiple sources. This could expose sensitive or cofidential data to an unauthorized person.". With that set the query can now pull the data from both SharePoint and WebContent.

 

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.