For organization administrators

Connect your Microsoft 365 / Entra ID directory

Connecting your directory lets SpearSafe create training accounts for your employees automatically, keep their names and departments up to date, and deactivate people who leave - so you never have to upload spreadsheets. It takes about 5 minutes and needs one approval from your Microsoft 365 administrator.

Before you start

  • Your organization is registered in SpearSafe and you are its Organization Admin. (Not yet? Register your organization.)
  • Someone with the Global Administrator or Privileged Role Administrator role in your Microsoft Entra ID (Azure AD) tenant can approve the connection. If that isn't you, send them this page:
    https://spearsafe.net/Help/MicrosoftEntra

What SpearSafe can and cannot do

βœ” Read-only access to

  • User names, email / sign-in name, department and job title (User.Read.All)
  • Membership of a group you choose, if you sync only one group (GroupMember.Read.All)
  • Whether an account is enabled or disabled

βœ– No access to

  • Passwords, email, files, Teams or calendars
  • Changing anything in your directory
  • Signing in as your users

Step-by-step

  1. Open your organization in SpearSafe

    Sign in, open the admin dashboard (click the SpearSafe logo 5 times quickly, then Admin), and choose My organization. Scroll to Microsoft Entra ID (Azure AD) sync.

  2. Click "Connect Microsoft Entra ID"

    You are sent to Microsoft's sign-in page. Sign in with the administrator account of your Microsoft 365 tenant (Global Administrator or Privileged Role Administrator).

  3. Review the permissions and click "Accept"

    Microsoft shows a Permissions requested screen:

    • App: SpearSafe Directory Sync
    • Publisher domain: netsafeconsulting.com
    • Permissions: "Read all users' full profiles" and "Read all group memberships"

    The app may show as unverified - administrators can still approve it. Only approve if the app name and publisher domain match the ones above.

  4. You're back in SpearSafe - test and sync

    You'll see "Microsoft Entra ID connected". Click Test connection, then Sync now. Your employees appear under Users and receive an invitation email to set their SpearSafe password.

  5. Choose your sync options (optional)

    • Only sync members of a group - paste the group's Object ID (Entra admin center β†’ Groups β†’ your group β†’ Overview).
    • Sync automatically - keeps SpearSafe up to date every few hours.
    • Email new users an invitation - turn off if you'd rather announce SpearSafe yourself first.
    • Deactivate users removed or disabled - people who leave lose access automatically.

Frequently asked questions

Do employees sign in with their Microsoft password?

Not yet. Each employee sets a separate SpearSafe password using the invitation link. Their Microsoft account is not touched.

We use on-premises Active Directory. Does this work?

Yes, if your AD users are synchronized to Microsoft Entra ID with Entra Connect or Cloud Sync (most Microsoft 365 organizations do this).

Are guest accounts imported?

No. Guests (#EXT# accounts) are skipped. Accounts already registered in SpearSafe by another organization are never moved.

How do we disconnect?

In SpearSafe click Disconnect (your users are kept). To remove SpearSafe's access completely, in the Entra admin center go to Enterprise applications β†’ SpearSafe Directory Sync β†’ Properties β†’ Delete.

Troubleshooting

You seeWhat to do
"Need admin approval"The account you signed in with can't approve apps. Ask your Global Administrator to click Connect (send them this page).
"Your organization doesn't allow…" / consent blockedYour tenant restricts app consent. An administrator can approve it, or allow it under Enterprise applications β†’ Consent and permissions.
Test connection fails right after connectingMicrosoft can take a minute to apply the approval. Wait 1-2 minutes and click Test connection again.
Some users are "skipped"They have no email address, are guests, or already belong to another SpearSafe account. Details are in Recent sync runs.

Still stuck? Email maroufi@netsafeconsulting.com.

Related: Privacy statement Β· Terms of service