The user cannot write data to this table, only the integration users may write data to this table – Dynamics 365 Project Operations


We configured the Project Operations app in one of our Dataverse Environments, and while creating a Company record we got the below error.

Exception Message: OrganizationServiceFault Microsoft.Xrm.Sdk.InvalidPluginExecutionException: “The user be60d0fd-778e-ee11-be36-00224893a88b cannot write data to this table, only the integration users may write data to this table.” At Mcrosoft.Dynamics.FOCommon.Plugins.Services.ReadonlyEntityService.PreModify(LocalPluginContext localcontext) at Microsoft.Dynamics.FOCommon.Plugins.PluginBase.Execute(IServiceProvider serviceProvider)

Plugin: ExceptionFromPluginExecute: Microsoft.Dynamics.FOCommon.Plugins.ReadonlyEntityPreModify


The error is because the system doesn’t allow creating a Company in the Dataverse / Dynamics 365 Project Operations App. Ideally, it has to be created at the F&O end and integrated with the Dataverse Environment.

Company Concept in Dataverse

The steps to setup / initialize the company data

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/bootstrap-company-data

This was because we had unintentionally installed the dual-write application orchestration package that installs multiple solutions in their Microsoft Dataverse environment, which added the company table.

https://learn.microsoft.com/en-us/dynamics365/project-operations/environment/resource-manual-deploy-dataverse-dualwrite

So one option is to remove the Dual Write solutions installed in that environment.

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/uninstall-solutions

As mentioned, for Dynamics 365 Notes we got the below error, for which we need to raise a Support Ticket.

Luckily in our case, we had just created the environment a few days back, so had the option to Reset it. So we eventually took the path of resetting the environment with the Project Operations app selected.

Hope it helps..

Advertisements

Fix – This portal has multiple website bindings, which will cause issues with the portal (Power Pages)


Recently we updated the Site Details like the Site Name and Site URL of a particular Website (Power Platform Admin Center >> Resources >> Dynamics
365
apps, Select the Website and choose Manage)

After which we started getting the below error message –

“Error: This portal has multiple website bindings. which will cause issues with the portal. Delete extra website binding records for this portal in the attached Dynamics 365 Organization.”

This was caused because of multiple active website binding records.

To fix it, open the corresponding Portal Management
app of the corresponding Dataverse / CRM environment.

Navigate to Website >> Website Bindings

Delete or deactivate the extra binding records leaving just one Active record to fix this issue.

Hope this helps..

Advertisements

Enable / Disable (turn on / turn off) multiple cloud flows – Dataverse


Within the Maker Portal, we can only turn on / turn off one cloud flow at a time.

If we select multiple flows, we do not see that option.

Here we can make use of XrmToolBox’s Bulk Data Update plugin.

Get the required cloud flows to be disabled from the Workflow table having Category as Modern Flow.

Select the required cloud flows (or all flows returned), navigate to the Set State tab, and set the appropriate Status and click on Update records.

Or, from the Advanced Find also we can look for the Processes with the Category as the Modern Flow

And use Activate and Deactivate options (here for a few flows we faced issues while trying to activate even though we used the proper account for doing so)

Hope it helps..

Advertisements

Failed deleting solution. Solution dependencies exist, cannot uninstall / Remove unmanaged layer– Dynamics 365 / Dataverse


Recently while trying to delete a managed solution from one of our environments, we got the below error.


Failed deleting solution MainManagedSolution. Solution dependencies exist, cannot uninstall.

Click on View Dependencies.


Click on See solution layers


We can see Active Contacts has a dependency on the custom column, and it is part of an unmanaged layer (default solution) in this case.

Click on Remove active customizations

This will delete the unmanaged customization done in the Active Contact view in the environment. (removes the custom column from the Active Contact view)


Trying again, this time we can delete the Managed solution.

Get more details – Remove an unmanaged layer

Hope it helps..

Advertisements

Write an email (Copilot) in Dynamics 365 Customer Service


Using the Write an email functionality of Copilot in Dynamics 365 Customer Service, the agents can quickly create responses, which they can use for their email.

To enable it navigate to Customer Service admin center >> Agent experience >> Productivity >> Copilot help pane (Manage)

Check the For email option and save.

We can see the Write an email tab added to the Copilot help pane. It gets enabled in the context of an email record.

As soon as we open an email, we get predefined prompts like Suggest a call, Request more information along with the option to describe what exactly we are looking for.

Here we have selected Resolve the customer’s problem prompt.

As we have an Average order shipment time case record associated with the email, the copilot refers to the existing published Knowledge base articles specific to shipment to generate the appropriate response.

The corresponding knowledge article.

The agent can click on Copy to copy the response to an email, can review and edit it further (if required), or can start over and can select a different prompt to generate a different response.

Get more details here

Hope it helps..

Advertisements

Ask a Question (Copilot) in Dynamics 365 Customer Service


Agents can use the “Ask a question” functionality from within the Copilot help pane, to ask questions for quick resolution of the case.

To enable it navigate to Customer Service admin center >> Agent Experience >> Productivity >> Copilot help pane (preview) (Manage)

Check Make Copilot available to agents option and save the settings.

Back in Customer Service Hub (or any other apps where we have Copilot enabled), we can see the Ask a Question tab in the Copilot help pane.

We can then post our questions, specific to the case in hand.

Below we can see we have asked for any policy about defective items and the response we received.

It also mentions the source from which it got the response.

The copilot uses the internal (Published) Knowledge Articles to generate the responses.

If we go back to the setting where we enabled the Copilot help pane, we can see the message at the top about the knowledge base articles being used. Apart from the internal Knowledge base, a maximum of 5 trusted domains can be configured and can be used to produce the result.

Get all the details here

Hope it helps.. 

Advertisements