Connect your directory, assign it to a Codenica administrator and import employees into the Clients module.
How to connect your directory
Open Settings → Accounts → Azure AD (Entra) and add an account on the Azure AD (Entra) Accounts tab. Give the connection a display name and enter the directory’s Tenant ID from Microsoft Entra. Click Grant permissions as Azure Administrator, then sign in to Microsoft with an account authorized to grant consent for that tenant. After granting read access, check the permission status in Codenica, click Confirm and then Save.
Who should have the directory assigned?
On the Azure AD (Entra) Account Assignment tab, select the Codenica user who will run the import, tick the directory and save. The user also needs the Administrator role in Codenica.
How to import employees
Go to Settings → Database → Import → Azure AD (Entra). Check the list of connected accounts. The import reads active directories assigned to you for which admin consent has been granted. Check the import source name and reuse it on later runs from the same source. For the first run, you can leave removal and status changes off. Click Start import from Azure AD (Entra), review the summary and compare a few entries in Clients with the directory.
What happens when you run the import again?
Codenica can update an existing record when the directory user ID or email address matches. The options to remove or change the status of missing users apply to records with a directory user ID and tenant ID saved under the same source name. If the tenant returns no users, its records are skipped for those operations. On-Premise also requires access to Microsoft services to connect and import.


