# Dynatrace SAAS SSO with Microsoft Azure - using claims/groups.link

**URL:** <https://community.dynatrace.com/t/dynatrace-saas-sso-with-microsoft-azure-using-claims-groups-link/23057>\
**Category:** Cloud platforms\
**Tags:** user-management, azure, sso\
**Created:** [February 20, 2020, 3:12am UTC](https://community.dynatrace.com/t/dynatrace-saas-sso-with-microsoft-azure-using-claims-groups-link/23057 "2020-02-20T03:12:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish\_jamthe1](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ashish\_jamthe1](https://community.dynatrace.com/u/ashish_jamthe1)\
**Post date:** [February 20, 2020, 3:12am UTC](https://community.dynatrace.com/t/dynatrace-saas-sso-with-microsoft-azure-using-claims-groups-link/23057/1 "2020-02-20T03:12:33Z")

</div>

Microsoft Azure returns the group claim in the SAML using an attribute

[http://schemas.microsoft.com/claims/groups.link](http://schemas.microsoft.com/claims/groups.link)

This happens when the number of groups is very high.

Can Dynatrace handle this scenario.

**Eg (with groups.link): - Unable to do SSO with Dyantrace SAAS**

\<Attribute Name=“[http://schemas.microsoft.com/claims/groups.link](http://schemas.microsoft.com/claims/groups.link)”\>

\<AttributeValue\>

[https://graph.windows.net/48d6943f-580e-40b1-a0e1-c07fa3707873/users/ba9b7081-e2a8-4427-9cdc-92afd7099833/getMemberObjects](https://graph.windows.net/48d6943f-580e-40b1-a0e1-c07fa3707873/users/ba9b7081-e2a8-4427-9cdc-92afd7099833/getMemberObjects)

\</AttributeValue\>

\</Attribute\>

I am able to successfully do SSO when the groups are returned as in **identity/claims/groups,** but not in the above scenario

**Eg (with /claims/groups list) - This works for me**

\<AttributeName="[http://schemas.microsoft.com/ws/2008/06/identity/claims/groups](http://schemas.microsoft.com/ws/2008/06/identity/claims/groups)&nbsp;"\>  
\<AttributeValue\>a8c55d9b-fdc6-4fe3-9d56-af0f87419f2c\</AttributeValue\>  
\<AttributeValue\>4604c7b6-57ca-4aa8-9a0b-235f4c9a3651\</AttributeValue\>  
\<AttributeValue\>aa312f9f-c0ab-4e65-9bbb-07503792bdd8\</AttributeValue\>

---

<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:** [February 20, 2020, 8:51am UTC](https://community.dynatrace.com/t/dynatrace-saas-sso-with-microsoft-azure-using-claims-groups-link/23057/2 "2020-02-20T08:51:24Z")

</div>

According to this part of documentation:

 ![23659-1582188659550.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/4/b45e07ad081269a0e80f777eba17cd42eae345f0.png)

this will not work. [Azure SAML configuration for Dynatrace — Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/user-management-and-sso/manage-users-and-groups-with-saml/saml-azure/) You’re limited to 150 groups.

Sebastian

---

<div class="post-metadata">

**Author:** ![ashish\_jamthe1](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ashish\_jamthe1](https://community.dynatrace.com/u/ashish_jamthe1)\
**Post date:** [February 21, 2020, 12:33am UTC](https://community.dynatrace.com/t/dynatrace-saas-sso-with-microsoft-azure-using-claims-groups-link/23057/3 "2020-02-21T00:33:09Z")

</div>

Thanks [@Sebastian K.](https://answers.dynatrace.com/users/15061/view.html)

From talking to Dynatrace, I think we have following two solution options. I am yet to try either of them, will share progress with the community.

1. **Configure Azure AD to send only security groups.**

> **[Azure SAML configuration for Dynatrace](https://docs.dynatrace.com/docs/manage/identity-access-management/user-and-group-management/access-saml/idp-specific/saml-azure)**
>
> Learn how to configure Dynatrace SSO in Azure.

2. **Use application roles rather than groups.**

This limits the amount of information that needs to go into the token, is more secure, and separates user assignment from app configuration.

> **[Configure group claims for applications by using Microsoft Entra ID -...](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-group-claims)**
>
> Get information on how to configure group claims for use with Microsoft Entra ID.

Change the Security group claim attribute. Something like this:

Before: [http://schemas.microsoft.com/ws/2008/06/identity/claims/groups](http://schemas.microsoft.com/ws/2008/06/identity/claims/groups)  
After: [http://schemas.microsoft.com/ws/2008/06/identity/claims/role](http://schemas.microsoft.com/ws/2008/06/identity/claims/role)
