# Oneagent Business event extraction when on Azure Function

**URL:** <https://community.dynatrace.com/t/oneagent-business-event-extraction-when-on-azure-function/47216>\
**Category:** Open Q&A\
**Tags:** business-analytics, oneagent, business-events\
**Created:** [August 20, 2024, 12:56pm UTC](https://community.dynatrace.com/t/oneagent-business-event-extraction-when-on-azure-function/47216 "2024-08-20T12:56:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [August 20, 2024, 12:56pm UTC](https://community.dynatrace.com/t/oneagent-business-event-extraction-when-on-azure-function/47216/1 "2024-08-20T12:56:41Z")

</div>

Hello Community members,

are you aware if Oneagent Business event extraction can also work when Dt is deployed on an Azure Function?

Regards

---

<div class="post-metadata">

**Author:** ![JoseRomero](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joseromero/32/19486_2.png) [@JoseRomero](https://community.dynatrace.com/u/JoseRomero)\
**Post date:** [August 29, 2024, 4:46am UTC](https://community.dynatrace.com/t/oneagent-business-event-extraction-when-on-azure-function/47216/2 "2024-08-29T04:46:52Z")

</div>

Hi&nbsp;[@y\_buccellato](https://community.dynatrace.com/user/4804)

Yes, it’s possible to capture business events (BizEvents) from your Azure Function. If you’re able to deploy the OneAgent to the Azure Function, it will automatically capture the payload as part of the trace. Alternatively, if deploying OneAgent is not feasible due to architectural constraints, you can implement a call within the function to send the same payload directly to the BizEvents API. This alternative method is effective and ensures that, regardless of the deployment limitations, you can successfully extract BizEvents from your Azure Function by capturing the trace through one of these approaches.

---

<div class="post-metadata">

**Author:** ![mpatel3\_AVDX](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mpatel3\_AVDX](https://community.dynatrace.com/u/mpatel3_AVDX)\
**Post date:** [September 25, 2024, 3:04pm UTC](https://community.dynatrace.com/t/oneagent-business-event-extraction-when-on-azure-function/47216/3 "2024-09-25T15:04:51Z")

</div>

[@JoseRomero](https://community.dynatrace.com/user/57563)&nbsp; can you explain how this can be done from your previous reply? “you can implement a call within the function to send the same payload directly to the BizEvents API”

In my application we have 3 azure function as part of process and each has same call “Invoke” but different payload . I would like to set bizevent for all those 3 invoke call
