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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Field Level Security Issue on Entity Key

(0) ShareShare
ReportReport
Posted on by
I am currently trying to update the Field Level Security on a field for Account Numbers (String, max length 20) so that only Admins and Users in a specific group can make the update.
I am currently running into an error when I attempt to save the field after updating the Field Security to Yes, that states:
/Cannot Secure Entity Key Attribute
The field Account Number is not securable as it is part of entity keys ( AccountNumber_Key ). Please remove the field from all entity keys to make it securable./
 
We are wondering as a team if this is something in the design of Dynamics, and if there is any suggested course of action to lock down the field from all users except those in a single team.
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Hi Partner,
    Account Number?
    It should be one common field, and i can enable it successfully, without any errors.
    Check that you have set the alternate key on the account entity and selected the account number field.
    To verify, I did the following test in another environment:
    1)Create one Key, and select 'Account Number' field
    2)Enable field security and encounter the same error as you did:
    So, field security cannot be enabled if the field has been selected as alternate key.

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans