Question / Problem:
What can cause an issue where the following export error occurs?
Export Error: Script #1 (Data Output) [5 Access to the path '\\<Share_Name>\<Folder_Name>\file.txt' is denied.]
Answer / Solution:
This issue can be caused by configuring the Export service to run using the Local System account which cannot access network shares.
To resolve this issue, configure the Export service to run using a domain account which has access to network shares.
If User Profiles is enabled, then that domain account needs to be a linked user or be a member of a linked group in User Profiles that has access to all the batch classes and modules.