In AWS R3 M16 Pre-ship environment , when I am trying to use sdutil to list the subproject in tenant, I am getting the error.
python sdutil ls sd://osdu --idtoken=%ID_TOKEN% [401] {"message":"The user is not authorized to perform this action. Invalid token.","status":401,"reason":"Access denied"} Steps type sdlib\config.yaml
***************************************************************************
Copyright 2017-2019, Schlumberger
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
***************************************************************************
seistore: service: '{"aws": {"env" : {"url": "https://r3m16-ue1.preshiptesting.osdu.aws/api/seismic-store/v3", "appkey": "xx", "ssl_verify": true}}}' auth_provider: oauth2: '{"provider":"any","authorize_url":"any","authorize_params":"any","access_token_url":"any","access_token_params":"any","refresh_token_url":"any","refresh_token_params":"any","open_id_url":"any","scope":"any","redirect_url": "any"}'
virtualenv sdutil-env sdutil-env\scripts\activate.bat set OAUTH2_CLIENT_ID=test set OAUTH2_CLIENT_SECRET=test set OAUTH2_CLIENT_REDIRECT_URL=https://test/auth/callback python sdutil config init Tried with ID_TOKEN being set with and without double quotes "" set ID_TOKEN="eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJsTFluRU1KUlBfOVBWeVdTdmZkdlNva2VmUlEtQ0k2dE5TbGpOZjh4VDlvIn0.eyJleHAiOjE2NzczMDE4NzEsImlhdCI6MTY3NzI4MDI3MSwianRpIjoiNDgyMDJlYzctMDk5My00NjEyLTgyZGYtNTE5N2UxNzZmNmU1IiwiaXNzIjoiaHR0cHM6Ly9rZXljbG9hay1vc2R1Lm9kaS1vZy1vc2R1LWJhOGUzOGQ0YzAxMWQ2MjczNzlhZjFhNDI4MGM0ZTM1LTAwMDAudXMtc291dGguY29udGFpbmVycy5hcHBkb21haW4uY2xvdWQvYXV0aC9yZWFsbXMvT1NEVSIsInN1YiI6IjZlMmIxMDFjLWIyMjMtNDYwNi05YzMxLWVhZDg0YzBhMDVlMCIsInR5cCI6IkJlYXJlciIsImF6cCI6Im9zZHUtbG9naW4iLCJzZXNzaW9uX3N0YXRlIjoiMDZmNGEzZjktMDBlYy00NGRhLWFmMzItNmI2NjgxM2VlZWFiIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJkZWZhdWx0LXJvbGVzLW9zZHUiXX0sInNjb3BlIjoib3BlbmlkIHByb2ZpbGUgZW1haWwiLCJzaWQiOiIwNmY0YTNmOS0wMGVjLTQ0ZGEtYWYzMi02YjY2ODEzZWVlYWIiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsIm5hbWUiOiJwcmVzaGlwdGVhbWEgb3Blbmdyb3VwIiwicHJlZmVycmVkX3VzZXJuYW1lIjoicHJlc2hpcHRlYW1hIiwiZ2l2ZW5fbmFtZSI6InByZXNoaXB0ZWFtYSIsImZhbWlseV9uYW1lIjoib3Blbmdyb3VwIiwiZW1haWwiOiJwcmVzaGlwdGVhbWFAb3NkdS5vcGVuZ3JvdXAub3JnIn0.Yu1M62p3yGf9As7dGh1HM5jZOZCJzUbyTCJ2pJPuf0Mz8uo9d7zRIY9lmj150N-oNF5GxYQhwcQAf6GBxgvSFbneaKXq-Kl5-hg7VnRgcHHY6iYPc1mvRF7lUVGIx1LhXtmtLgJsBSAHuPdQHOIRp1_riGA9AXA8lztGwxGgBy9huPcV-ORaLOyxCgWtd-rcIqIjknR5YE-5M72S-Gcnhxs8LYl0L9nxg7NnFugsDxMShIrtErj1mOQAAac8YuNX4z6_OGfSl6RhlJFpy04Qr7GJBOIMIhFP379scq2W3kr-UzI1ksuUoEC93Q9Wo5TtotIysAWu-8Z9bxyCKtpQWQ" python sdutil ls sd://osdu --idtoken=%ID_TOKEN% [401] {"message":"The user is not authorized to perform this action. Invalid token.","status":401,"reason":"Access denied"} Please note: When I execute the same steps in R3 M15 Preship environment, it works fine.