Power Automate: Create and attach Dataverse note or activity with an entity record through MS flow

There was a requirement where a note(annotation) will be created once an account is created in Dataverse. I have created a Microsoft flow to achieve this functionality.

Below is the screenshot of the flow:




It was not a difficult flow but I was getting below error in last step i.e, "Create a note and attach PDF"

Resource not found for the segment.

The reason for this error was assigning "Account id" in regarding:


To resolve the above error, I have set "accounts(Account)" in regarding and it worked. You can also use "/accounts(Account)".



Conclusion: Whenever you are creating a #Dataverse note or activity through #MSflow then use "entityname(entityid)" or "/entityname(entityid)" in regarding and don't forget to add suffix "S" in entityname.


Cheers,

Rocker



Comments

Popular posts from this blog

How to send Dataverse email through PowerAutomate

How to set privilege for Activity Attachment (activitymimeattachment) in Dynamics 365 or PowerApps