cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error when uploading a lead into CRM Dynamics 365 using Common Data Service

Current Flow goal is to take an email that comes into my website and convert that into a lead in CRM.  The Flow works correctly until it comes to the creation of the lead.  It seems to be one field titled "Lead Source" that is creating the error.  The field is required when someone is putting the Lead in manually and contains a drop down where the user selects from a list of values.  The value I place in that field is one of those values from the list but an error is still created.  The example text that I place is this field is Website and the error I receive is:        ')' or ',' expected at position 5 in '(Website)'.  Whenever I add the characters mentioned to create:    '(Website)'    I received a "Bad Request - Error in query syntax." error.  I'm not exactly sure what the issue is or if I'm even going about this correctly.  Any help would be greatly appreciated. 

10 REPLIES 10
abm
Super User
Super User

Hi @Anonymous 

 

Could you please post a screen shot of your flow?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

kthernandez_0-1597268964844.png

 

kthernandez_1-1597269003902.png

 

 

 

Hi @Anonymous 

 

Thanks for your immediate reply.

 

Could you please show me the mappings of the lead source under the create record step?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

Yeah no problem, Here ya go!

 

kthernandez_0-1597270984960.png

 

Hi @Anonymous 

 

Below is the out of the box lead source lists. Looks like you have a custom one which is called ABS Group. Is this exists in your drop down lists?

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

Yes that currently exists. It was created by our CRM Admin. 

abm
Super User
Super User

Hi @Anonymous 

 

Where you mapping the (website) here which you mentioned earlier?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Anonymous
Not applicable

Yes correct but in the screen shots it's ABS Group

Anonymous
Not applicable

Hey @abm any idea on a potential solution?

Hi @Anonymous 

 

I could help you via screen share. I need to look into the mapping and more understanding of the CDS data you have.

 

Let me know.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,773)