Is there a way to upload users at workspace level instead of SharedSpace level(using Excel file) while using SSO.
For now Octane have a defect related to the permissions of create user REST call. After the defect will be fixed, it will be possible to create user at workspace level using the REST call https://admhelp.microfocus.com/octane/en/16.0.100-16.0.200/Online/Content/API/Create_a_User.htm
Since SSO performs authentication in the organizational Identity Provider rather than in the Octane itself, it is impossible to use a real user for the authentication in your REST client. Please create and use API key with the workspace administrator privileges and use it in the REST client.
A user should always be added at the sharedspace level while the specified workspace_role defines the workspace.
In other words, each workspace have its own set of workspace_roles therefore the assigned workspace_role unequivocally defines the workspace.
The list of the workspace roles is accessible by url: ../api/shared_spaces/<spid>/workspace_roles?fields=workspace_id,workspace,role
Bottom line, even while using the REST call, the user must be created at the sharedspace level. The create user request should look like: