Guides · updated 10 November 2026
Sign in to Dawnsentry with Microsoft Entra ID
Your people sign in to Dawnsentry with their Microsoft work accounts, with the multi-factor authentication and Conditional Access rules you already have. You decide in Entra who gets in and with which role. It's included in every plan, free included, and takes about fifteen minutes to set up.
You set it up once for your organisation: you register an app in your own Entra tenant, and you give Dawnsentry its ID and a secret. Dawnsentry asks only for the sign-in permissions (openid, profile, email) and can't read your directory: it sees only the person signing in, and only when they sign in.
What you need
- An Entra role that can register applications and assign users to them, such as Application Administrator or Cloud Application Administrator.
- An admin account in your Dawnsentry organisation. Create one for free if you don't have one yet.
- Your e-mail domain must already belong to your Dawnsentry organisation: at least one user there with a confirmed address at that domain (you, usually). That stops anyone else from pointing your domain at their own tenant.
1. Register the app in Entra
In the Microsoft Entra admin center, open App registrations and choose New registration.
| Name | Dawnsentry (people see it on Microsoft's sign-in page and in My Apps) |
| Supported account types | Accounts in this organizational directory only (single tenant) |
| Redirect URI | Platform Web (not Single-page application), https://app.dawnsentry.com/api/auth/sso/callback |
On the app's Overview page, copy the Application (client) ID and the Directory (tenant) ID.
2. Create a client secret
Under Certificates & secrets, choose New client secret and pick an expiry (24 months at most). Copy the Value straight away; Entra shows it only once. The Secret ID next to it is not the secret. Put the expiry date in your calendar: when the secret runs out, single sign-on stops until you paste a new one. Passwords keep working in the meantime.
3. Decide who gets in, and with which role
Dawnsentry has three roles: admin (users, alerts and settings), member (inventory and findings) and viewer (read only). App roles are the simplest way to give them out:
- Under App roles, choose Create app role for each role you'll use, for example display name "Dawnsentry admins", allowed member types Users/Groups, value
Dawnsentry.Admin. Do the same forDawnsentry.MemberandDawnsentry.Viewerif you need them. - Go to Enterprise applications, open Dawnsentry, then Users and groups, and Add user/group. Pick people, or groups (assigning groups needs Entra ID P1 or P2), and their role.
- Recommended: under Properties, set Assignment required to Yes. Then only people you've assigned can start a sign-in at all.
You can use security groups instead of app roles: add a groups claim under Token configuration and choose Groups assigned to the application, then map each group's object ID to a role in Dawnsentry. App roles are easier to read, and they keep working however many groups a person is in.
4. Optional: when user names aren't e-mail addresses
Dawnsentry identifies people by their user name (UPN), which in most organisations is their e-mail address. If yours are something else, such as kim@company.onmicrosoft.com, open Token configuration, choose Add optional claim, token type ID, and tick email, acct and xms_edov. Dawnsentry then uses the e-mail address, but only when Entra confirms its domain is verified in your tenant.
5. Fill in Dawnsentry
Sign in to Dawnsentry as an admin and open Users & alerts › Integrations › Single sign-on. Choose Microsoft Entra ID and fill in:
| Directory (tenant) ID | From the app's Overview. One of your tenant's domains works too; Dawnsentry looks up the ID. |
| Application (client) ID | From the app's Overview. |
| Client secret value | The Value from step 2. It's stored encrypted and never shown again. |
| E-mail domains | The domains whose people sign in this way, such as example.com. |
| Roles come from | App roles, or Security groups (object IDs). |
| Mapping | One per line: Dawnsentry.Admin = admin, Dawnsentry.Member = member, Dawnsentry.Viewer = viewer. |
| Default role | Leave it on No access unless mapped, so nobody gets in without a role from you. |
Leave single sign-on switched off for now and press Save.
6. Test it, then switch it on
Press Test sign-in and sign in at Microsoft with the account you want to try. You come back to the same page with what Dawnsentry would do: which address and role the account would get, or why it would be refused, with what Entra sent. The test creates nothing and changes nothing, so you can try as many accounts as you like. When it says it works, switch single sign-on on and save.
How your people sign in
On app.dawnsentry.com, they type their work e-mail address and a Sign in with Microsoft button appears. Microsoft takes it from there, with your MFA and Conditional Access. The first time, Dawnsentry creates their user with the role from their app role. A Dawnsentry account they already had with the same address becomes their single sign-on account and no longer uses its Dawnsentry password.
Their role is read again at every sign-in, so changing or removing it in Entra takes effect the next time they sign in. Dawnsentry's own two-factor code is off for single sign-on by default, because Microsoft's applies. You can switch it on as well. Keep one admin account with a Dawnsentry password at an address that doesn't sign in with Microsoft, so a problem at Microsoft or an expired secret never locks you out.
What Dawnsentry checks
- The sign-in must come from your tenant: the token is signed by Microsoft, issued to your app, and its tenant ID is yours. Accounts from other tenants are refused, so are guests in yours and personal Microsoft accounts.
- Only an address Entra vouches for is used: the user name, or the e-mail claim when Entra marks its domain verified. The plain e-mail attribute is never trusted on its own, because it can hold anyone's address.
- The address must be in one of the domains you listed, and the person must have a mapped role, or the default role you chose.
- Dawnsentry uses the authorization code flow with PKCE, and each sign-in can be used once, within ten minutes.
If something goes wrong
Dawnsentry turns Microsoft's error codes into a sentence that says what to fix. The common ones:
| Error | What it means | Fix |
|---|---|---|
AADSTS7000215 | Wrong client secret | Paste the secret's Value, not its Secret ID. |
AADSTS7000222 | The secret has expired | Create a new secret and paste its Value in Dawnsentry. |
AADSTS50011 | Redirect URI not registered | Add https://app.dawnsentry.com/api/auth/sso/callback under Authentication, platform Web. |
AADSTS9002327 | Redirect URI registered as a single-page app | Remove it there and add it under the Web platform. |
AADSTS50105 | The person isn't assigned to the app | Add them under Enterprise applications › Dawnsentry › Users and groups. |
AADSTS700016 | App not found in the tenant | Check the client ID and the tenant ID. |
AADSTS65001 | Your tenant asks for admin consent | Grant it under API permissions › Grant admin consent. |
| "no app role" | The person has no mapped role | Assign them a role, or check the values in the mapping. |
| "Guest accounts can't sign in" | A guest from another tenant | Give them a Dawnsentry account of their own instead. |
Other identity providers
Google Workspace, Okta, Keycloak and any provider with OpenID Connect discovery work too: choose Other OpenID Connect provider on the same page, register the same redirect URI with your provider, and paste the issuer, client ID and secret. Dawnsentry Self-hosted has the same single sign-on. There, the redirect URI uses your own server's address, and that server must be able to reach your provider.
Stuck? Write to info@dawnsentry.com with the message Dawnsentry showed you.