Resolving User Not Licensed Errors When Saving A Row (Microsoft Dataverse)
If you're working with Microsoft Dataverse, you might encounter error messages, such as when attempting to save a Case row in Dynamics 365 Customer Service. An error message might state that "The user with SystemUserId=1e18d5cd-72a6-462a-98ab-eb76b1f17b79 in OrganizationContext=e1c03efe-c3a0-4a35-9ed7-05f49ab97918 is not licensed, and its SystemUserAccessMode=0 is not either of (NonInteractive=4, SetupUser=1)." This error might appear for any operation, including plug-in executions, and suggests that a deactivated user's context is being invoked. To fix it, check the Run in User's Context setting of appropriate plug-in steps, ensure that code is not impersonating the user in question, and try deactivating and reactivating any workflows relating to the issue. Despite the strange nature of this error, these steps should help you get your system up and running.
This post originally appeared on Craig Chap's blog.
Published on:
Learn moreRelated posts
Fixed – The latitude or longitude for the User record associated with this resource is invalid – Dynamics 365 Field Service /Dataverse
If you're facing the error message "The latitude or longitude for the User record associated with this resource is invalid" while trying to se...
Bypass Dataverse Plug-ins and Flows in Power Automate | Tip #1459
Tip #1459 explains how to bypass synchronous Dataverse plug-ins and Power Automate flows, which can get in the way of inserting, updating, or ...
Announcing public preview of virtual network support for Power Platform Dataverse plug-ins and Connectors
Microsoft has announced the public preview of virtual network support for Power Platform Dataverse plug-ins and connectors. The Power Platform...
Microsoft Teams: In-meeting Error Messaging
The latest update to Microsoft Teams Meeting offers a new in-meeting error messaging feature that will notify users directly through an error ...
Dataverse Low Code Plug-ins now in public preview
Microsoft Dataverse low code plug-ins, one of the most eagerly anticipated features in modern business workflows, is finally available for pub...
Dynamics 365 Marketing Tutorial (Real Time Marketing / Customer Insights Journeys)
If you're looking for a comprehensive tutorial on Dynamics 365 Marketing, look no further than this real-time marketing and customer insights ...
TURNING OFF SEND ERROR REPORT IN DYNAMICS 365
When using Dynamics 365, users may encounter errors in the product which prompts them to send error reports to Microsoft. Error reports contai...
Unable to Export Solution from Dataverse/Dynamics 365 with Generic Unexpected Error
If you're facing a "Generic Unexpected Error" while trying to export a solution in Dataverse/Dynamics 365, it may be due to invalid characters...
ERROR DIALOG IN DYNAMICS 365 JAVASCRIPT
If you need to display an error dialog in Dynamics 365 using JavaScript, this tutorial will guide you through the process and available proper...