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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Power automate create email, add attachment from notes and send (Dynamics 365)

(0) ShareShare
ReportReport
Posted on by

Hi

I have an attachment in Notes on my timeline - a word document.

I need to create an email, add the attachment and then send the email in Power Automate to a team from a user (owner).

The 'To' field is from a team, The 'From' field is a User, both records are already added to the form on the entity record when created. 

It errors saying 'Relationship between activityparty and team doesn't exist'.

I have tried

teams(triggerOutputs()?['body/_ehl_ehlteam_value'])

and

systemusers(triggerOutputs()?['body/_ownerid_value'])

I dont have access to any other tools in Power Automate other than the Dataverse.

Is there an easy way to do this. 

Many thanks,

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    You can not actually send email to Team because team does not have any Email Address field.

    Please see below post for more information -

    community.dynamics.com/.../how-to-send-email-to-team

    Suggestion is to use Queue instead of Team.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • dsammied Profile Picture
    on at

    Hi, 

    I have updated the email to using the Queues

    Now my problem is the regarding entity, this is a custom entity and have notes and activity enabled.

    My error is 'Resource not found for the segment 'ehl_ehllicenceapplications' . '

    Any ideas?

    pastedimage1643020205090v1.png

  • dsammied Profile Picture
    on at

    I solved it, eventually, you have to add 'es' to make it plural when it ends in 's'

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Glad that it worked.

    Please mark my answer verified by clicking 'Yes' under 'Did this answer your question?'

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 38 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans