question

ZachHays-5821 avatar image
0 Votes"
ZachHays-5821 asked ZollnerD commented

MIM Inbound Sync Rule Attributes not defined in Source Schema

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.
193447-microsoftteams-image-3.png



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.

azure-active-directoryazure-ad-connect
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZollnerD avatar image
0 Votes"
ZollnerD answered ZollnerD commented

I believe attribute names in the MIM/AAD Connect sync engine are case sensitive. That seems very likely to be the problem. It's been a few years since I've used either of those products, but I believe the error message is including displayName (correctly capitalized) only because it's the destination attribute, so that you can identify which expression is the problem. I believe the problematic ones are all in the source expression, as they all are incorrectly capitalized.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ZollnerD Thank you for this. This is exactly what it was.

0 Votes 0 ·

Glad to help - and glad to know I haven't forgotten everything :)

0 Votes 0 ·