Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Field security in CRM 2011

(0) ShareShare
ReportReport
Posted on by 2

Hi,

We are migrating an application from dynamics 2011 to dynamics 2016 v8.2

For contact we have an issue with the security on field level. The field is a custom field.

In 2016, one of our plugins throws an error because lack of permission due to field level security.

In 2011, the same functionality works fine.

As I don't have any experience with dynamics 2011, I was wondering if plugins were already taking into account the field level security or if this was added later and hence could explain the difference?

*This post is locked for comments

  • Verified answer
    Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: Field security in CRM 2011

    Btw, in teh security profile, we gave create/update permissions as the plugin transfers data from one system to another. However Read access is not given as the user is not allowed to see some of the data.

  • Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: Field security in CRM 2011

    The user has the same field security profile as in 2011.

    We asked the Original developer what he had done in 2011 to make it work despite the field security. He says he had done nothing special.

    I don't understand how it can work in 2011, but I have no experience in that version.

    We fixed the issue as most suggested by adapting the field security profile and give extra permissions.

    Thanks all for your feedback.

    (I still feel a bit frustrated not understanding why t does work in 2011)

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Field security in CRM 2011

    Hi Birgit,

    It is possible that the users/teams that are assigned to the Field Security Profile in your 2011 environment are not assigned to the Field Security Profile in your 365 environment.

    Have System Administrator user compare Users and Teams between both environments.

    Hope this helps.

  • Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: Field security in CRM 2011

    The whole system is currently working in CRM 2011 with the same field security profile as in CRM 2016. These profiles are set up, and we cannot (are not allowed) change them.

    The error specifies : user does not have Update permissions for the dos_abc attribute of entity contact.

    So, it clearly points to FLS. But in that case, I would think we had the same in 2011.

    I see in the pre-update that this attribute is removed in the plugin, and added again within the plugin.

    I found following article, but not sure if I understand correctly that in 2011, the FLS is removed but removing and re-adding an attribute: stackoverflow.com/.../set-value-with-javascript-on-a-field-for-users-that-do-not-have-proper-field-lev

  • Suggested answer
    gdas Profile Picture
    gdas 50,089 on at
    RE: Field security in CRM 2011

    Hi,

    Create one new field level security profile in CRM 2016 . In the created profile you can see all the secured fields .  Give the access of the particular field and then the user in the field security profile.

    You can refer below article how to create profile.

    www.preact.co.uk/.../updated-field-security-profiles-dynamics-crm-2015

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,205 on at
    RE: Field security in CRM 2011

    Hi RD,

    The user who is calling the plugin, having the read permission of that field?? if not please try enabling field level security for that user and try if it resolve's your issue.

    Best Regards,

    Shahbaaz

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Field security in CRM 2011

    Hi Birgit,

    Field Level Security was introduced in Dynamics CRM 2011, so it is possible that this was already implemented earlier.

    It is possible that the logic was there earlier, but can you please provide additional details about the error that you are getting, such as the exact message and possibly the log file.

    That will help troubleshoot the exact issue.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans