Forum Discussion
Royel
9 months agoSuper User
Fabric SQL Database SQL endpoint is not refreshing
Hi everyone, I’m experiencing an issue with my Fabric SQL Database (SQL Endpoint). Data appears correctly in the main SQL Database when: Previewing table data directly Running SQL queries ...
- 9 months ago
Hey Royel ,
If the data is current in your Fabric SQL Database but the SQL analytics endpoint is not showing it, you are almost certainly hitting a metadata sync lag on the endpoint. You can trigger the sync programmatically using the Refresh SQL analytics endpoint metadata REST API. This works for SQL Database, Warehouse, Lakehouse, and mirrored items. But you can try the following workaround:
- In Fabric, go to your SQL Server item.
- Click the three dots (⋯) → select Open in VS Code.
- From the connection details, copy the Server Name and Database Name.
- In Power BI Desktop, create a new SQL Server connection using these details and refresh your data.
- Publish the updated report to the Power BI Service.
- In the Power BI Service, create a new connection using the same Server and Database names, and update the semantic model connection to point to this new SQL connection.
Best Regards,
Nasif Azam
djurecic
9 months agoSuper User
Hi Royel ,
Yes, you can refesh via the API- here is how to do it:
https://www.red-gate.com/simple-talk/blogs/sql-endpoint-secrets-you-need-to-know/