Is there any way we can create multiple users in one go in CA TDM portal? I tried using API but keeps getting authentication error.
TDM Portal 4.11.x
You should be able to create multiple users using the APIs, and looping the creation for the number of users you would like to create. As an example, see the attached PowerShell script that can be used to create multiple users using the APIs.
The attached zip file contains an example PowerShell script (Create-TDMUsers.ps1) and a users.csv file. You will need to modify the Create-TDMUsers.ps1 script for your environment, and provide the credentials for logging into TDM Portal, and also modify the users.csv file so that it contains the user information for all the users you would like to create.
NOTE: this is an example script that may or may not run in your environment. It may need to be modified to work with your specific release of PowerShell, which is outside the scope of Broadcom Support.
Before running the PowerShell script, you need to:
When the script is run, it will first log into TDM Portal and generate a bearer token, then loop through the users found inside the users.csv to create the new native users in TDM Portal.
NOTE: if your Port is using the default self-sign certificate, the Portal connection is not secure, and the script may fail.
It's also possible to do something similar through Javelin, where Javelin logs into Portal, gets the bearer token, and runs the required API, or script to create the users.