Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

Email from linked mailbox was not transferred to case (Email to Case process)

(0) ShareShare
ReportReport
Posted on by 77
Hello all,
I currently have the following problem and need your input:

We have several shared mailboxes linked to our CRM and an Email to Case process / Power Automate flow behind it. Every incoming email into one of the mailboxes is read by the CRM and either assigned to an existing case if the CRM token is in the subject or a new case is created.

We have received an email in one of the shared mailboxes which is also available in the CRM as an email but has not been assigned to a case by the email to case process. In the corresponding Power Automate Flow no case is visible at the time of the email receipt. Also no process that resulted in an error.

Can anyone of you explain why an email arrives in a connected mailbox but is not captured by the Email to Case process?

Many greetings and thanks in advance.
  • MichaelFo96 Profile Picture
    77 on at
    Email from linked mailbox was not transferred to case (Email to Case process)
    Hello RudyZhang,
     
    thank you very much for testing. 
     
    Please find below our Power Automate steps:
     
     
    Value Set Contact = concat('contacts(', triggerOutputs()?['body/_emailsender_value'], ')')
    Value Set Account as Customer = if(equals(outputs('Retrieve_sender_contact')?['body/_parentcustomerid_value@Microsoft.Dynamics.CRM.lookuplogicalname'],'account'),concat('accounts(',outputs('Retrieve_sender_contact')?['body/_parentcustomerid_value'],')'),outputs('Retrieve_sender_contact')?['body/@odata.id'])
    Value Set parent customer of sender as customer = concat('accounts(',triggerOutputs()?['body/_emailsender_value'], ')')
     
    Customer (Accounts) =  if(startsWith(variables('Customer from email sender'),'accounts'),variables('Customer from email sender'),string(''))
    Customer (Contacts) =  if(contains(variables('Customer from email sender'),'contacts'),variables('Customer from email sender'),string(''))
     
    Primary Contact (Contacts) =  if(contains(variables('Customer from email sender'),triggerOutputs()?['body/_emailsender_value']),string(''),concat('contacts(',triggerOutputs()?['body/_emailsender_value'], ')'))
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Email from linked mailbox was not transferred to case (Email to Case process)
    Hi,
     
    Based on your description, our team has tried to reproduce your actions, including but not limited to creating a shared mailbox, creating a queue, adding a shared mail, sending a test email, and so on, but in the end, we were unable to reproduce your error.


     
    Since your mailbox is receiving emails but no cases are being created, it is possible that there is an error in one of your Power Automate steps that is not creating cases based on the emails.
     
    So, could you please show us the exact steps of your power automate that you use to convert emails into cases? This will help us to quickly pinpoint your problem.
     
    If you don't think the problem is with power automate, you can refer to the official documentation below, which lists some common reasons why emails are not converted to cases.
    Incoming email isn't converted to a case - Dynamics 365 Customer Service | Microsoft Learn
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,886 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,766 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans