Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

Sync rule - Allow Null to destination is allowing null even if unchecked

$
0
0

I added a new rules extension code to AD MA and after that I ran AD FS. AD FS triggered allow null values to be passed to various attributes in AD even if Allow null is not selected in sync rule flow. What might have caused this issue? This is the code I added.

        void IMASynchronization.MapAttributesForImport( string FlowRuleName, CSEntry csentry, MVEntry mventry)
        {
            switch (FlowRuleName)
            {
                case "homeMDB":
                    {
                        if (csentry["homeMDB"].IsPresent)
                        {
                            if (mventry["employeeID"].IsPresent)
                            {
                                mventry["homeMDB"].Value = csentry["homeMDB"].Value.ToString();
                            }
                        }
                    }
                    break;
            }

        }



Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>