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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
arlugones
New Member

How safe is to send credentials as parameters for a script?

Hi there,

 

Is it safe to send credentials as parameters for a script as my PowerBI reports get shared thru a public link (embedded report)? I mean, could parameters be retrieved using the navigator dev tools?

 

Thanks in advance, A

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @arlugones,

 

from a technical point of view, I would consider storing credentials in a query "safe" in regards to using the publish to web (public link) function to democratize your report.

 

Publish to web creates a copy of the original report containing the "imported" data, this copy will reside outside of the workspace, meaning the copy is not protected. As the credentials are stored inside the query, and will not be copied, at least this is my current understanding.

 

Nevertheless, I totally agree with @Greg_Deckler not to use publish to the web when the data contains confidential data, as anyone who has the link will be able to access the copy of the report.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Hey @arlugones,

 

from a technical point of view, I would consider storing credentials in a query "safe" in regards to using the publish to web (public link) function to democratize your report.

 

Publish to web creates a copy of the original report containing the "imported" data, this copy will reside outside of the workspace, meaning the copy is not protected. As the credentials are stored inside the query, and will not be copied, at least this is my current understanding.

 

Nevertheless, I totally agree with @Greg_Deckler not to use publish to the web when the data contains confidential data, as anyone who has the link will be able to access the copy of the report.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Greg_Deckler
Community Champion
Community Champion

@arlugones I wouldn't do it.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Why? I'm new to this dashboard publishing thing so excuse my ignorance. Is it best to hard-code credentials on the script?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors