Bulk Role Importer Tool - Unauthorized

Hello everyone, we have been using Bulk Role Importer tool for a long time. In the past year our company implemented ZScaler which has caused issues for us where we were getting SSL/certificate errors. Recently our environment variables for the cert.pem was removed. After getting it added back, I’m now getting the following 401 Unauthorized error. I created a new PAT to verify I had a good one and still received the error. Is there any other reason this would occur? My laptop was just updated to Windows 11 and tested again with the same error. Thanks much.

C:\Sailpoint\Bulk Role Importer Tool\Core Code>ruby roleimporter.rb
INFO : Role Importer Tool : --------------------------------------------------------------
INFO : Role Importer Tool : IdentityNow Bulk Role/Access Profile Importer
INFO : Role Importer Tool : --------------------------------------------------------------
INFO : Role Importer Tool : Version : 11.0.4
INFO : Role Importer Tool : Date : 2024-11-18
INFO : Role Importer Tool : Initial Author : Rakesh Kapoor (rakesh.kapoor@sailpoint.com)
INFO : Role Importer Tool : Heavily Modified : Christophe Chazeau (christophe.chazeau@sailpoint.com)
INFO : Role Importer Tool : Handling command line values (will override config file)
INFO : Role Importer Tool : --------------------------------------------------------------
INFO : Role Importer Tool : Reading configuration… ./config.json
INFO : Role Importer Tool : --------------------------------------------------------------
INFO : Role Importer Tool : Config Recap :
INFO : Role Importer Tool : URL : xxx.api.identitynow.com
INFO : Role Importer Tool : File : C:\Sailpoint\Bulk Role Importer Tool\Core Code\Asana - Delimited Test Access Profiles.csv
INFO : Role Importer Tool : --------------------------------------------------------------
ERROR : Role Importer Tool : Failure : Retrieved Access Token failed with message UnAuthorized (401)
INFO : Role Importer Tool : Authenticating to IdentityNow…
INFO : Role Importer Tool : --------------------------------------------------------------
Authentication Failed: Unauthorized.
INFO : Role Importer Tool : Getting List of Sources, every ‘#’ is 250 sources : ERROR : Role Importer Tool : Unable to retrieve Source list, error is : UnAuthorized (401)

Please consider addressing the following when creating your topic:

  • What have you tried?
  • What errors did you face (share screenshots)?
  • Share the details of your efforts (code / search query, workflow json etc.)?
  • What is the result you are getting and what were you expecting?

@RArroyo

What level of permission is granted. Check if scope:all is granted.

Hi Manish, Yes, it has full permissions - sp:scopes:all

I think this is related to zscaler. could you please check the same api call with the postman?

Hi Aman, thank you for the alternative test. I am not able to POST or PATCH anything, only GET. I also received the following error which points to a network issue/restriction. error: client network socket disconnected before secure TLS connection was established in postman

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.