Forum Discussion
user data function in fabric
- 1 year ago
Hi DiKi-I ,
If you still face the issue then please consider raising a support ticket for further assistance.
To raise a support ticket for Fabric and Power BI, kindly follow the steps outlined in the following guide: How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Thank You.
Hi DiKi-I ,
Thanks for raising this – there’s been some confusion around User Data Functions in Fabric, especially since they’re still in preview and not fully rolled out in all environments.
A few things to check:
Feature Availability
- Make sure your workspace is on a supported Fabric capacity (F64 or higher).
- UDFs are still in private preview for some tenants, so they might not appear in the UI by default.
Enable the UI Option (Workaround)
- Try appending this to your Fabric URL and refresh the page:
&ArtifactFunctionSet=1
- This sometimes forces the UI to show the “User Data Function” option under “New Item”.
Use Visual Studio Code (Optional)
- You can also create and manage UDFs using the Microsoft Fabric VS Code extension, which gives more control and visibility.
Known Issues
- There’s a known issue where UDFs don’t show up in the pipeline function activity pane. Microsoft is working on it [1].
Let me know if you’re trying to use UDFs for a specific use case (e.g., calling APIs, transforming data, etc.) – I can help tailor the setup.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
References
- DiKi-I1 year agoPost Partisan
I'm able to run udf its just that when I'm testing it with openai its not working.
- burakkaragoz1 year agoSuper User
Good to hear that the UDF itself is running. Regarding the issue with OpenAI, here are a few things to check:
1. Network Access
- Make sure your UDF environment has outbound internet access. Some Fabric environments (especially in secured or restricted tenants) might block external HTTP calls.
2. Authentication
- If you're calling OpenAI’s API, ensure you're passing the correct API key in the header:
Authorization: Bearer YOUR_API_KEY
- Also double-check the endpoint URL (e.g., https://api.openai.com/v1/completions or chat/completions depending on the model).
3. Timeouts and Payload
- Keep the payload small for testing. Some environments have strict timeout limits for external calls.
- Try a simple prompt first to validate the connection.
4. Error Details
- If you’re getting a specific error message or status code, feel free to share it here. That’ll help narrow it down quickly.