Views:

Applies to Product - Dynamics 365 Supply Chain Management
 

What’s happening?
Customers encounter an error message stating, "Unable to write to Finance and Operations apps due to the following error(s): {\"Message\":\"Please verify that the user is valid and set up correctly.\"}" when attempting to create or modify data from Finance and Operations (FnO) or Customer Engagement (CE) for mapping under execution.
 

Reason:
The underlying cause of this is often related to incorrect user setup or configuration in Microsoft Entra ID applications and Power Platform Admin settings. Specifically, it may involve missing or incorrectly associated App IDs with the necessary roles, or users being disabled in the database.
 

Resolution:

  1. Check Microsoft Entra ID Applications:
  2. Open the Finance and Operations app.
  3. Navigate to Microsoft Entra ID applications.
  4. Verify the existence of the necessary App IDs and ensure they are associated with an Admin account.
  5. Verify Power Platform Admin Settings:
  6. Perform the same verification in the Power Platform Admin center to check the existence of necessary App IDs and their roles (SysAdmin).
  7. Database User Verification:
  8. Since this is a UAT environment, access the database using Just-in-Time (JIT) access.
  9. Ensure that the users associated with these App IDs are enabled.
  10. Execute the following SQL query to check user status: sql SELECT * FROM userinfo WHERE id = 'PowerPlatformApp';
  11. If the Enabled column is set to 0, update it to 1.
  12. Enable Just-in-Time Database Access:
  13. Follow the guidance provided in the official documentation to enable JIT database access.
  14. Gather Plug-in Logs:
  15. In the Customer Engagement (CE) environment, enable logging to the plug-in trace log by navigating to:
    • Settings > Advanced Settings > Settings > System Settings > Customization tab.
  16. Set "Enable logging to plug-in trace log" to "All".
  17. Reproduce the issue and gather the plug-in logs for further analysis.
  18. Testing Standard Entities:
  19. Suggest testing on standard entities to determine if the issue is isolated to custom entities or mappings.
If the issue persists after following these steps, further investigation may be required, and it is recommended to contact the system administrator for additional support.