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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting D365 Sequen...
Power Automate
Unanswered

Connecting D365 Sequence to leads using Power Automate

(0) ShareShare
ReportReport
Posted on by 12

Hi all,

I am having a hard time setting up the power automate connection between the new D365 sequences and leads/opportunities module.

 

Basically every time an opportunity is created (hence qualified) I want D365 CRM Sales to run a set of sequences. I have followed microsofts instructions here (Connect sequences using power automate) , but I keep getting errors:

 

 
  "code""0x0",
  "message""An error occurred while validating input parameters: Microsoft.OData.ODataException: A null value was found for the property named 'RegardingEntityId', which has the expected type 'Edm.String[Nullable=False]'. The expected type 'Edm.String[Nullable=False]' does not allow null values.\r\n"......
 
I am attempting to pass the OdataID from the opportunity trigger (which is successful) Looking at the trigger output it is showing that the trigger is providing the opportunity ID
nathanbetters19_0-1643222366435.png

 

its telling me that the entry is null

nathanbetters19_1-1643222448712.png

 

But as you can see I have the OdataID mapped

nathanbetters19_2-1643222511815.png

 

I also used the XML fetch to pull the other two entity ids, but since the regardingid is on a lead by lead basis I need to pull the variable.

 

I am relatively new to power automate so any help is greatly appreciated @PowerAutomate 

 
 
Categories:
I have the same question (0)
  • samoson Profile Picture
    4 on at

    Use the unique identifier of the record from the trigger (when a row is added, modified or deleted).

     

    If the entity name of the trigger is opportunity table, use the opportunity dynamic value from the trigger in your instance for the RegardingEntityId parameter for the unbound action.

     

    samoson_3-1715791570110.png

     

     

    If the entity name of the trigger is lead table, use the lead dynamic value from the trigger.

     

     

    samoson_4-1715791797335.png

     

    https://learn.microsoft.com/en-us/dynamics365/sales/connect-a-sequence-to-records#through-power-automate

    • RegardingEntityId: The unique identifier of the entity record that is to be connected to the sequence.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard