Forum Discussion

djillbunters's avatar
djillbunters
Frequent Visitor
2 years ago
Solved

Move from On Premise SQL to Azure SQL db - still needs on-premise gateway

I wanted to publish my report to be automatically refreshed every day. In my power bi desktop report i changed my data source to the azure datasource (xxxxxxx.database.windows.net). Everything work...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi djillbunters ,

     

    For Azure SQL databases, the refresh scenario does not require a local data gateway because Azure SQL databases are a cloud service. However, make sure that the dataset in Power BI Services is set to use a direct query connection to the Azure SQL database.

    In Power BI Services, go to Dataset Settings and check the data source credentials. Make sure it is set to use the appropriate authentication method (e.g. OAuth2) for the Azure SQL database.

     

    Also note: To connect to an Azure SQL database using DirectQuery, you must use Power BI Desktop and then publish the created report to the Power BI service.

     

    For more details, you can read below document:

    Azure SQL Database with DirectQuery - Power BI | Microsoft Learn

    Use DirectQuery in Power BI Desktop - Power BI | Microsoft Learn

     

    Best Regards,
    Adamk Kong

     

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