Skip to main content
NetApp Knowledge Base

StorageGRID 11.6 storagegrid-ssoauth-azure.py script fails to run or returns error

Views:
213
Visibility:
Public
Votes:
1
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

The storagegrid-ssoauth-azure.py script in StorageGRID 11.6.0

Issue

If you have configured and enabled single sign-on (SSO) and you use Azure as the SSO provider, you can use the storagegrid-ssoauth-azure.py script to obtain an authentication token that is valid for the Grid Management API or the Tenant Management API.

When you run the script, the following error message appears after you enter the password:

internal/modules/cjs/loader.js:892
  throw err;
  ^

Error: Cannot find module 'C:\Users\username\Documents\azure_sso\tc10\storagegrid-azure-ssoauth.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.