Attach file from Sharepoint online

  • 11 April 2022
  • 1 reply
  • 12 views

Badge +1

Hi 

 

We errors like these when attaching a file to for example a send mail action in our on-premise Nintex workflow. Service account has access but it still fails. we get:

 

System.IO.FileNotFoundException: The Web application at https://<tenant>.sharepoint.com/HR/Documents/Preboarding%20-%20attachments/Danmark/Dansk%20Sundhedssikring.pdf could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

 

Any ideas?


1 reply

Userlevel 6
Badge +22
Hi,

Unfortunately what you are trying to achieve is not possible.
The file attachment either needs to be in the current SharePoint environment or web facing. In this case the file is hosted external and needs credentials so it cannot be used.

As a workaround you could download the file to the on-premise environment using the Office 365 download file action and then attach it to the Send Notification action.

Reply