Forum Discussion
Authenticating an R or Python script
- 7 years ago
Yeah I'm more comfortable with the few people I will work on the report with having access to my credentials than those who I'll share the report with.
Thanks for the help all, looks like hard-coding the username and password is the best option for me here
samwoolerton,
You can directly define parameters(user name and password) in Advanced Editor of your query in Power BI Desktop following the guide in this similar thread, and then create a Power BI report template(.PBIT) .
This way, when each user open the PBIT in Power BI Desktop, they will be prompted to enter username and password.
Regards,
Lydia
samwoolerton, Anonymous,
On the one hand, approach sounds as an alternative but on the other hand, once you publish a report with such parameters to Power BI Service then your parameters will be opened to everyone who has access to a workspace.
Regards,
Ruslan
- samwoolerton7 years agoRegular Visitor
Yeah I'm more comfortable with the few people I will work on the report with having access to my credentials than those who I'll share the report with.
Thanks for the help all, looks like hard-coding the username and password is the best option for me here