Notifications
Announcements
No record found.
Hi All,
I have got a requirement to create a new case in cases form in Dynamics 365 Finance and Operations when you receive an email and send a response with the case id to sender. When I was researching about it, I found all the articles are related to CRM. So, I need some help to configure it in D365FO. I am using PU55.
Regards,
Verma MC.
You could have a Power Automate flow or a Logic Apps running when an email is received and create a case in F&O through the F&O connector.
Thanks, Martin.
Is there any article that you could suggest which I can use it for reference?
Yes, I suppose that articles exist. Try a web search engine to find them.
I also believe that there are some Power Automate templates using an incoming email as the trigger.
Hi Verma, You can check below tutorials on reading email content and attachments using power automate and then connect to Data entity and create a record and send email to sender.
www.youtube.com/watch
Thanks for the responses.
The cases data entity was not public. So, I duplicated it to made the new one public.
I have created the below flow.
Now, I have two issues.
1) I am getting the below error when I run it.
2) I wanted the CaseId to be auto generated with out manually providing it in the flow. I saw few articles where the field should be empty if we expect the number sequence should get triggered. But, in my case the flow itself is not saving if the value is not provided throwing error that it is mandatory.
I am quite stuck with this stuff. So, any guidance would be of great help.
Verma MC
I was able to resolve Point 1. There was some issue in the data entity and fixed it. However, Point 2 still persists
Hi Verma, not sure if there is clean way to address the second issue but there is a work around that can work.
Create NoYes enum field IsCreatedFromAutomate and you can give any value for Case Id in power automate. Write code at table insert that if this enum is Yes then CaseId will be next number from the number sequence.
I would still suggest to check if there is another way before implementing this workaround.
Thanks, Mohit.
I tried it a little bit different approach.
I have made the caseID field non-mandatory at the data entity level and there was already some standard code to automatically create the case id with number sequence in data entity methods. Then, I left the case ID field empty at the power automate flow and it worked.
Thanks for all the suggestions by you and Martin.
That's a better solution, Thanks for sharing it Verma.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 559 Most Valuable Professional
André Arnaud de Cal... 464 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader