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
RandyPgh
Resolver III
Resolver III

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
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.