web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    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.

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    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

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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

  • Birgit RD Profile Picture
    2 on at

    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
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    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
    2 on at

    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)

  • Verified answer
    Birgit RD Profile Picture
    2 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans