I would like to connect to crm using CrmServiceClient and Office365 authType
string connectionString = "Url=crm_url; Username=crm_user; Password=crm_user_password; AuthType=Office365;";
var crmServiceClient = new CrmServiceClient(connectionString);
If I use account with disabled MFA connection will be established.
If I use account with enabled MFA I have error: "Unable to Login to Dynamics CRM OrganizationWebProxyClient is nullOrganizationWebProxyClient is nullObject reference not set to an instance of an object".
I know it's better to use OAuth because it fully support MFA. But I don't know what change during last 2 weeks that it stop working. User had enabled MFA for all this time and no one change anything since view months. Do you have any idea why it stoped working now?