Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Security Roles Conflict

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 ? 

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Security Roles Conflict

    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

  • JRCummings Profile Picture
    JRCummings 5 on at
    RE: Security Roles Conflict

    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.

  • RE: Security Roles Conflict

    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

  • AxaptaAmarSingh Profile Picture
    AxaptaAmarSingh 40 on at
    RE: Security Roles Conflict

    Thanks , that worked for me 

  • Verified answer
    Ali Khan Profile Picture
    Ali Khan 1,380 on at
    RE: Security Roles Conflict

    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

  • Mahmoud Amr Profile Picture
    Mahmoud Amr 60 on at
    RE: Security Roles Conflict

    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.

  • RE: Security Roles Conflict

    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,

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,316 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans