web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Security Roles Conflict

(0) ShareShare
ReportReport
Posted on by 60

Hi, I have a problem after importing a solution to a production env. with only 3 security roles components that I have customized on a sandbox env. , there is a conflict and a strange behavior happened between the applied security roles.

please, How can I solve this ? 

  • Gustavo Longo Profile Picture
    Microsoft Employee on at

    Hello Mahmoud,

    Hope you are well.

    What exactly is the strange behavior across the security roles?

    Let us know more details, eventually provide us the expected and current behavior.

    Regards,

  • Mahmoud Amr Profile Picture
    60 on at

    Thank you Gustavo for your reply.

    The strange behavior is that : On creating a new "Work Order" and saving it, an error occurred with

    these details :-

    Error

    Exception Message: User with ID 7027fe38-f248-eb11-bb23-000d3ab31d26 does not have Create permissions for the msdyn_serviceaccount attribute in the msdyn_workorder entity. Count secured attributes in entity 11. User has 81 secured attribute privileges. callerAp=null

    ErrorCode: -2147158782

    HexErrorCode: 0x8004f502

    Activity Id: 8e6a0d84-36ae-47e4-a579-22a6c1a4eee4

    Although, We have assigned the "Account" to the organization level for all actions.

  • Verified answer
    Ali Khan Profile Picture
    1,380 on at

    I'd suggest checking two things:

    1. User's access on work order?

    2. Field security profiles assigned to the user?

    Please mark as verified if the answer is helpful.

    D365 Field Service articles, tips & tricks and feature reviews: https://akhan.me

    Beginners series to learn D365 Field Service: akhan.me/field-service-for-citizen-develope

  • AxaptaAmarSingh Profile Picture
    40 on at

    Thanks , that worked for me 

  • Dan Gittler - Dynamics Field Service Profile Picture
    Microsoft Employee on at

    Glad the issue is resolved! There are many security privileges granted through the out of the box Field Service security roles so I would do a thorough review to make sure those privileges are all present on your customized roles. Best practice is to clone the FS security roles (if you don't want to use the OOB roles) as a starting point and then modify and apply to your users so you don't miss anything. Keep in mind you can link multiple security profiles to a user so you can have a field service security role and other roles as well if it makes management easier for you

  • JRCummings Profile Picture
    5 on at

    Hello I am getting a similar message with Field Security Roles:

    User with ID b8253c56-3812-ec11-b6e6-000d3a4e0d98 does not have Create permissions for the msdyn_totalamount attribute in the msdyn_workorder entity. Count secured attributes in entity 11. User has 6 secured attribute privileges. callerAp=null

    I saw some different in other users with roles that this user who can't convert to a work order, but once I made the roles mirror each other, the user is still receiving the same message.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi JRCummings,

    The column security is enabled for the msdyn_totalamount column on the msdyn_workorder table.

    pastedimage1671136358876v1.png

    Navigate to the Field security profiles

    pastedimage1671136577020v2.png

    pastedimage1671136614556v3.png

    You can use existing profiles or create a new one for the user who is getting the error

    pastedimage1671136923822v4.png

    For more details: 

    1. https://learn.microsoft.com/en-us/power-platform/admin/field-level-security
    2. https://learn.microsoft.com/en-us/power-platform/admin/set-up-security-permissions-field

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
11manish Profile Picture

11manish 37 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 33

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans