Troubleshoot directory sync
Fix Microsoft Entra and Google Workspace connection errors, group picker limits, blocked syncs, failed runs, and directories Hook won't remove.
Directory sync problems show up in one of three places on Settings, then Integrations: a message at the top of the page after a connect attempt, a failed state in the directory card's sync panel, or a connection status such as Error or Reauthorization needed. You need to be signed in as an org admin with the right organization selected.
If you haven't connected a directory yet, start with Sync users from Microsoft Entra or Sync users from Google Workspace. This page assumes you know those flows.
A Microsoft Entra connect bounced back with an error
Clicking Connect on the Microsoft Entra tile hands off to Microsoft's consent screen. If the handshake doesn't finish cleanly, you land back on Integrations with a message at the top of the page.
| What happened | What to do |
|---|---|
| Consent wasn't granted: the prompt was cancelled, or the account couldn't approve consent for the whole tenant. | Connect again, signing in with an account that can approve tenant-wide consent. |
| The connection link was invalid or expired, usually because the consent screen sat open past 10 minutes. | Start over from the tile and finish within 10 minutes. |
| You signed in to a different tenant than the one this connection belongs to. | Sign in as an admin of the connected tenant. To use a different tenant, remove the current directory first. |
| The tenant you signed in to differs from the one your organization uses for Microsoft Direct Delivery. | Connect with the same tenant your direct delivery uses. |
| Hook couldn't reach Microsoft, or something else went wrong. | Wait a moment and connect again. If a clean retry fails the same way, contact support. |
A failed handshake never leaves a half-connected directory behind. Hook confirms the permissions actually landed before it marks a tenant Connected.
The directory is connected to another organization
A Microsoft tenant or Google Workspace can't be connected to two unrelated Hook organizations at once. (A parent organization and its sub-organizations can share one.) If an unrelated organization already holds it, Hook refuses the connect and says so at the top of the page, naming that organization when you have access to it. The directory has to be removed in that organization first. If you manage both organizations, remove it there, then connect here. If you don't, ask that organization's admin or contact support.
Google Workspace Verify doesn't succeed
When Verify fails, the account panel says why: the role hasn't applied yet, Admin SDK API access is turned off, the domain you entered doesn't match, Google didn't answer in time, or something on Hook's side. Each reason and its fix is covered in Click Verify and When something goes wrong.
Connect or Reconnect is unavailable
Only one directory can sync at a time, and a directory that synced people into your organization keeps owning them until it's removed. If a provider's tile or Reconnect button is unavailable, the reason appears beside it: another directory is syncing, or another directory still owns your people.

To move to the other provider, remove the current directory from its ⋯ menu, then connect the new one. Removing a directory is not a pause: both options delete the connection, and Delete directory and people also deletes people and their history. Read Disconnect a directory before you choose.
The group picker won't show or take the groups you want
Only the first 1,000 groups load
The picker loads up to 1,000 groups and tells you when it hits that ceiling. Search narrows the groups already loaded, so a group past the first 1,000 won't turn up that way.
You can select at most 200 groups
Go over 200 and Hook won't continue to the preview until you trim the selection. Past 100 you'll also see a note that a large selection takes longer to preview. That one is a heads-up, not a blocker.
Nested groups have to be picked separately
Sync pulls direct members only. When a group contains other groups, the picker badges it with how many. Their members are not pulled in for you, so find each nested group in the list and check it too.
Some groups never appear
For Microsoft Entra, groups with hidden membership aren't offered, because Hook can't read their members. For Google Workspace, an organization with no Google Groups has nothing to pick. See If you have no groups yet.
Sync now is unavailable or turned down
Sync now doesn't start a sync when:
- No groups are selected. Pick at least one through Manage groups.
- A sync is already running. Only one sync runs per directory at a time, whether it was started by you, by a group change, by a domain approval, or by the nightly sync. Wait for the panel to show the run finished, then try again.
- Hook is waiting for a group review. After a directory connects or reconnects, the sync panel asks you to review your groups. Click Review groups, check the selection, and save. Saving the same groups is enough.
A group change won't save
Changing your groups through Manage groups ends on a confirmation screen that shows who is added and who is deactivated.
Removing every group needs an acknowledgement
If your change leaves zero groups selected, Hook warns that everyone this directory synced will be deactivated and shows a checkbox stating how many people that is. Save scope change stays disabled until you tick it.
A newly added group can't exceed 50,000 members
Each group you add is capped at 50,000 members. If one is larger, Hook names the group and its member count and doesn't save. Split the membership in your directory or pick a smaller group, then try again.
A sync failed
A failed run shows in the directory card's sync panel with a one-line reason.
- Your directory rejected Hook's access. Someone removed Hook's app or consent in Microsoft Entra, or the admin role from Hook's account in Google Workspace. The directory moves to Reauthorization needed and stops syncing. Click Reconnect, restore access, and review your groups. See Reauthorization needed.
- Microsoft or Google was temporarily unavailable. Click Sync now again in a few minutes. The nightly sync also retries on its own.
- A configuration problem on Hook's side. Hook's team is alerted automatically. There's nothing to change in your directory.
- Any other failure. Click Sync now again. If it keeps failing, contact support.
Your group selection is saved before any sync starts, so a re-run lands on the same result. You never need to redo the picker to recover from a failed run.
Hook won't remove a directory
Both disconnect options are refused while:
- A sync is queued or running. Wait for it to finish, then try again.
- A phishing campaign is scheduled or sending. The dialog lists each campaign and whether you or your MSP can cancel it. Cancel those you can, or wait for a sending campaign to finish.

If Hook says another change to the directory is in progress, wait a moment and try again. If it says the name you typed doesn't match, type your organization's name exactly as the dialog shows it.
Things that look like bugs and aren't
People appear after the sync, not instantly. Saving a selection or a group change starts a sync; it doesn't add people on the spot. Counts on the directory card and the roster on User Management fill in as the run finishes.
Synced people who can't receive simulations. People on an email domain that isn't approved are synced but held. Approve the domain on the Domains tab. See Authorize recipient domains.

A blocked Entra account is still active. Hook deactivates people when they leave every synced group, not when their Entra account is blocked. Remove them from the group. Suspended and archived Google Workspace accounts are left out of every sync automatically.
A missing tenant name is cosmetic. If the directory card shows the provider name instead of your tenant's name, Hook couldn't read the display name. The connection is still valid and still syncing.
Related
Manage your directory connection
Sync now, change groups, reconnect, switch providers, and disconnect.
Sync users from Microsoft Entra
The connect, pick, preview, and save flow for Entra.
Sync users from Google Workspace
Assign the read-only role, verify, and pick Google Groups.
Authorize recipient domains
Approve the email domains your synced users share so simulations can reach them.
Troubleshoot phishing campaign delivery and results
Fix campaigns that won't start, people who weren't sent the email, and results that don't look right.
Troubleshoot training enrollments
Fix enrollments that failed, landed on the wrong people, never reached learners, or sent a link that no longer works.