Add list item - Sharepoint Issue

Add List Item - Sharepoint Issue

  1. When i am running studio code to add list item by passing variable of sitename and site url, item is getting added to sharepoint list . I did these on my machine as well as bot runner machine too by installing studio on bot runner machine and running code from studio on bot runner machine.
  2. When the same code is published to orchestrator and runned in unattended, it is giving error as "Cannot find item configured with connection ` and identifier .

@chandresh_agarwal

As you have mentioned connection in your query, I suppose you are using integration service connector.

The connector with you tested and the one used in prod, is it different or same?

If different, does it have same permissions on SharePoint as to the tested connector? This would probably be access issue

It is same and have proper roles and permissions

Hi @chandresh_agarwal

Are you able to show your code where you have specified credentials for sharepoint?

What auth method are you using?

This issue you are facing arises from delegated/applications access.

You are only able to access sharepoint when running in attended mode, but unattended gives you error.

I am guessing you are using delegated permissions to access sharepoint, in that case, it wont work from orchestartor.

You would need applications permissions on sharepoint site to be able to run the process from orchestartor.

1 Like

Agree, similar situation I did face some time back with one of the microsoft product and this was the cause.

1 Like