Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Answered

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 

 

  • Verified answer
    CS-24071844-0 Profile Picture
    CS-24071844-0 80 on at
    Re: Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

    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 

  • CS-24071844-0 Profile Picture
    CS-24071844-0 80 on at
    Re: Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

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

  • Gowri Halan Profile Picture
    Gowri Halan 262 on at
    Re: Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

    @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
    CS-24071844-0 80 on at
    Re: Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

    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?

  • Bipin D365 Profile Picture
    Bipin D365 971 on at
    Re: Dataflow: Error Code 0x80040203 - message: Changing security attributes is not allowed in stage 20 plugins. Flow runs fine in Dev Environment. Fails in Test.

    Hi @CarrieSperls ,

     

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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics