Before you start
- You need a Global Administrator or a Privileged Role Administrator of the directory. Step 1 grants permissions to andteam’s app, and only those roles can.
- You also need an andteam administrator with the Integrations permission, who does steps 1 and 3 in andteam. They can be the same person, or two people working together.
- Nothing is created or changed in your directory until you finish step 1, and andteam never deletes an account (see the end).
Step 1. Connect in andteam
- In andteam, open Settings, Integrations, Microsoft Entra ID and choose Connect Microsoft Entra ID.
- Microsoft’s consent screen opens. Sign in as the administrator and read the permissions it lists.
The last four are application permissions: andteam’s app acts as itself, not as a signed-in person. None of them can create apps, change directory settings or delete accounts.
- Choose Accept. Microsoft returns you to andteam, which now shows Connected with your directory’s name. Sign-in with Microsoft works from here, with nothing pasted.
Step 2. Create the provisioning app in Entra
andteam sends people to an app in your directory, which then creates the accounts. You create that app once, from Microsoft’s gallery.- Open the Microsoft Entra admin center and go to Entra ID, Enterprise apps, New application.
- Search the gallery for API-driven provisioning to Microsoft Entra ID and choose Create.
- Open the new app’s Provisioning page, set it to Automatic, and Start provisioning.
- On the Overview page of the provisioning job, copy the Provisioning API endpoint. It looks like this:
Step 3. Paste it in andteam
- Back in andteam, under Microsoft Entra ID, Provisioning, paste the endpoint into Provisioning API endpoint and choose Save.
- andteam sends a request that changes nothing, to check that the permission and the job work. The section then says Connected. If it does not, check that the permission was consented (step 1) and that the job is running (step 2).
The attribute mapping in Entra
andteam sends each person as SCIM, and the gallery app’s default mapping already matches the standard attributes:externalId (the employee number) is matched to the user’s employeeId, so a person is found, not duplicated.
The andteam extension, for Lifecycle Workflows. andteam also sends two dates in its own extension,
urn:ietf:params:scim:schemas:extension:andteam:1.0:User:
hireDate, the start date, which maps to Entra’semployeeHireDate.leaveDate, the moment sign-in ends, which maps to Entra’semployeeLeaveDateTime.
- In the provisioning app, open Attribute mapping, then Show advanced options, then Edit attribute list for API.
- Add
urn:ietf:params:scim:schemas:extension:andteam:1.0:User:hireDateand…:leaveDate, both of type DateTime. - Add two mappings:
hireDatetoemployeeHireDateandleaveDatetoemployeeLeaveDateTime.
When accounts are created and switched off
These are set in andteam under Microsoft Entra ID, Provisioning. The defaults are what most customers want.
End access now on a dismissal switches the account off immediately. It is always available and is not a setting.
Times are in the company’s time zone. andteam sends people at the pace Microsoft allows (50 people a request, a few requests a minute), so a large first sync takes a while.
What andteam never does
- It never deletes an account. When someone leaves, the account is switched off (disabled) on time and left for you to retire by your own process.
- Entra is the target. andteam is the source of truth for the attributes it sends: a value changed in Entra is overwritten by the next push. Change it in andteam instead.
- It only reaches people in scope. Under People you choose which companies and employment types are sent. Candidates, whose hire is not yet final, have no account.
- It never asks for more than the permissions above. Disconnecting in andteam stops provisioning and returns everyone to the email-code sign-in. Accounts already in Entra are left as they are.