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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Create a case based on email received.

(0) ShareShare
ReportReport
Posted on by 471

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.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at

    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.

  • VermaMC Profile Picture
    471 on at

    Thanks, Martin.

    Is there any article that you could suggest which I can use it for reference?

  • Martin Dráb Profile Picture
    238,828 Most Valuable Professional on at

    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.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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

    www.youtube.com/watch

  • VermaMC Profile Picture
    471 on at

    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.

    Screenshot-2023_2D00_02_2D00_27-144604.jpg

    pastedimage1677489489227v1.png

    Now, I have two issues.

    1) I am getting the below error when I run it.

    pastedimage1677489587780v2.png

    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.

    Regards,

    Verma MC

  • VermaMC Profile Picture
    471 on at

    I was able to resolve Point 1. There was some issue in the data entity and fixed it. However, Point 2 still persists

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

  • Suggested answer
    VermaMC Profile Picture
    471 on at

    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.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    That's a better solution, Thanks for sharing it Verma.

  • AD-04070934-0 Profile Picture
    2 on at
    Hi, how did you fix point one - you mentioned there was some issue in the data entity and you fixed it?  What issue was there? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 517 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 440

#3
Adis Profile Picture

Adis 266 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans