Hello,
We are trying to add "Admin - " to the AAD displayname for accounts with "admin" in the upn. We have tried several different expressions like this - IIF(InStr([userprincipalname],"admin"),"Admin - " & [displayname],[displayName]). This error message below happens when trying to save.
Trying another expression like this seems to work: IIF(IsNullOrEmpty([displayName]),"Prefix_" & [cn],"Prefix_" & [displayName]). We are not sure why the attributes are not defined for the first expression but are for the second expression.