
Hi All,
I am facing the "Only owner can revoke access to the owner. CallerId: {callingUserId} OwnerId: {recordOwnerId}" business process error on Dynamics365 OnPrem version.
In the CRM tenant, we had Opportunity records that were shared with certain Teams.
Later on, these records were assigned to those teams, so that the owner of those Opportunity records became the Team themselves.
Now, when I try to do the following actions, I am presented the above error:
The calling user has System Admin rights but the CRM platform still does not allow me to 'unshare' the record with 'Team ABC' as 'Team ABC' is the record Owner.
Has anyone faced this issue? How did you achieve a work-around?
What I am currently planning to do, is delete all the records from the PrincipalObjectAccess table where the record is shared with the record Owner.
However, since this is a direct DB change, wanted to avoid this, if possible.
*This post is locked for comments
I have the same question (0)This is similar to the following post:
nishantrana.me/.../only-the-owner-of-an-object-can-revoke-the-owners-access-to-that-object
This might be a bug that has to be submitted on Microsoft Ideas. Can you try and see if you can reassign the record ownership to yourself (as a System Administrator), and the unshare the records from the team.
I am not sure if it will work or not, but definitely worth a try.
I would stay away from making changes to the database directly.