Advertisements

{Dynamics CRM 2015 Error} – Changing security attributes is not allowed in stage 20 plugins

Recently we upgraded from CRM 2013 SP1 to CRM 2015 version for our customer. We have upgraded to CRM 2015 on the first access (FA) version of 2015 that our customer had from Microsoft.

However after upgrading to CRM 2015 and doing a quick sanity check on the environment, we started getting the following error during creating of certain entities.

“Changing security attributes is not allowed in stage 20 plugins”.

The reason for this error is because in the pre-create of the plugins, we were changing the owner of the records to some teams based on some business logic. Hence we were setting the ownerid field in the pre-create plugin. the code was working fine with 2013 SP1. However it failed in CRM 2015.

Moving this code to post-create and executing the assign request resolved this issue. We have faced this issue with the First Access version. However moving this might be fixed in the RTM version of CRM 2015.

Hope this helps!

Advertisements

About Debajit
I am a Dynamics CRM Most Valuable Professional (MVP) with 10 years of experience in Microsoft .NET Technologies and 7 years of dedicated experience in Microsoft Dynamics CRM. I have worked with companies like Microsoft, SanDisk, PwC, TMF Group and have extensive experience of implementing complex CRM solutions from both offshore and client side. Currently the face of XrmForYou.com with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through XrmForYou.com Author of multiple tools on codeplex including the 'Role Based Views' and 'CRM-Sharepoint Metadata manager & Attachment Extractor' which are available for commercial use under XrmForYou.com For consulting/ training, drop me a note at info@xrmforyou.com or visit our website www.xrmforyou.com

2 Responses to {Dynamics CRM 2015 Error} – Changing security attributes is not allowed in stage 20 plugins

  1. Stephan Smith says:

    Good news: This issue is known and being addressed.

  2. Stephan Smith says:

    The solution is to move your ownership assignment to stage 10. You should be able to move your assignment back to stage 20 in the CRM Ara release.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: