While activating one draft workflow,  i was getting an error .

The System Could not log you on. This could be because your user record or the business unit you belong to has been disabled in Microsoft Dynamics CRM 




This happened because of following  :

1. Workflow owner user is deactivated , change the user or activate the one and activate the workflow .

2. If error is coming while saving a record , the plugin or workflow might be executing under user context and that user is no longer enabled , either change the context to organization ( for workflow) 




SOURCE : JUST2CODE.IN Subscribe to our YouTube channel : https://www.youtube.com/user/TheRussell2012