Before you start
You need:- An TEC-CoWork organization with Enterprise SSO and SCIM.
- An TEC-CoWork owner, or a member who can manage security configuration.
- A working TEC-CoWork SAML connection. Complete and test Microsoft Entra SAML SSO first.
- A Microsoft Entra role that can manage enterprise applications and provisioning.
- An Entra plan that supports assigning groups to enterprise applications if you want to synchronize groups.
1. Get the TEC-CoWork connection values
In TEC-CoWork, select the organization you want to connect, then open Settings → SCIM. Confirm that the page shows SAML/SSO active, then:- Select Create connector. If a connector already exists, select Rotate token only when you intend to replace its current secret.
- Copy the SCIM base URL.
- Copy the SCIM bearer token immediately. TEC-CoWork shows the full token only after creating or rotating it.
- To synchronize Entra groups as TEC-CoWork teams, select Enable team sync under Create teams from SCIM groups.
Treat the bearer token like a password. Do not put it in tickets, screenshots,
or shared setup notes. Rotating it immediately invalidates the previous token,
so update Entra at the same time.
2. Configure provisioning in Entra
In the Microsoft Entra admin center:- Open Entra ID → Enterprise apps.
- Select the same enterprise application used for TEC-CoWork SAML SSO.
- Open Provisioning.
- Select Get started, then choose Automatic provisioning.
- Open Connectivity or Admin Credentials, depending on the Entra interface shown for your tenant.
- Paste the TEC-CoWork SCIM base URL into Tenant URL.
- Paste the TEC-CoWork SCIM bearer token into Secret Token.
- Select Test Connection and wait for a successful result.
- Save the configuration.
3. Review mappings and scope
Open Attribute mapping in the provisioning configuration. Entra should show mappings for both Users and Groups. For a controlled rollout, set Scope to Sync only assigned users and groups. This limits provisioning to identities assigned under the enterprise application’s Users and groups page. Use a stable, unique email address for the SCIM user name. If your Entra user principal names use anonmicrosoft.com domain but users sign in to TEC-CoWork
with another email domain, verify which Entra attribute is mapped to
userName. Keep the SAML NameID and SCIM identity consistent so Entra does not
create a second TEC-CoWork member for the same person.
4. Assign test users and groups
In the enterprise application, open Users and groups and select Add user/group. Start with:- One or two test users who can sign in through the configured SAML app.
- One assigned security group containing those users.
5. Test with Provision on demand
Open Provisioning → Provision on demand. Test a user first:- Search for and select an assigned test user.
- Select Provision.
- Confirm that import, scope evaluation, matching, and the final action all succeed.
- In TEC-CoWork, open Members and confirm that the member appears with the expected email.
- Make sure the test group already contains at least one assigned test user.
- Search for and select the assigned group.
- Under Selected users, explicitly select up to five members to include in the on-demand test.
- Select Provision.
- Open the result’s Group membership operations tab and confirm each member shows Add member — Success.
- In TEC-CoWork, open Members → Teams and confirm that the group appears as a SCIM-managed team with the expected members.
Entra’s on-demand group workflow can return a generic internal server error for
an empty group, or when no members are selected. This can happen before Entra
sends a group-create request to TEC-CoWork. Add members and select them explicitly
for the on-demand test. Entra’s regular background provisioning cycle can still
synchronize empty assigned groups.
6. Start scheduled provisioning
After the on-demand tests pass:- Return to Provisioning → Overview.
- Set Provisioning Status to On, or select Start provisioning in the newer Entra interface.
- Save the change.
- Check Provisioning logs after the first cycle completes.
- Refresh TEC-CoWork Members and Teams to verify the final state.
Verify lifecycle changes
Before expanding the assignment scope, verify the complete lifecycle:- Remove a test user from the Entra group and confirm that TEC-CoWork removes the user from the SCIM-managed team.
- Disable or unassign a test user and confirm the expected TEC-CoWork deprovisioning behavior.
- Add another assigned group and confirm that TEC-CoWork creates a second SCIM-managed team.
Troubleshooting
For member and team behavior after provisioning, see
Members and RBAC.