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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Only owner can revoke access to the owner: Plugin Exception

(0) ShareShare
ReportReport
Posted on by 232

Dear Communities,

We have account postupdate plugin which revoke share access from current owner and updating new owner and plugin running on callinguser context but we got the below exception Only owner can revoke access to the owner: (callinguser guid) and (recordownerid).

Please let me know how we can workaround this issue.

Thanks & Regards,

Dan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Dynamics365 Rocker Profile Picture
    7,755 on at
    RE: Only owner can revoke access to the owner: Plugin Exception

    Kindly run your plugin under Admin user context in place of calling user. To update it GoTo->Plugin registration tool->update plugin step

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Only owner can revoke access to the owner: Plugin Exception

    Hi There,

    This seems too be a bug in dynamics CRM. If you are running the plugin as admin - rather the calling user(please confirm that on the plugin step), it should work..

    as workaround what i can suggest it assign the record to calling user or admin then share is or unshare it accordingly.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans