I am using Grafana 8.5.10.
I have developed some simple scalar functions on my SQL Server DB.
I have given to the user I use for grafana the function execution permissions with:
GRANT EXECUTE ON dbo.FunctionName to grafanareader;
I’m trying to use these functions in a Grafana Panel but it gives an error:
“The EXECUTE permission was denied on the object dbo.FunctionName”
If I try the same query directly on MSSQL after authenticating with the grafanareader account it works without problems.