Hello,
After importing a solution to a Test environment (from Dev), I am getting the following error on a Dataflow:
Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins.
The flow runs fine in my Dev environment.
From what I have read, this may be due to business rules that I have set up to automatically assign records to Owning Business Units (Teams), based on values in another field.
In the Admin Center, I checked to see if there any Dynamics 365 apps that needed to be updated or installed. My Dev environment is up to date, but in my Test environment, there is an app that appears to be stuck 'installing'
I am trying to avoid resetting my Test environment if possible. Any suggestions?
Thank you!!
FINALLY got this fixed properly.
The business rule was to set the Owning Business Unit of a record based on another field (Site).
In my dataflow, I needed to first pull the records in my solution WITHOUT data in the Site field. Then, once the base records were created, run the flow again WITH data in the Site field (moving the update to post-create).
By flowing in the Site data after the records were created, the Business Rule ran flawlessly.
- I pulled in all
@gowrihalan04 I did not try deactivating the rule, but was able to get this to work after resetting the environment, cloning my Dev environment to Test and manually recreating the flow.
@CarrieSperls Is it working when you deactivate your Business Rule? Also check for any other plugins registered on the entity.
Hi @bipinshan,
Thank you for your suggestion! I tried but it did not work. The Connector Provider Anchor finished installing as well. Any other ideas?
Hi @CarrieSperls ,
Change your business rule to set owner field instead of owning business unit (teams) field.