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

Unable to Save Case due to OOB plugin

(0) ShareShare
ReportReport
Posted on by 55

Hi,

While saving a record on the Case entity, getting an error of OOB plugins after saving the case. I have checked entitlements are also off.

Security Role has User-level write access for the case entity and If I changed the write access to BU level it is working, but due to security issues we can't provide BU-level write access.

[Microsoft.Dynamics.Service.Plugins: Microsoft.Dynamics.Service.Plugins.PostOperationIncidentCreateEntitlement]
[8fbadfbe-c104-e711-80ca-02155dc812c3: Post-operation create an entitlement for the incident]

Principal with id 5a0a62e3-6f64-ec11-9131-00155d01d542 does not have WriteAccess right(s) for record 

Regards,

Shoaib

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Shoaib,

    It seems that the OOB plugin tries to update the record that the user or team with mentioned Id doesn't have privileges to.

    Do you have anything else in the error log for a better understanding of which privileges should be tuned to make it work?

  • Suggested answer
    ankit_singhal Profile Picture
    560 on at

    Try with admin access once. if it working fine then there is some issue with user access then you need to update security role accordingly

  • ShoaibKhan Profile Picture
    55 on at

    Hi Andrew,

    Thanks for your reply, Please find the log file.

    Exception Message: Principal with id 5a0a62e3-6f64-ec11-9131-00155d01d542 does not have WriteAccess right(s) for record with id acaa22b8-e7b1-4c04-9ca7-81f845b62d1f of entity incident. Details: {"CallerPrincipal":{"PrincipalId":"5a0a62e3-6f64-ec11-9131-00155d01d542","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"fd54b858-0f64-ec11-9131-00155d01d542","Type":9,"IsUserPrincipal":false},"ObjectId":"acaa22b8-e7b1-4c04-9ca7-81f845b62d1f","ObjectTypeCode":112,"EntityName":"incident","ObjectBusinessUnitId":"ea1f12a5-6237-e911-90f0-00155d5de174","RightsToCheck":"WriteAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["BasicMinimumPrivilegeDepthRequired = None","EntityUserGroupRights = None","LocalMinimumPrivilegeDepthRequiredRights = WriteAccess","SecLib::AccessCheckEx2 failed. Owner Data: teamType=0, privilegeCount=807; Principal Data: roleCount=3, privilegeCount=810, accessMode=0"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null,"AccessOrigin":null}

  • ShoaibKhan Profile Picture
    55 on at

    Hi Ankit,

    It is working fine with Admin Access. but we can not give more than User Level Access to the user

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 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans