Value cannot be null.\r\nParameter name: identityProvider

Hi,

Today I got the below error while running an console application which retrives account details from CRM.

Value cannot be null.\r\nParameter name: identityProvider

And that code was working earlier, not sure what went wrong and started searching here and there.

Finally, came to know that there was an extra space in the UserName which I have given as an input for the application to connect to CRM. Removed the space and able to perform my task.

Note : There could be many other reasons causing this issue and this wrong username or extra characters is one of them.

Hope this helps.


Happy CRM’ing

Gopinath

Import Users to CRM

There are multiple ways to create new users in Dynamics CRM or Dynamics 365. We can use OOB import users as well.
Here are some of the key points which has to be followed via the Import Tool

1) For On Premise, User Name must have Domain name. Format – domain\user or user@domain.com format. For Online, Primary Email is mandatory
2) First Name and Last Name are mandatory.
3) All the users will be disabled in CRM.
4) We cannot set Business Unit during the import. By default, all users will be assigned to the Root business unit. After the import, we can update the business unit using Change Business Unit.
5) Every user will be assigned to Sales Person role by default.


Hope this helps.



Happy CRM’ing

Gopinath