Entra ID Enterprise application User Provisioning - Error when building the expression

Craig Dyson 20 Reputation points
2024-10-23T12:56:55.6666667+00:00

Salesforce Production Permission Set Group Mapping Erroring Expression.txt

Salesforce Production Permission Set Group Mapping Working Expression.txt

I am building an expression for User Provisioning in an Entra ID enterprise application used for SSO and automated User Provisioning to our Salesforce Production org.

The expression will map the Job Title in Entra ID to a Permission Set Group in Salesforce.

The expression is attached in the file Salesforce Production Permission Set Group Mapping Erroring Expression.txt

If I copy and paste this into the expression it displays a "The expression you entered is not valid" error.

If I copy and paste a smaller set of Job Titles into the expression it shows as valid. This expression is attached in the file Salesforce Production Permission Set Group Mapping Working Expression.txt

If I add one more Job Title mapping to the expression the "The expression you entered is not valid" error displays again.

Is there a limit to the number of IIF arguments that can be added to an expression?

Is there a more efficient way to build this expression?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Answer accepted by question author
  1. Givary-MSFT 35,761 Reputation points Microsoft Employee Moderator
    2024-10-28T07:56:00.7766667+00:00

    @Craig Dyson Thank you for reaching out to us, check the limitations mentioned here - limitations and workarounds for the IIF function.

    If this doesn't help, feel free to reply back, will check with my team further on this.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.