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

sync-rule-provisioning-failed: The DN cannot be set because it will be automatically computed when CSEntry.CommitNewConnector is called.

$
0
0

Hi,

I'm trying to write a very basic ECMA 2.2 connector which creates a home folder for a user based on his surname and accountname.

For instance, a user whose last name is smith and accountname is johnsmith should get a folder created in \\servername\homefolders\smith\johnsmith

At the moment, I'm not interested in doing any imports, so this MA will just create the home folder. My sync rules are simple as follows (all outbound):

accountName (FIM) > accountName (homefolder MA)

"\\servername\homefolders\smith\" + accountname (FIM) > homeFolder (homefolder MA) 

accountName (FIM) > dn (homefolder MA)

Note: in the second flow the flow is a concatenated string, and the dn flow is marked as initial flow only.

I have created the relevant sets/wf/mpr in the portal. The anchor attribute configuired in the MA is the accountName

Now, when I create a user (Say John Smith with accountname johnsmith), I get the user into my set and the sync rule ERE is generated. However, when I do an import+sync on the FIM MA to bring this user from the portal into the MV, I get this error (as part of sync-rule-provisioning-failed)

Microsoft.MetadirectoryServices.ProvisioningBySyncRuleException: The DN cannot be set because it will be automatically computed when CSEntry.CommitNewConnector is called.

I'm getting this error on the Sync stage

I know I need to pass something to the dn so I can't remove that, but I can;t find any info on the error. Any ideas?

Thanks





Viewing all articles
Browse latest Browse all 6944

Trending Articles



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