Forum Discussion

cplesner's avatar
cplesner
Icon for Helper III rankHelper III
9 years ago
Solved

Using Parameters for SQL Server Username/Password

Hi   I can set Parameter for Servername and Database name, but how to set parameters for Username/Password when the connection is to SQL server database with Basic Authentication (azure SQL DB)
  • prateekraina's avatar
    prateekraina
    9 years ago

    Hi cplesner,

     

    I am assuming that you have exported a template after creating a Power BI desktop report which is going to be shared with the custimer.
    Also, it contains Database and Server as parameters so that customers can enter their own.
    The point to note here is when database and server names are submitted, Power BI does ask the credentials to be used for the first time. Refer below screenshot:

     

    So the customers will be able to access the report only when they enter credentials alloted to them.
    Hope thats what you were looking for.

    Thanks !!