Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

SecLib::AccessCheckEx2 failure

(0) ShareShare
ReportReport
Posted on by 90

Hi, I am getting the following error when I try to save an opportunity that is associated with an account. I can't figure out what permission is missing. Your help is greatly appreciated. 

Business Process Error

{"CallerPrincipal":{"PrincipalId":"5c487615-e219-df11-b63b-0019b9e7d4cd","Type":8,"IsUserPrincipal":true,"IsTeamPrincipal":false,"TypeName":"user"},"OwnerPrincipal":{"PrincipalId":"755910de-3ae6-e911-a812-000d3a4f13c0","Type":8,"IsUserPrincipal":true,"IsTeamPrincipal":false,"TypeName":"user"},"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Privileges":null,"Teams":null,"Roles":null},"ObjectId":"00000000-0000-0000-0000-000000000000","ObjectTypeCode":4200,"ObjectBusinessUnitId":"d961b2a9-fcc4-e911-b3b5-0050568777c7","OrganizationId":"3f1c0f98-3452-4f5b-a70f-ac501dc9d823","EntityName":"activitypointer","EntityOwnershipTypeMask":1,"EntityPrivileges":[{"Id":"091df793-fe5e-44d4-b4ca-7e3f580c4664","ObjectTypeCode":4200,"Name":"prvCreateActivity","AccessRight":32,"PrivilegeType":0,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"650c14fe-3521-45fe-a000-84138688e45d","ObjectTypeCode":4200,"Name":"prvReadActivity","AccessRight":1,"PrivilegeType":1,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"0dc8f72c-57d5-4b4d-8892-fe6aac0e4b81","ObjectTypeCode":4200,"Name":"prvWriteActivity","AccessRight":2,"PrivilegeType":2,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":true,"CanBeParentEntityReference":true},{"Id":"bb4457f2-9b45-4482-a95a-7adef25f388a","ObjectTypeCode":4200,"Name":"prvDeleteActivity","AccessRight":65536,"PrivilegeType":3,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":false,"CanBeParentEntityReference":false},{"Id":"8b99344e-ebbf-4f84-8438-e1e34d194de9","ObjectTypeCode":4200,"Name":"prvAssignActivity","AccessRight":524288,"PrivilegeType":4,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":false,"CanBeParentEntityReference":false},{"Id":"b5f2ee06-d359-4495-bbda-312aae1c6b1e","ObjectTypeCode":4200,"Name":"prvShareActivity","AccessRight":262144,"PrivilegeType":5,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":false,"CanBeParentEntityReference":false},{"Id":"78777c10-09ab-4326-b4c8-cf5729702937","ObjectTypeCode":4200,"Name":"prvAppendActivity","AccessRight":4,"PrivilegeType":6,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":false,"CanBeParentEntityReference":false},{"Id":"6ec8e901-d770-44c0-8f12-d07425f638bd","ObjectTypeCode":4200,"Name":"prvAppendToActivity","AccessRight":16,"PrivilegeType":7,"CanBeBasic":true,"CanBeLocal":true,"CanBeDeep":true,"CanBeGlobal":true,"CanBeEntityReference":false,"CanBeParentEntityReference":false}],"RightsToCheck":"CreateAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","Messages":["PrincipalHasOwnerPrincipalWithAtLeastBasicPrivilegeDepth = False","EntityUserGroupRights = None","MinimumPrivilegeDepthRequired = Local","GrantedRights = None","SecLib::AccessCheckEx2 failed. Owner Data: roleCount=4, privilegeCount=423, accessMode=0; Principal Data: roleCount=9, privilegeCount=468, accessMode=0"],"IsHsmEnabled":false,"IsOwnerDirectReport":false,"IsDirectReportInOwningTeam":false,"IsReadAccessFromIndirectReport":false}

  • Community Member Profile Picture
    on at
    RE: SecLib::AccessCheckEx2 failure

    Adding contacts seems really tricky for new users but they need to learn the authentic methods for contacts adding in MS contacts. I would like to read bestessays.com reviews before help in essay. I have used this method but it is not that fruitful so you need to check another method.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: SecLib::AccessCheckEx2 failure

    This could be because of user missing the security role, but the access is given by only BU Team with security role.

    community.dynamics.com/.../seclib-accesscheckex2-failed

    Try to give the basic security role to the user, also for the Opportunity owner.

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

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

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

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans