how to user Expression Attributes to sync specific attributes only for one group of users.

MORE Ajinkya OBS/GDO 0 Reputation points
2026-04-27T06:57:41.23+00:00

We have done SCIM integration with genesys cloud and Microsoft Intra ID.
we have provisioned Enterprise application "Genesys Cloud for Azure" for all users who supposed to sync into genesys cloud through SCIM.
we have provisioned following attributes in azure AD. These attributes are required for getting presence of teams users on Genesys cloud. we are able to get the presence of all users.

but we have one condition that , we don't want presence information of all users instead we have Specific group of users who suppose to use this Teams integration with genesys cloud and presence should be synced from team to genesys only for these users.

I believe because below two attributes are configured for provisioning in Genesys cloud for Azure app which is used by all users this presence information going to genesys for all users. How can we tackle this condition, can we use Expression type attribute so only for specific group of users these attribute will be provisioned.

Microsoft Entra ID** field** SCIM field Genesys Cloud field
telephoneNumber phoneNumbers[type eq "microsoftteams"].value UserProfile.contactInfo.[0].phone_other.[0].value.number
telephoneNumber phoneNumbers[type eq "microsoftteams"].value UserProfile.contactInfo.[0].phone_other.[0].value.number
objectId urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User:externalIds[authority eq "microsoftteams"].value
Microsoft Security | Microsoft Entra | Other
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-04-27T06:57:59.09+00:00

    Use scoping plus attribute expressions together:

    1. Scope provisioning to the specific users/groups
      • In the Genesys Cloud for Azure enterprise app, go to ProvisioningSettings.
      • Under Scope, choose Sync only assigned users and groups.
      • Assign only the group(s) of users that should have Teams presence in Genesys to this app (Enterprise applications → Genesys Cloud for Azure → Users and groupsAdd user/group).
      • Result: Only those users are provisioned at all, so the Teams-related SCIM attributes are sent only for them.
      If the app must remain assigned to all users, use an attribute-based scoping filter instead:
      • In ProvisioningEdit provisioningMappingsUsersSource object scope, add a scoping filter (for example, department EQUALS ContactCenter or a custom flag attribute) so only the intended users are in scope.
      • See examples in the Common scoping filters section.
    2. Keep the Teams attributes mapped only for in-scope users
      • The attributes
        • phoneNumbers[type eq "microsoftteams"].value
        • urn:ietf:params:scim:schemas:extension:genesys:purecloud:2.0:User:externalIds[authority eq "microsoftteams"].value are standard, supported target attributes in the Genesys Cloud for Azure gallery app and can remain mapped as-is.
      • Once scoping is restricted (by assignment or scoping filters), those mappings will only be evaluated and sent for users that are in scope for provisioning. Out-of-scope users will not have these attributes provisioned to Genesys at all.
    3. Optional: Use an expression to “blank out” attributes for non‑target users If the app must stay in scope for all users and a global scoping filter is not acceptable, an expression can be used on the source side:
      • Edit the user attribute mapping for phoneNumbers[type eq "microsoftteams"].value.
      • Replace the direct mapping with an expression that returns the phone number only when a condition is met (for example, a specific department or custom attribute), and returns null otherwise.
      • The same approach can be applied to externalIds[authority eq "microsoftteams"].value.
      Expressions are configured on the attribute-mapping page as described in the attribute customization article; they allow conditional logic so that only users matching the condition get a non‑null value provisioned.
    4. Validate with on‑demand provisioning
      • Use Provision on demand for a test user inside the target group and one outside it to confirm:
        • In-scope user: Genesys receives the Teams phone and externalId attributes.
        • Out-of-scope user: Genesys does not receive those attributes (or receives them as null, depending on the expression).
    5. Monitor
      • Use provisioning logs to verify which users are provisioned and what attributes are sent.

    This approach ensures Teams presence–related attributes are only provisioned for the defined subset of users, either by scoping who is provisioned or by using expressions to conditionally populate the Teams attributes.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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