# onMyUserContextChange event not firing on host change

**URL:** <https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849>\
**Category:** Zoom Apps\
**Created:** [April 20, 2022, 7:34pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849 "2022-04-20T19:34:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ross-crowdsmart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ross-crowdsmart/32/36301_2.png) [@ross-crowdsmart](https://devforum.zoom.us/u/ross-crowdsmart)\
**Post date:** [April 20, 2022, 7:34pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/1 "2022-04-20T19:34:37Z")

</div>

I want to set up some logic for our Zoom App that triggers when the meeting host is transferred, but in my local testing the “onMyUserContextChange” event does not fire.

The “onParticipantChange” event is firing as expected, so it would seem the zoomSdk is configured properly in the app.

---

<div class="post-metadata">

**Author:** ![om7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/om7/32/36428_2.png) [@om7](https://devforum.zoom.us/u/om7)\
**Post date:** [April 20, 2022, 8:15pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/2 "2022-04-20T20:15:01Z")

</div>

Hey Ross,

I noticed the same in my own testing when trying to keep track of changes to participants’ screen name. Unfortunately no resolution yet, so will be following this thread

Oliver

---

<div class="post-metadata">

**Author:** ![ross-crowdsmart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ross-crowdsmart/32/36301_2.png) [@ross-crowdsmart](https://devforum.zoom.us/u/ross-crowdsmart)\
**Post date:** [June 7, 2022, 6:37pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/3 "2022-06-07T18:37:22Z")

</div>

It seems there’s been no resolution to this. The event is still not firing when I transfer host to another participant. Both Zoom Clients are on the latest version (5.10.7).

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 10, 2022, 10:03pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/4 "2022-06-10T22:03:20Z")

</div>

Hey @ross-crowdsmart,

Thank you for reaching out to the Zoom Developer Forum and for your patience. I’m sorry to hear you’re still encountering this issue with the onMyUserContextChange event. From what I can tell this is a bug so I’ve reached out to our engineering to see if they can confirm.

I’ll keep you posted on what I hear.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![joel.azeta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joel.azeta/32/10696_2.png) [@joel.azeta](https://devforum.zoom.us/u/joel.azeta)\
**Post date:** [June 14, 2022, 1:05pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/5 "2022-06-14T13:05:31Z")

</div>

Hello @ross-crowdsmart - Sorry for any inconveniences this may have caused. After much review, it seems this is working as expected. If you don’t mind us asking, can you provide us with the parameter that is being used to call the event?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [June 14, 2022, 5:18pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/6 "2022-06-14T17:18:12Z")

</div>

@ross-crowdsmart in the past, I’ve seen this happen if the capabilities array is missing the event. Can you double-check that you’re adding the event to the capabilities array when calling the `configure()` function?

---

<div class="post-metadata">

**Author:** ![ross-crowdsmart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ross-crowdsmart/32/36301_2.png) [@ross-crowdsmart](https://devforum.zoom.us/u/ross-crowdsmart)\
**Post date:** [June 14, 2022, 8:59pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/7 "2022-06-14T20:59:06Z")

</div>

The solution was including the event in the Zoom App SDK config in the App Marketplace Features section. In fact it doesn’t seem to matter what I include or exclude from capabilities in the zoomSdk.config call in the client app code.

---

<div class="post-metadata">

**Author:** ![joel.azeta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joel.azeta/32/10696_2.png) [@joel.azeta](https://devforum.zoom.us/u/joel.azeta)\
**Post date:** [June 14, 2022, 9:49pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/8 "2022-06-14T21:49:47Z")

</div>

Hello @ross-crowdsmart - Thanks for the update. Just wanted to make sure we are on the page, is it working now?

**P.S** : I was able to call this event successfully without any issue.

---

<div class="post-metadata">

**Author:** ![ross-crowdsmart](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ross-crowdsmart/32/36301_2.png) [@ross-crowdsmart](https://devforum.zoom.us/u/ross-crowdsmart)\
**Post date:** [June 14, 2022, 9:57pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/9 "2022-06-14T21:57:08Z")

</div>

Yes it is working now.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 21, 2022, 10:37pm UTC](https://devforum.zoom.us/t/onmyusercontextchange-event-not-firing-on-host-change/67849/10 "2022-06-21T22:37:07Z")

</div>

Thanks for confirmation @ross-crowdsmart!
