Forum Discussion

Mauro89's avatar
Mauro89
Super User
9 months ago
Solved

User data function as target for webhook from ADO

Hi there,   Iam playing arround if I can use UDF as target for webhooks. Therefore I wanted to use the service hook from Azure DevOps to send ADO events to my UDF. I have created a service connect...
  • v-karpurapud's avatar
    v-karpurapud
    9 months ago

    Hi Mauro89 


    Thank you for contacting the Microsoft Fabric Community Forum.

     

    In Microsoft Fabric, User-Defined Functions (UDFs) operate in a secure, sandboxed environment and are intended solely for internal data processing. As such, UDFs cannot initiate or receive HTTP requests or webhooks; they only work with internal data types such as str, dict, or FabricLakehouseClient. This approach ensures the security and reliability of in-platform data transformations.
     

    To connect with external systems, it is advisable to use a Fabric Pipeline or Spark Notebook. Pipelines can leverage Web Activities to interact with webhooks and store responses in a Lakehouse or Delta Table, allowing UDFs to process the resulting data. Alternatively, Notebooks can utilize Python’s requests library to retrieve external data and write it into Fabric storage for subsequent UDF processing.
     

    For real-time integrations, Azure Functions or Logic Apps are recommended to manage webhook events and transfer data to OneLake or Blob Storage, where it can be ingested and processed within Fabric by UDFs or Notebooks. This architecture supports a secure, scalable environment and aligns with Microsoft’s best practices for Fabric deployments.
     

    I hope this information is helpful. . If you have any further questions, please let us know. we can assist you further.

     

    Regards,

    Microsoft Fabric Community Support Team.