Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

Reply
Mauro89
Impactful Individual
Impactful Individual

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 connection in ADO and put it as contributor/admin in my Fabric workspace. I also see that the app registration has execute rights within my UDF.

 

But when I test the webhook I get an 403 error. This documentation says the message is to large, which can not be the case as I shortened it up to only few lines. So I doubt this is the issue.

 

Would be great to get some hints from the community 🙂

 

Thanks!

1 ACCEPTED SOLUTION

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.

View solution in original post

6 REPLIES 6
v-karpurapud
Community Support
Community Support

Hi @Mauro89 

I wanted to check if you’ve had a chance to review the information provided. If you have any further questions, please let us know. Has your issue been resolved? If not, please share more details so we can assist you further.

Thank You.

KevinChant
Super User
Super User

I would check that the service connection is trying to authenticate with the right tenant first. Have you tested it with something like Postman?

Mauro89
Impactful Individual
Impactful Individual

Hi @KevinChant

 

thanks for this nice hint with Postman. I had a try but also here I got the 403.

Any other ideas? Maybe some tenant or admin setting which I might have missed?

 

Best regards!

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.

Hi @v-karpurapud,

 

thanks for your response and letting me know that currently there is no option in Fabric to receive webhooks. 
I also want to note that your proposal with notebooks and especially the webhook activity does NOT work, as the webhook activities is not supposed to receive rather than acting like a webhook for sending events. 
So for now the only way is via Azur functions. 

Thanks and best regards!

Hi @Mauro89 

Thank You for the update.

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors