Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi, I am trying to use the SQL Database storage on Azure Fabric, it is working however now I want to use it from my Azure Function App. However, I keep getting this error.
{
"message": "❌ SQL query failed: Login failed for user '<token-identified principal>'.Reason: Authentication was successful, but the database was not found or you have insufficient permissions to connect to it."
}
This is a permission issue because when I test it locally using az login, it works.
How can I fix this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.