cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PAL
Level: Power Up

Dynamics CRM - trigger on record delete

I am moving out of CRM processes and into MS Flow using it for business rules in our CRM.

 

I have a flow created to trigger on Record deleted (Contact) in Dynamics, but it does not run. Other record based flows (created or updated) run fine. What am I missing?

Thx

Per

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Dynamics CRM - trigger on record delete

Hi @PAL ,

 

There is no work around for this. When flow gets deleted a dynamics record you won't be getting any details in subsequent flow actions.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

6 REPLIES 6
Super User
Super User

Re: Dynamics CRM - trigger on record delete

Hi @PAL ,

 

I just tried one and worked ok for me.

 

Do you have permission to delete the record? Most likely yes. Also check the Dynamics connector credentails? Is that user got permissions for delete? 

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

PAL
Level: Power Up

Re: Dynamics CRM - trigger on record delete

The connector runs with my account which is CRM admin. When I click "Permissions" (top right corner) it also says to include deletions. Weird...

 

Could mention that I tried this flow out in the Sandbox first, where it worked without problems.

Super User
Super User

Re: Dynamics CRM - trigger on record delete

Hi @PAL ,

 

Difficult to say what's causing the issue.

 

Try creating another flow and see whether that works. Disable the current one.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

Community Support Team
Community Support Team

Re: Dynamics CRM - trigger on record delete

Hi @PAL,

 

Could you share us the screenshots of your Flow run situation? The Flow doesn't run, it means the action delete record stocked? Have you checked the record whether it is deleted? 

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PAL
Level: Power Up

Re: Dynamics CRM - trigger on record delete

I just checked this again, after you reply and to my astonishment the has run this morning! Contacts are deleted continuously so why this suddenly kicked in I don't know.

 

Then I realised that I get the same problem as I used to have in the CRM processes, that once the Contact is deleted the data cannot be referenced. So the Contact data I want written in the excel file is already gone. Is there a way in Flow around this?

Super User
Super User

Re: Dynamics CRM - trigger on record delete

Hi @PAL ,

 

There is no work around for this. When flow gets deleted a dynamics record you won't be getting any details in subsequent flow actions.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 424 members 5,809 guests
Please welcome our newest community members: