Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Importing Data From An Excel Spreadsheet and Updating/Creating Records In Dynamics365 Based On An Autofilled GUID Field

I am a begineer with Power Automate and I've been tasked with creating a flow that every day will list all the rows in a OneDrive Excel Spreadsheet and check if a column's value matches the related field in Dynamics (The field and column will contain a GUID so it will be unique). If the value matches then the flow should update the Dynamics record's fields to match those in the spreadsheet (if any have changed) or if there is not a matching GUID in excel then create a new record in dynamics that contains all the data from Excel. I have tried many different options but I just can't get it right. If anyone could point me in the right direction that'd be fantastic.

Community Champion
Community Champion

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

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
Community Support


Hi @Toby_WR ,



Have you created a similar Flow? Are there any questions that we need to help you solve?


If so, please provide these details.


Best Regards,

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

Hi Barry,


Thank you for your reply, I have used the pre-made templates and changed them slightly so that two different flows are able to create records in excel from D365 and another that will update a records based on a GUID. This obviously won't work as it will also create new rows even if the GUID already exists in D365. My issue is 'separating' for lack of a better word, which records need to be created in excel and which needs to be updated based off of the GUID. I tried to make a flow with a condition within an apply to each within another apply to each and this doesn't work how I intended it to. I currently have a flow that will delete all rows in the table and just create new rows for all the records again which with over 30,000 records takes too long. If you could give me any advice it'd be greatly appreciated,


Toby WR

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,075)