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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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