Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Usage of email of a custom entity in dataverse create email

Posted on by 45

Hi!

I created a custom entity with an email field. Now i want to create a new email via dataverse (add new row to e-mail entity) in a flow. I set the to-field to name-of-the-entity/id-of-entry-holding-the-email-address. This step fails with "ODataUnrecognizedPathException". The rest of the flow is working well, because if i set the to-field to systemusers/id-of-a-systemuser everything is working well.

What am i doing wrong?

Help needed!

Thank you!

  • Sagar Negi Profile Picture
    Sagar Negi 10 on at
    RE: Usage of email of a custom entity in dataverse create email

    The "To", "CC", "BCC" field works for system user, contact, queue type of records by default.

    Try to enable it for your entity as well or create a lookup field using "contact" entity and set this lookup field with the new contact record.

    In the new contact record, put the email address you want to send email to.


    pastedimage1674990335298v1.png

  • buzzi Profile Picture
    buzzi 45 on at
    RE: Usage of email of a custom entity in dataverse create email

    I checked this. A new entity, where i checked this option and let the system create the e-mail-field, doesn't change anything. Again i get the ODataUnrecognizedPathException error when using entityname/id at the create e-mail activity.

    Anyone could help? Please? :)

  • buzzi Profile Picture
    buzzi 45 on at
    RE: Usage of email of a custom entity in dataverse create email

    Thank you for your reply!

    Screenshot-2023_2D00_01_2D00_27-130008.png

    I already checked this option. BUT i checked this option, AFTER i added the e-mail field to the entity. I already though about killing the whole entity, setting it up again, but without the e-mail field and check this option, so that the system adds the e-mail-field and maybe the system sets the right "connections"?

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Usage of email of a custom entity in dataverse create email

    Hi buzzi ,

    Please make sure this option is checked: pastedimage1674819107438v1.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans