Equisys technical notes

Technical guidance, explanations and fixes for our products

FIX: Unable to run the Zetadocs SharePoint Extensions PowerShell script



This Zetadocs technical note applies to:

  • Zetadocs SharePoint Extensions


When you run the Zetadocs SharePoint Extensions.ps1 you see the following types of issues:

  • The PowerShell script opens and then quickly displays lines of red text before eventually closing
  • Error messages that say:
    • Cannot find type : Verify that the assembly containing this type is loaded
    • info: You cannot call a method on a null-valued expression
  • Have errors saying you do not have the required permissions


These types of errors are caused by the script not being able to run correctly or issues with accessing the SharePoint site.


Please run through the below steps to ensure that the script is able to run

  1. Please ensure you have the correct permissions on the relevent SharePoint site. By default a global SharePoint Admin will not have admin rights over individual sites, but will be able to grant theirselves Admin rights on that site.
    1. Log into the SharePoint Admin site
    2. Find the required site and add the required user as an Admin on the site
  2. Make sure you have downloaded the latest version of the script from our website, via the Technical support software updates page.
  3. When you have the script, make sure you run this from a local drive rather than a network drive.
  4. Open PowerShell as an Administrator and perform the following actions:
    1. Set the execution policy to 'Remote Signed' from the PowerShell prompt:
      Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine. Please see 'Set-ExecutionPolicy (Microsoft.PowerShell.Security) - PowerShell | Microsoft Learn' for more information about this
    2. Change the location you are running from to the same location of the script, using the cd command:
      1. cd "C:\temp\Zetadocs SharePoint Extensions\"
    3. Run the 'Zetadocs SharePoint Extensions' by typing 'Z' and then pressing tab until the 'Zetadocs SharePoint Extensions.ps1' script is shown
    4. Press Enter

Once all the above steps have been complete, re-run the Zetadocs SharePoint Extensions.ps1 script and this should now work.

If you are still having issues, please reach out to our support team for further assistance.

Last updated: 26th January 2023 (BB/NT) 

Keywords: Zetadocs SharePoint Extensions, Zetadocs Capture

Equisys Logo, Document Management and Expense Management for Business Central

Replaced by script