Upload the file to sharepoint to run the bot from UiPath assistant

.

. We tried to trigger the bots from UiPath assistant the bot is triggered successfully.

. However we found an strange like while triggering the bot from studio the file successfully uploading to SharePoint location.

. It is not uploading while triggering the bot with UiPath assistant..

Hi @Suresh_Rocky ,
I think its maybe because of the bot runs under a different user/context in UiPath Assistant than in Studio, so SharePoint access permissions or authentication are missing.

Thanks

@Suresh_Rocky

Can you show how you have developed the code and which activities are being used.

We have already check this users , both we have been using same users. And the authentication is there. Thank you

Hi @Suresh_Rocky

Since it works from Studio but not from UiPath Assistant, please check the SharePoint permissions and connection for the user running the Assistant. Also add a log before/after the upload activity to see if the upload step is being reached or failing.

@Suresh_Rocky

Welcome to the community

as a first step if its not throwing any error then try to add log messages before and after the activity so to understand if its running or not

ALso if any variables for locations or so are used try to log them as well

did you try creating a small process only to upload and run from assistant?

cheers

Hi @Suresh_Rocky,

Welcome to UiPath Community!

UiPath Integration Service connections are created and owned at either a personal level or a shared/tenant level within a folder.

When a process is packaged and triggered via Assistant, the robot executes as a machine-mapped robot account (or unattended service identity), not as you. If the SharePoint connection was created under your personal account and never explicitly shared with that folder/robot, the robot has no visibility into it.

To confirm and fix, go to Orchestrator → Integration Service → Connections and check the connection used by your SharePoint activity. Check its scope, it should show as folder-shared, not tied to an individual user. If it’s personal, recreate or re-share the connection at the folder level so any robot running in that folder can use it.

Also, verify that the version running via Assistant matches what you’re debugging in Studio.

Hope this helps!

Cheers!

Hi @Suresh_Rocky,

welcome to the UiPath Community! :waving_hand:

Since the process works correctly when run from UiPath Studio but fails when triggered through UiPath Assistant, please check the execution environment and user account.

  • Ensure UiPath Assistant is running the process using the expected robot/user account.
  • Check whether that account has the required permissions to access and upload files to SharePoint.
  • If you are using a local file path, make sure the file is available to the user/session in which the process runs.
  • Verify that the same input arguments and configuration are being used when running from Studio and Assistant.
  • Add logs or use Log Message activities around the SharePoint upload activity to identify whether an error or permission issue occurs.

Also, please share the error message from the Output panel or Orchestrator logs after running from UiPath Assistant. That will help identify the exact cause.

Hope this helps!