Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I have an M function which takes a URL as a parameter and then retrieves the data for further processing. I'm calling that function with a list of URLs (could be hundreds) and for each url I have to specify the credentials as anonymous. Is there a way to do that in the code so I don't have to interact with the dialog in PBI Desktop for each one?
Current code is:
(siteUrl as text) as table =>
let
Source = Table.FromColumns({Lines.FromBinary(Web.Contents(siteUrl), null, null, 65001)}),
'do more stuff here
Any help anybody can provide is much appreciated.
Hi @rodzillacorp,
From below thread, it seems that currently we cannot specify credential in Power Query so that viewers don't have to provide credentials manually for data source connection.
Storing Credentials in a Power Query
Best regards,
Yuliana Gu
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 32 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 58 | |
| 31 | |
| 25 | |
| 24 |