Notifications
Announcements
Hi Experts,
I would like to know if it is possible to trigger power automate when we share record to a user/team.
I need to to trigger some logic after sharing the account record with user/team. If it is not possible can you please let me know any workarounds.
Thanks,
Bipin
Hi @bipinshan
As far as I know there is no trigger available on the sharing of a record in either legacy Workflow or Power Automate. I think you would need to do a plugin on this...
Hello @bipinshan,
There are 2 Options available.
1. Create a Field called Is Record Sharing(new_boolean) (Boolean --> Default to No), Create a Plugin to trigger on Sharing. Update the Created Value to Yes. Make the Flow to Trigger only on this Field ( USE SELECT COLUMNS (new_boolean)) and Filter Rows as (new_boolean eq 0) then at last of the flow change it back to NO.
2. Create a Webhook in Plugin and Call the Flow on Sharing https://d365demystified.com/2021/11/23/call-flow-from-webhooks-in-dynamics-365-crm-power-automate/
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com
Hi @dpoggemann ,
Thanks for your reply.
I know we can use plugin for this but the problem is I would like to external web service which cann't be possible from plugin. However the web service which I would like to call is already available as standard connector which I can use from Power automate.
I hope you get it.
Hello,
Check this post - https://missdynamicscrm.blogspot.com/2016/01/plugin-share-unshare-grant-access-revoke-access-crm-csharp.html
Hi @rampprakash ,
I really like below idea -
. Create a Field called Is Record Sharing(new_boolean) (Boolean --> Default to No), Create a Plugin to trigger on Sharing. Update the Created Value to Yes. Make the Flow to Trigger only on this Field ( USE SELECT COLUMNS (new_boolean)) and Filter Rows as (new_boolean eq 0) then at last of the flow change it back to NO.
But I have one concern though, what if multiple users are sharing the same records to multiple users. wouldn't it be create any problem . How Do we solve concurrency issue?
That was a perfect Question, then i think WebHook is the only Option from my end. Lets wait for Others comments too
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268