Question

I have created a flow.

enter image description here

What I'm trying to do is, create item in SharePoint when MS-CRM Account records is updated. But, I'm getting an error. The expression is not valid (URI).

enter image description here

I'm Attaching a screenshot of my list name(customer):

enter image description here

I have referred above link:https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flow-using-a-rest-api

Please help me to resolve this issue.

Was it helpful?

Solution

Please use apostrophe instead of double quotes in the URI.

OTHER TIPS

I am not sure why you are using SharePoint REST API to create list item in SharePoint.

I will suggest you to use Create item action to create a list item in SharePoint.

For resolving your error:

You need to use your endpoint like below in Uri:

_api/web/lists/getbytitle('customer')/items

Additional: Refer this and this to know how you can configure create item action in flow.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top