To test, we updated the security of the Application User to Sales Manager role which doesn’t have the create incident privilege.
Calling the custom API this time as expected gave us the below error
{“error”:{“code”:”0x80040220″,”message”:”Principal user (Id=0f377e29-5545-eb11-a813-000d3a9bf733, type=8, roleCount=1, privilegeCount=727, accessMode=4), is missing prvCreateIncident privilege (Id=6cf9442b-e690-4cad-8b0a-e60464960b93) on OTC=112 for entity ‘incident’. context.Caller=0f377e29-5545-eb11-a813-000d3a9bf733″}}
If we specify an incorrect privilege name we would get the below error and will not be able to save the record.
Recently while designing the custom page, we realized that the format property is missing for the Date Picker control. This is because Date Picker control is based on Fluent UI Library. One option earlier was to enable the Classic Controls from Settings And replace the existing control with … Continue reading “Format property missing in Date Picker in custom page – Dataverse / PowerApps”
Originally posted on Colin Vermander: If you haven’t heard or seen the most recent update to the SDK tool Configuration Migration Tool (CMT) then it is a must check out as the latest version of the tool includes filtering capaibility as Alan Mervitz (@amervitz) noticed on Twitter and…
Originally posted on CRM Keeper: By now I am sure most of you have heard about ChatGPT. The AI product is pouring out surprisingly intelligent responses to all sorts of questions that people all around the world have given it lately. There have been examples of the tool…
Just sharing the syntax, that we can use to filter the data source based on the status field. Below is our gallery bound to Cases (Data Source) and showing only the Active cases. Items Filter(Cases, Status = ‘Status (Cases)’.Active) Filter(Datasource, Status = ‘Status (Datasource)’.[value]) Hope it helps..
4 thoughts on “Execute Privilege Name (ExecutePrivilegeName) property of Custom API in Dynamics 365 / Microsoft Dataverse”