Support/Microsoft Teams and Azure/Sync users from Entra ID (SCIM)

Sync users from Microsoft Entra ID (SCIM)

Last updated

Who can do this: Company admins, together with someone who can manage enterprise applications in Microsoft Entra. Plan: Premium and Enterprise (and free trials).

Connect Microsoft Entra ID (formerly Azure Active Directory) to Team Today. New starters are then added, and leavers lose access, through your normal onboarding in Entra.

Before you start

  • Provisioning can only add as many users as your plan includes. Check your plan size before provisioning a large directory, and add more users to your plan first if you need to. If Entra tries to add a user when your plan is already full, Team Today locks the SCIM API key Entra is using: see If your plan fills up below.
  • Decide how new users should be treated while you test. The Azure configuration settings control welcome emails and whether new users can sign in.

Step 1: get your connection details from Team Today

  1. Log in to Team Today and go to Settings > Company settings > Azure configuration.
  2. Enter your Azure Tenant ID. You'll find it on the Overview page of the Microsoft Entra admin centre. It saves when you click away from the field. To save it, you must be signed in to Team Today with a Microsoft 365 account from that organisation. If you're setting this up for a customer, contact us and we'll link their tenant. Team Today uses the tenant ID to recognise your provisioning requests, so "Test Connection" in step 2 fails until it is saved.
  3. Under SCIM API key, click "Generate new key", then "Copy". You'll paste it into Entra as the secret token.

Step 2: set up provisioning in Entra

  1. In the Microsoft Entra admin centre, go to Enterprise applications and add the Team Today app from the gallery.
  2. Open the Team Today app, expand "Manage" and select "Provisioning".
  3. Set the provisioning mode to "Automatic".
  4. Under "Admin Credentials", enter https://scim.team-today.com/scim/v1 as the Tenant URL and your SCIM API key as the Secret Token.
  5. Click "Test Connection" and, if it works, click "Save".
  6. Under "Settings", enter an email address to be notified when provisioning fails, and choose the scope (see Limited rollout below).
  7. Add the extra attributes you need (see Adding attributes below).
  8. Go to "Overview" and click "Start provisioning".

To check everything works before syncing your whole directory, use "Provision on demand" to provision a single user first, then follow Check it worked below.

SCIM attribute mappings

This table lists every mapping Team Today uses. The first group is already in Entra's default mappings. The custom attributes need adding by hand: see Adding attributes below. Mappings are Direct unless the table says otherwise.

Use the Team Today attribute names exactly as shown, including the long urn: prefix. When Entra creates a user, it leaves out custom attributes with short names such as teamName, so new starters would arrive without them. If your mappings already use the short names (teamName, jobTitle, officeName or sendWelcomeEmail), change their targets to the names below, then click "Restart provisioning".

Entra attribute (source)Team Today attribute (target)Notes
In Entra's default mappings
userPrincipalNameuserNameThe user's email address and Team Today login. Matching precedence 1.
objectIdexternalIdMatching precedence 2. Also used to link line managers.
Switch([IsSoftDeleted], , "False", "True", "True", "False")
Expression mapping
activeWhen this becomes false, the user loses access to Team Today (see Leavers below).
givenNamename.givenNameFirst name.
surnamename.familyNameLast name.
departmenturn:ietf:params:scim:schemas:extension:enterprise:2.0:User:departmentPuts the user in a Team Today department, created if it doesn't exist. Set "Apply this mapping" to "Always".
Custom attributes you add
The field that holds the user's team, for example department or an extension attributeurn:ietf:params:scim:schemas:extension:teamtoday:2.0:User:teamNamePuts the user in a team, created if it doesn't exist. Add to the attribute list as String.
jobTitletitleThe user's job title. title is a standard SCIM attribute, so it may already be in the attribute list. If it isn't, add it as String.
managerurn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.valueThe user's line manager. The manager must already be in Team Today, so the link may be made on a later provisioning cycle. Add as String.
The field that holds the user's office, usually physicalDeliveryOfficeNameurn:ietf:params:scim:schemas:extension:teamtoday:2.0:User:officeNameSets the user's default office, if it matches the name of an office already set up in Team Today. Add as String.
true
Constant mapping
urn:ietf:params:scim:schemas:extension:teamtoday:2.0:User:sendWelcomeEmailMust be true for a user to get a welcome email. If you leave it out, no welcome emails are sent. Use false to handle welcome emails yourself. The email is only sent when Send welcome email to newly provisioned users is switched on and the user has access to Team Today: see the Azure configuration settings. Add as Boolean.
Sent by Entra but ignored by Team Today
mailemails[type eq "work"].valueIgnored, because Team Today uses userName as the email address. No need to remove it.
preferredLanguagepreferredLanguageIgnored. No need to remove it.

Adding attributes

Add the custom attributes you want to use to the attribute list first, then map them.

  1. Open the Team Today app in Enterprise applications and go to "Provisioning".
  2. Expand "Mappings" and click "Provision Microsoft Entra ID Users" (called "Provision Azure Active Directory Users" in older tenants).
  3. Tick "Show advanced options" and click "Edit attribute list".
  4. Add a row for each custom attribute you want from the table above, using the full name in the "Team Today attribute" column (for example urn:ietf:params:scim:schemas:extension:teamtoday:2.0:User:teamName) and the type given in its notes. Then click "Save".
  5. Back on the mappings page, click "Add New Mapping" for each one and fill in the source attribute (or constant value) and target attribute from the table. Use mapping type "Direct", or "Constant" for sendWelcomeEmail.
  6. Click "OK".
  7. Click "Edit" on the department mapping, the one with the target urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department. Change "Apply this mapping" to "Always" and click "OK". This makes sure department changes in Entra always reach Team Today.
  8. Click "Save".
  9. If provisioning is already running, return to "Provisioning" and click "Restart provisioning".

Check it worked

Check one user end to end, ideally before you click "Start provisioning" in step 2:

  1. In Entra, open the Team Today app and select "Provision on demand". Provision the test user's manager first, then the test user. Pick a user whose job title, department and manager are filled in.
  2. In Team Today, go to Settings > Manage current users and open that user. Check Job Title on the Profile tab, Member of team and Member of department on the Team and groups tab, and Office base on the Office tab.
  3. Open their manager and check the user is listed on the Line reports tab. The tab only appears when Enable line managers is switched on for your company. If you provisioned the user before their manager, provision the user on demand again to make the link.

If anything is missing, see SCIM users with missing details.

Limited rollout

The Team Today provisioning page in Microsoft Entra, with the Settings section open and the scope set to Sync only assigned users and groups

To roll out Team Today to some of your users or groups:

  1. Open the Team Today app in Enterprise applications, expand "Manage" and click "Provisioning".
  2. Expand "Settings" and change the scope to "Sync only assigned users and groups". This limits provisioning to the users and groups you choose.
  3. Expand "Manage" again, click "Users and groups", then "Add user/group".
  4. Search for the users and groups you want to add. Nested groups aren't supported: members of a group inside an assigned group aren't provisioned.
  5. Go back to "Provisioning" and start or restart provisioning.

Groups and workgroups

Entra groups that are in scope are created in Team Today as workgroups, with their members. Membership changes in Entra are synced, and deleting the group in Entra deletes the workgroup. To provision groups, the group mapping ("Provision Microsoft Entra ID Groups") must be enabled under "Mappings", and the groups must be assigned to the Team Today app. If you don't see the group mapping, contact us at support@team-today.com.

Leavers

When you disable a user in Entra or remove them from the app's scope, Team Today removes their access. The user and their history stay in Team Today.

If you re-enable the user in Entra, Team Today doesn't give their access back automatically. A company admin needs to open the user in Settings > Manage current users and switch on Access to Team Today on the Access and permissions tab.

When the user is permanently deleted from Entra, Team Today moves them to Deleted users. They no longer count towards your licence, a company admin can restore them, and they are removed for good after 30 days.

If you'd rather users are deleted from Team Today as soon as they're disabled in Entra, contact us at support@team-today.com.

If your plan fills up

If Entra tries to add a user when your plan has no spaces left, Team Today rejects that user and locks the SCIM API key Entra is using. From then on, every request made with that key is rejected, including updates and leavers, and the errors show in Entra's provisioning logs. Adding more users to your plan doesn't unlock the key.

To get provisioning working again:

  1. Make sure your plan has enough spaces. A company admin can add users in Settings > Billing and plan settings.
  2. Contact support@team-today.com and ask us to unlock the key. Or generate a new key yourself: go to Settings > Company settings > Azure configuration, click "Generate new key" under SCIM API key and copy it.
  3. If you generated a new key, open the Team Today app in Entra, go to "Provisioning", paste the new key as the Secret Token under "Admin Credentials", click "Test Connection" and save. You can then click "Revoke" next to the old key in Team Today.

User exists in another tenant

If Entra's provisioning logs show "User exists in another tenant", that email address already belongs to a different Team Today account, for example one the person created themselves before you set up provisioning. Team Today doesn't move users between accounts automatically. Contact support@team-today.com and we can move them into your account.

Notes

Teams, workgroups and departments can still be managed by hand in Team Today. A value sent from Entra replaces a manual change. Entra sends a user's details again when something about them changes in Entra, and for every user when you restart provisioning. If you want Entra to be the only source of departments, turn on "Restrict manual allocation of users to departments" in the Azure configuration settings.

If a user arrives without a team, job title or line manager, see SCIM users with missing details.

We can add more attributes on request, and we'll update this page as new ones are added.

Getting support

Contact support@team-today.com for onboarding advice.