It would be nice to have a better error message instead of OrganizationServiceFault (without more details). Support provided me with the correct error message:
Microsoft.Crm.CrmSecurityException: Principal user (Id=57bf08dc-b9d2-ec11-a7b5-6045bd881cff, type=8, roleCount=3, privilegeCount=105, accessMode=4), is missing prvReadmsdynce_salesprodefaultsettings privilege (Id=b122cccc-dbc9-42b6-a84f-e15478b894ca) on OTC=10458 for entity 'msdynce_salesprodefaultsettings' (LocalizedName='SalesProDefaultSettings'
It would be nice to see this error message in both Business Central and Application Insights so I can troubleshoot these issues myself.
Comments
The internal error message could be provided by showing OrganizationServiceFault -> InnerFault -> Message.
Category: General
There are also cases where the error message was cut off:An error occurred while communicating with Dataverse. Detailed description: The unit does not exist in the specified unit schedule
Category: General
Business Central Team (administrator)
Thank you for reaching out. Your suggestion seems to be a unrelated to Business Central. Please resubmit your suggestion to appropriate Dynamics 365 Application, Power Apps, Power Automate or Power BI ideas forum.
Sincerely,
Business Central Team