Skip to content

Directory management

Account management without leaving the service desk. Search for a user, change their licence, lock or unlock them, delegate a mailbox, reset their password.

Distinct from the LDAP connector, which authenticates and resets passwords. This one is about administering accounts.

CategoryDirectory
AuthenticationClient credentials
ReachesYour identity provider
Needs an agentDepends on the provider
Demo modeYes, on by default

directory.searchUsers, directory.getUser, directory.setLicense, directory.setAccountEnabled, directory.delegateInbox, directory.resetPassword

Which lights up the directory page, gated by the module.directory module and the directory.view and directory.manage permissions.

Unusually, this connector ships with demoMode set to true.

Locking an account, resetting a password and opening somebody else’s mailbox are not things to do by accident while you are still setting the connector up.

Explore the workflow against built-in sample data, then turn demo mode off when the real credentials are in.

The exact steps depend on your provider. For Microsoft Entra, which is the most common:

  1. Entra admin centre, Applications, App registrations, New registration. Name it Plugboard directory.

  2. Note the Application (client) ID.

  3. API permissions, Microsoft Graph, Application permissions. Add only what you will use:

    PermissionFor
    User.Read.AllSearch and read users
    User.ReadWrite.AllLock, unlock and update
    Directory.ReadWrite.AllLicence assignment
    Mail.ReadWrite or full_access_as_appInbox delegation
    UserAuthenticationMethod.ReadWrite.AllPassword reset
  4. Grant admin consent.

  5. Certificates and secrets, New client secret. Copy the Value.

Admin, Connectors, Active Directory, Configure.

FieldDefaultValue
tenantDomainYour primary domain, for example school.nsw.edu.au
demoModetrueUse built-in demo data, making no live API calls
FieldValue
clientIdThe application (client) id
clientSecretThe client secret value

Save and test, then turn demoMode off.

ActionNotes
Search for a userBy name or username
See assigned licencesAnd what each one is
Change a licenceAssign or remove
Lock or unlockEnable or disable sign-in
Delegate a mailboxGrant another person access to an inbox
Reset a passwordSubject to your provider’s policy

Before performing any of these, you can link it to an existing submission or ticket, or create a new one.

This is the feature that makes the whole thing defensible. “Please give Sarah access to Tom’s mailbox while he is on leave” becomes a ticket with a requester, an approver, a timestamp and an action, rather than a Teams message and a change nobody can account for six months later.

Use it. One extra click, and the change is accounted for instead of unexplained.

Every directory action is written to the audit log with who did it, to whom, and what changed. That is separate from, and in addition to, your identity provider’s own audit trail.

PermissionAllows
directory.viewSearch and read accounts
directory.manageEverything that changes something

Split these across roles. Plenty of technicians should be able to look somebody up without being able to reset their password. See roles and permissions.

SymptomCause
Sample users appeardemoMode is still on
401 on testWrong secret, or the Secret ID was copied instead of the Value
403 on a specific actionThe matching Graph permission was not granted, or consent was not given
Search works, licence change failsDirectory.ReadWrite.All is missing
Password reset failsUserAuthenticationMethod.ReadWrite.All is missing, or the target is an administrator, which Entra protects separately
Mailbox delegation failsThe mail permission is missing, or the mailbox is not in this tenant
Actions do not appear at allmodule.directory is off, or your role lacks directory.manage