Error while running Export Library items job via Automation services

Error while running Export Library items job via Automation services

book

Article ID: KB0075310

calendar_today

Updated On:

Products Versions
Spotfire Automation Services 7.5 and higher

Description

Error while running the Export Library items using Automation services 
========================

Export Library Items' failed with: Spotfire.Dxp.Framework.Library.LibraryException: You do not have sufficient privileges for this action. ---> Spotfire.Dxp.Services.Library.LibraryServiceException: You do not have sufficient privileges for this action. ---> System.Web.Services.Protocols.SoapException: You do not have sufficient privileges for this action. 
=========================

Resolution

By default all the Automation Services jobs are executed using the "Automationservice@spotfiresystem" user.

This user, by default, does not have Library Administrator permission and to Export a library item user needs to be a member of Library Administrator group
To resolve, Add the "AutomationService@spotfiresystem" user to the Library Administrator group 

Below are the steps to add user to a group

  1. Log in to Spotfire Server and click Users & Groups.

  2. Under Select a category, select Users.

  3. Highlight the name of the user that you want to add to groups.

  4. In the Groups pane on the right, click Add.

  5. In the Select groups for user to join dialog, select the check box next to the groups to which you want to add the user.

  6. Click Save

Issue/Introduction

Error "Export Library Items' failed with: Spotfire.Dxp.Framework.Library.LibraryException: You do not have sufficient privileges for this action. ---> Spotfire.Dxp.Services.Library.LibraryServiceException: You do not have sufficient privileges for this action. ---> System.Web.Services.Protocols.SoapException: You do not have sufficient privileges for this action. "

Additional Information

https://docs.tibco.com/pub/spotfire_server/10.3.9/doc/html/TIB_sfire_server_tsas_admin_help/GUID-3FEDB183-C8E6-4B4F-916E-B86ABF755A48.html