web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataflow: Error Code 0...
Power Apps
Unanswered

Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

(0) ShareShare
ReportReport
Posted on by 80

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' 

Carrie_L_0-1668960213887.png

 

I am trying to avoid resetting my Test environment if possible. Any suggestions?

 

Thank you!!

@AhmedSalih 

 

I have the same question (0)
  • Bipin D365 Profile Picture
    971 on at

    Hi @CarrieSperls ,

     

    Change your business rule to set owner field instead of owning business unit (teams) field.

  • CS-24071844-0 Profile Picture
    80 on at

    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?

  • Gowri Halan Profile Picture
    262 on at

    @CarrieSperls Is it working when you deactivate your Business Rule? Also check for any other plugins registered on the entity.

  • CS-24071844-0 Profile Picture
    80 on at

    @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. 

  • Verified answer
    CS-24071844-0 Profile Picture
    80 on at

    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 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard