Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am using SQL user defined function in the SQL query as a import mode. File is getting refreshed fine on PBI desktop however on PBI server it is failing stating SQL user defined function "The EXECUTE permission was denied on the object".
Same gateway is able refresh file wrt to tables in SQL used however with SQL user defined function it is failing.
Does gateway refresh dont support SQL user defined function or any permission issue might be there?
Thanks in advance for providing the inputs
@lbendlin
I tried using the underlying query without UDF and it seems to work on serevr . However with UDF included it seems to break and not getting refresh.
Does gateway powerbi refresh support SQL UDF ?
underlying query without UDF is executing good on the server .
However when UDF is included in the query it fails
Check that the "owner" of the gateway connection (ie the credentials) has the necessary permissions on your SQL server. Try running the underlying query instead of the UDF.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
30 | |
24 | |
22 | |
21 |
User | Count |
---|---|
58 | |
41 | |
25 | |
24 | |
23 |