Error message
If you try to save a record with a Business Process Flow in Dynamics 365, you might receive the following error message:
The user with SystemUserId = “##########” in OrganizationContext = “##########” is not licensed, and it’s SystemUserAccessMode=0 is not either of (NonInteractive=4, SetupUser=1)
Most likely, you receive this error message because behind the scenes, you are running Business Process Flows with a user account that has recently left your organization and has been disabled or removed from the tenant.
Important: Flows or Business Process Flows never use user accounts, but system accounts. |
Workaround
Sign in to D365 portal https://########.crm4.dynamics.com/, in the query, select “Look for:” Processes, and then press Results.
Find the user with the GUID that you get the error message, and select Assign Processes.
Select the User/system account with an active and click Assign.
The last step is to Activate the User/System account. You can do this by select the Process Name and click Activate.