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

Community site session details

Session Id : guxSvWAHGg7iYuWXKenQMR
Power Automate - Building Flows
Unanswered

"code": "0x80048d19" "message": "Error identified in Payload provided by the user for Entity - Dynamics Send E-mail From Template

Like (0) ShareShare
ReportReport
Posted on 30 May 2024 14:39:46 by 27

Hello, we are in the process of building D365 CRM. I'm trying to set up an automated e-mail flow.

Trigger: When a row is added to Case table

Set Customer:

 
triggerBody()?['_customerid_value']


Get a row by ID -> GetCustomer
Table: Contacts
Row ID: Customer variable's value.

Sender e-mail: 

String
74fe1df2-7417-ef11-840a-000d3ab45aa0
hard coded id of Default e-mail address that's used to send e-mails

Template id: 
51a23b49-c81d-ef11-840a-0022489a2a85
String

baris2_0-1717079614080.png

 



{
 "apiId": "providers/Microsoft.Web/locations/westeurope/runtimes/europe-002/apis/commondataserviceforapps",
 "connectionReferenceName": "shared_commondataserviceforapps",
 "operationId": "PerformUnboundAction"
}

 

{
 "actionName": "SendEmailFromTemplate",
 "item/TemplateId": "51a23b49-c81d-ef11-840a-0022489a2a85",
 "item/Regarding": "incidents(CAS-01353-W4D6Y1)",
 "item/Target": {
 "subject": "",
 "description": "",
 "email_activity_parties": [
 {
 "partyid_systemuser@odata.bind": "/systemusers(74fe1df2-7417-ef11-840a-000d3ab45aa0)",
 "participationtypemask": 1
 },
 {
 "partyid_contact@odata.bind": "/contacts(dd283389-aa17-ef11-840a-000d3ab7cc41)",
 "participationtypemask": 2
 }
 ],
 "@odata.type": "Microsoft.Dynamics.CRM.email"
 }
}




{
 "error": {
 "code": "0x80048d19",
 "message": "Error identified in Payload provided by the user for Entity :'', For more information on this error please follow this help link https://go.microsoft.com/fwlink/?linkid=2195293 ----> InnerException : Microsoft.OData.ODataException: ')' or ',' expected at position 4 in '(CAS-01353-W4D6Y1)'.\r\n at Microsoft.OData.UriParser.FunctionCallParser.ParseArgumentListOrEntityKeyList(Action restoreAction)\r\n at Microsoft.OData.UriParser.SegmentArgumentParser.TryParseFromUri(String text, SegmentArgumentParser& instance, Boolean enableUriTemplateParsing)\r\n at Microsoft.OData.UriParser.SegmentKeyHandler.TryCreateKeySegmentFromParentheses(ODataPathSegment previous, KeySegment previousKeySegment, String parenthesisExpression, ODataUriResolver resolver, ODataPathSegment& keySegment, Boolean enableUriTemplateParsing)\r\n at Microsoft.OData.UriParser.ODataPathParser.TryBindKeyFromParentheses(String parenthesesSection)\r\n at Microsoft.OData.UriParser.ODataPathParser.TryCreateSegmentForNavigationSource(String identifier, String parenthesisExpression)\r\n at Microsoft.OData.UriParser.ODataPathParser.CreateFirstSegment(String segmentText)\r\n at Microsoft.OData.UriParser.ODataPathParser.ParsePath(ICollection`1 segments)\r\n at Microsoft.OData.UriParser.ODataPathFactory.BindPath(ICollection`1 segments, ODataUriParserConfiguration configuration)\r\n at Microsoft.OData.UriParser.ODataUriParser.Initialize()\r\n at Microsoft.Crm.Extensibility.OData.CrmEdmEntityReference.CreateCrmEdmEntityReference(Uri link, IEdmModel edmModel, CrmODataExecutionContext context, String operationName, EntitySetSegment& entitySetSegment)\r\n at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitiveData(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)\r\n at Microsoft.Crm.Extensibility.ODataV4.ODataParameterReaderExtensions.TryReadFlowPrimitive(ODataParameterReader oDataParameterReader, ODataDeserializerContext readContext, CrmEdmEntityObject& result)\r\n at Microsoft.Crm.Extensibility.ODataV4.CrmODataActionPayloadDeserializer.Read(ODataMessageReader messageReader, Type type, ODataDeserializerContext readContext)\r\n at System.Web.OData.Formatter.ODataMediaTypeFormatter.ReadFromStream(Type type, Stream readStream, HttpContent content, IFormatterLogger formatterLogger)."
 }
}

 

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2