This workflow can be used for creating Teams from the SCIM groups based on the given pattern. This Workflow can be deployed as a schedule.
When workflow is started, all the groups that are created in SCIM are retrieved. Then the pattern matching algorithm is applied to the group names and filtered the groups which has both Admin and User groups.
Then groups names are compared with the existing teams and the missing ones are created.
After the new team is created, team seat size is configured to the License User count and Admin and User groups are assigned to the team's groups respectively.
Logs of the data app are stored in the logs folder in the workflow area by the date of the run. Log data is appended if the log file exists.
For API authentication, Secret Store is used. Please create an Application Password for a Global Admin User and create a Secret in the team with this ID and Password. Then please select the secret in the Secret Retriever node in the workflow locally.
When running locally, please add the HUB API endpoint URL in the "HUB API Endpoint Used When Running Locally" node.
Example Configuration:
If the group names are like AB_CD_Finance-Team_Admin and AB_CD_Finance-Team_User and if the team name is Finance-Team, then the Admin and User Templates should be given as:
AB_CD_<TEAM_NAME>_Admin
AB_CD_<TEAM_NAME>_User
Two options needs to be set before running:
Admin Group Template: The naming template to use pattern matching for the admin groups. Please leave the <TEAM_NAME> as a placeholder which is used in the pattern matching algorithm.
User Group Template: The naming template to use pattern matching for the admin groups. Please leave the <TEAM_NAME> as a placeholder which is used in the pattern matching algorithm.