# How can we map users to groups automatically with SAML SSO integration in Dynatrace Managed?

**URL:** <https://community.dynatrace.com/t/how-can-we-map-users-to-groups-automatically-with-saml-sso-integration-in-dynatrace-managed/20465>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, sso\
**Created:** [April 26, 2019, 5:35pm UTC](https://community.dynatrace.com/t/how-can-we-map-users-to-groups-automatically-with-saml-sso-integration-in-dynatrace-managed/20465 "2019-04-26T17:35:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [April 26, 2019, 5:35pm UTC](https://community.dynatrace.com/t/how-can-we-map-users-to-groups-automatically-with-saml-sso-integration-in-dynatrace-managed/20465/1 "2019-04-26T17:35:29Z")

</div>

We have configured SAML integration for Dynatrace Managed and once users log with SSO we are getting name, lastname, and email attributes correctly and we add the user group attribute also so once users login they automatically be assigned to groups, but users are not being assigned to any group, I supposed we first have to create groups in Dynatrace Cluster configuration matching SAML group names and set respective persmissions for each group, so then when users login they be assigned to the groups is that rigth? how is it done?

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [April 27, 2019, 11:41am UTC](https://community.dynatrace.com/t/how-can-we-map-users-to-groups-automatically-with-saml-sso-integration-in-dynatrace-managed/20465/2 "2019-04-27T11:41:45Z")

</div>

Yes, the same situation is for ldap integration. Groups have to match those from your system.

Sebastian

---

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [April 29, 2019, 5:01pm UTC](https://community.dynatrace.com/t/how-can-we-map-users-to-groups-automatically-with-saml-sso-integration-in-dynatrace-managed/20465/3 "2019-04-29T17:01:46Z")

</div>

Thanks for the confirmation.
