Azure AD, SAML SSO and multi-valued attribute

South African Identity Federation 26 Reputation points
2021-05-31T12:25:30.74+00:00

the above title refers.

We've created a new Enterprise Application in Azure AD, and enabled SSO using SAML based auth.

We'd like for the SSO to assert a multi-valued attribute to the SP - we have got as far as setting up a transformation rule, that asserts a single value easily enough, but the definition of the destination attribute is that it can be multi-valued (eduPersonScopedAffiliation).

Is there perhaps some syntax to the transformation's output parameter assert a multi-valued attribute?

Apologies if we have missed it in other Q&A's or documentation - if someone can provide some info, or point me in a direction to documentation that helps solve this, it would be appreciated.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} vote

Accepted answer
  1. Siva-kumar-selvaraj 15,721 Reputation points
    2021-06-01T08:12:23.027+00:00

    Hello @South African Identity Federation ,

    Thanks for reaching out.

    Unfortunately, Azure AD can't issue a multivalued claim (assertion) at this time (Example proxy addresses is one of the Multi-valued attribute).

    Alternatively, you could use "Azure AD App Roles" feature. With that you can able to add the Roles to the application. Then you can use them to assign the roles to users and/or groups. If the user is part of multiple groups and these groups have different role assigned then Azure AD can provide those multiple roles in the claims. So it can be a multi-valued attribute.

    We have a detailed article published on this here https://learn.microsoft.com/en-us/azure/active-directory/active-directory-enterprise-app-role-management

    Please let us know if this works or you need something different than this.

    ------
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


2 additional answers

Sort by: Most helpful
  1. Kartik Subbarao 11 Reputation points
    2022-02-22T17:25:50.613+00:00

    Azure SSO does support multi-valued attributes in claims, at least as of February 2022. I have tested this successfully with proxyAddresses as well as otherTelephone (a typically unpopulated multi-valued attribute suitable for testing):

    <Attribute Name="othertelephone_test">
    <AttributeValue>test-long-value-group-1234</AttributeValue>
    <AttributeValue>7890-long-value-group-5678</AttributeValue>
    </Attribute>

    1 person found this answer helpful.

  2. Divya 1 Reputation point
    2022-01-18T15:30:50.67+00:00

    @sikumars-msft By any chance, do we have support for the multi valued attribute like proxy addresses in SAML claims now?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.