# Zoom LTI not populating SAML mapped groups

**URL:** <https://devforum.zoom.us/t/zoom-lti-not-populating-saml-mapped-groups/29380>\
**Category:** API and Webhooks\
**Created:** [September 7, 2020, 8:03am UTC](https://devforum.zoom.us/t/zoom-lti-not-populating-saml-mapped-groups/29380 "2020-09-07T08:03:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter.diedrichs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter.diedrichs/32/14835_2.png) [@peter.diedrichs](https://devforum.zoom.us/u/peter.diedrichs)\
**Post date:** [September 7, 2020, 8:03am UTC](https://devforum.zoom.us/t/zoom-lti-not-populating-saml-mapped-groups/29380/1 "2020-09-07T08:03:07Z")

</div>

**Description**  
We are using SAML response to put our users (Staff and Students) in two separate IM groups.  
This works fine when the users logs in at our zoom address [http://lnu-se.zoom.us](http://lnu-se.zoom.us), their account is created and the end up in the correct IM group.  
But when not having a Zoom account with us and logging in to Zoom for the first time via the Zoom LTI in our Moodle LMS, the account is created but the user is not mapped to any IM group.

**Error**  
No error message

**Which App?**  
Zoom LTI

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 9, 2020, 6:39pm UTC](https://devforum.zoom.us/t/zoom-lti-not-populating-saml-mapped-groups/29380/2 "2020-09-09T18:39:57Z")

</div>

Hi @peter.diedrichs,

I appreciate the context, and you ask a great question. Happy to clarify.

In this particular instance, since these students/staff who didn’t previously have a Zoom account are having one created upon first login, my recommendation would be to utilize this endpoint to add them to the appropriate existing IM group (after their account is provisioned):

> **[Add IM Directory Group Members - IM Groups - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/im-groups/imgroupmemberscreate)**
>
> Add members to an IM directory group under an account.
> Scope: imgroup:write:admin
> 
> Rate Limit Label: Medium
> 
> Authorization
> 
> Flow: authorizationCode
> 
> Au...

I hope this helps! Let me know if you have any additional questions.

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 10, 2020, 4:40am UTC](https://devforum.zoom.us/t/zoom-lti-not-populating-saml-mapped-groups/29380/3 "2020-10-10T04:40:11Z")

</div>

Closed on October 10, 2020, 4:40am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
