StorageGRID 11.6 storagegrid-ssoauth-azure.py script fails to run or returns error
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: []
}