Sunday, August 01, 2010

Assigning Roles to a deactivated Users in CRM

This cannot be done. I found out the hard way when trying to write a user syncing service. It makes sense if you really think about it; why would you want to assign a role to a deactivated user anyway?

If you still want to do this the work around is to temporarily activate the user, assign the roles and deactivate him again.

Hope this helps someone out there.

No comments: