Forum Discussion

pey1's avatar
pey1
New Member
1 year ago
Solved

Credentials greyed out - SQL Server Exposed to the Internet

I have seen many posts on this and many solutions - all of which I have tried, including going down a rabbit whole of trying to "silent" install power BI gateway only to find that's not supported a...
  • v-priyankata's avatar
    1 year ago

    Hi pey1,

    We are grateful for your participation in the Microsoft Fabric Community forum.


    Since Power BI Service doesn't let you set credentials directly for a non-cloud SQL Server, it needs a gateway for scheduled refreshes. Here's the best way to set that up:

    1.  Install one On-premises Data Gateway per client tenant, each on a separate VM or machine (can be lightweight cloud or client-hosted).
    2. Point each gateway to your central SQL Server (just make sure it’s locked down with IP allow-listing and SSL).
    3. In each tenant’s Power BI Service, register the gateway, set up the data source, and plug in the right credentials for that client’s database.
    4. Use SQL logins or database permissions to make sure clients can only access their own data.
    5. ⁠You can’t install more than one gateway on the same machine anymore (Microsoft blocked that), so each tenant needs their own box or VM.

    Credential Option Is Greyed Out - Once you publish your dataset, Power BI sees that your SQL Server isn’t a cloud-native source, so it disables the credential box. At that point, only a gateway can handle auth and refresh.


    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

    Thanks.