Sign in with Microsoft (Entra)
Office staff sign in to eveXso web and the warehouse app with their Microsoft 365 account. eveXso does not store their Microsoft password.
This is for people. ERP, couriers, and print agents stay on API keys.
One Microsoft connection covers every site for the customer. A second warehouse under the same customer does not need a second app registration.
People who have no work email (typical warehouse casuals) keep an eveXso user ID and password. See Two-factor authentication for those accounts.
What you need
| Item | Who |
|---|---|
| Microsoft 365 admin who can register an app | Customer IT |
| eveXso user with Admin access | Site admin or eveXso / partner |
| Each person already created in eveXso | Same work email as Microsoft |
Path in eveXso: Admin -> Integration -> Microsoft Entra (/admin/integration/entra).
The page has two sections:
| Section | What it is for |
|---|---|
| Setup | Steps for the Entra app, and the redirect URI to copy |
| Connection | Tenant ID, application ID, client secret, email domains, test |
1. Register the app in Entra
A Microsoft admin does this in their tenant. eveXso never needs their Entra password.
- Open the Microsoft Entra admin center.
- Go to Identity -> Applications -> App registrations -> New registration.
- Name it
eveXso. - Supported account types: Accounts in this organizational directory only.
- Redirect URI: platform Web. Paste the URI from eveXso Setup (copy button on that page). It is currently
https://evexso-global.auth.ap-southeast-2.amazoncognito.com/oauth2/idpresponse. - Register.
If the URI on the Setup page ever differs from the line above, use the one on the page.
2. Create a client secret
- On the app: Certificates & secrets -> New client secret.
- Copy the Value immediately. Microsoft shows it once.
- Paste that Value on the eveXso Connection page. After save, eveXso does not show it again.
Keep the secret out of email threads and tickets. Paste it into Connection, or hand it to the eveXso admin who is standing at that screen.
3. Grant permissions
- API permissions -> Add a permission -> Microsoft Graph -> Delegated.
- Add
openid,email,profile, andUser.Read. - Grant admin consent for the tenant.
4. Copy the two IDs
On the app Overview:
| Entra label | eveXso Connection field |
|---|---|
| Directory (tenant) ID | Directory (tenant) ID |
| Application (client) ID | Application (client) ID |
5. Create the eveXso users first
Microsoft sign-in matches an existing eveXso user. It does not create one.
Admin -> Users -> New
- Set the user ID, name, role, and sites.
- Set Email Address to the person's Microsoft work email. Matching is not case-sensitive.
Jane.Smith@company.comandjane.smith@company.comare the same person. - Leave Require Microsoft sign-in off until Connection tests clean. Then turn it on for that user.
A user with no email cannot use Microsoft. They sign in with user ID and password.
6. Save the connection in eveXso
Admin -> Integration -> Microsoft Entra -> Connection
| Field | What to enter |
|---|---|
| Directory (tenant) ID | From Entra Overview |
| Application (client) ID | From Entra Overview |
| Client secret | The Value from step 2. On a later edit, leave this blank to keep the stored secret. A green tick means a secret is already stored. |
| Email domains | Work domains that should see Microsoft, comma separated. Example: company.com, company.co.uk |
| Enable Microsoft sign-in | On, once the IDs and secret are in |
| Require Microsoft for those emails | Leave off until you have tested one user. See below. |
Press Save and connect, then Test connection.
Test checks that Microsoft recognises the tenant, that the secret is stored, and that eveXso can use the app. A green banner means the connection is ready. A red banner means one of those three checks failed: wrong tenant ID, secret not saved, or Save and connect was not pressed.
7. Require Microsoft for office users
Two switches exist. Use the one on the user.
| Switch | Where | Effect |
|---|---|---|
| Require Microsoft sign-in | Admin -> Users -> that user | This person must use Microsoft. Password and Forgot password are refused. |
| Require Microsoft for those emails | Entra Connection | Every user whose email is on the domains above must use Microsoft. |
Prefer the user switch. Turn on the customer switch only when every office address on those domains should be locked to Microsoft.
Users with no email still use a password, even if the customer switch is on.
When you turn on Require Microsoft sign-in, eveXso emails that person: enter the work email on the eveXso sign-in page, then choose Sign in with Microsoft.
How people sign in
Web and the warehouse app behave the same way.
- On the sign-in page, type the work email in User ID.
- Sign in with Microsoft appears under the password form (after a short pause).
- They continue in Microsoft. If Microsoft asks for its own verification, that is their company policy, not an eveXso code.
The button stays hidden until the typed value contains @ and the domain is one you listed. A user ID with no @ never shows the button. That is correct for warehouse casuals.
If Microsoft sign-in is required and they try the password or Forgot password, eveXso tells them to contact IT. Forgot password sends that note by email. It does not send a reset code.
When someone leaves
- Disable or delete the account in Entra. That stops Microsoft sign-in immediately.
- Set the eveXso user Inactive as well, so an old password cannot be used if Microsoft was not required on that user.
Check it works
| Check | Expected |
|---|---|
| Test connection | Green, connected |
| User email | Same address as Microsoft |
| Sign-in page | Type that email. Sign in with Microsoft appears |
| Web and app | Both accept the Microsoft account |
| Users list | 2FA column shows Microsoft when Require Microsoft sign-in is on |
| Password | Refused for that user after the user switch is on |
| Casual with no email | User ID and password still work. No Microsoft button |
If it fails
| What you see | What to fix |
|---|---|
| Microsoft sign-in is not enabled for that email | Domain missing from Email domains, or Enable Microsoft sign-in is off |
| No eveXso user exists for this Microsoft account | Create the user and set Email Address to the Microsoft address |
| Test fails and the tenant looks wrong | Directory (tenant) ID is not the GUID from Overview |
| Test fails on the secret | Paste the secret Value (not the Secret ID) and press Save and connect |
| Test fails and the secret field was left blank on a new connection | There is no stored secret yet. Paste the Value |
| Password still works for an office user | Turn on Require Microsoft sign-in on that user |
| Button never appears | They typed a user ID, not the work email |
What this is not
| Topic | Where it belongs |
|---|---|
| Authenticator codes for password users | Two-factor authentication |
| ERP or courier credentials | That integration's admin page, using an API key |
| Creating the person in Microsoft | Customer IT, in Entra or Microsoft 365 admin |