Skip to main content

Notifications

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.
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Field Level Security Issue on Entity Key
    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans