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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.