Will Weld
Will Weld

Reputation: 328

Dynamics CRM SystemUser IsDisabled Field Unavailable for Mapping in SSIS

I'm trying to migrate user data from SQL to dynamics CRM using an SSIS package. There are some inactive users that must be migrated and I'd like to programmatically disable them in CRM. However, in my CRM destination source in my SSIS package, the IsDisabled field (an option set) in the SystemUser entity is not available for mapping. Is there any way to get the IsDisabled field to show up so I can programmatically disable certain users?

Thanks!

Upvotes: 0

Views: 1347

Answers (1)

Guido Preite
Guido Preite

Reputation: 15128

You can't create a user inside CRM already disabled, you need to create first and after disable using a SetStateRequest. Check this link:

Sample: Disable a User

Upvotes: 2

Related Questions