Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

field level security - user does not have permission on create

(0) ShareShare
ReportReport
Posted on by 68
I have a twoOption Field (y/n - default value n) on a custom entity secured with field level security.
If I create this entity with a user who doesn't have this permission everything works fine on the form - the user doesn't see this field on the form. Also update works fine.
But if i create this entity via a workflowaction I get error: User with ID xxxx does not have Update permissions for the yyyyy attribute in the zzzzz entity. I don't touch this field in my code.
 
Am I missing something?
thx
©a-x-i
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    field level security - user does not have permission on create
    Hi,
     
    Based on the information you provided, I performed some tests.

    1. When a user does not have the Create permission and creates a custom entity record using a workflow, no error is reported but the workflow will not work.
    2. If a user does not have the Update permission and uses a workflow to update a custom entity record, no error is reported but the workflow will not work.
     
    Therefore, in order to creating or updating the custom entity record, you need to have the Create or Update permission to the twoOption Field.
     
    Best Regards,
    Dengliang Li
     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans