Skip to content

Case Study // 2026

Standard Active Directory connector for a financial institution

A regional financial institution needed its internal apps to enable and disable user accounts in Active Directory without opening a ticket with IT every time. The bank doesn't use Microsoft's automation tools, so every integration meant manual work. Andes Development built a standard connector: a small, easy-to-maintain REST API that talks to the directory over LDAPS and that any authorized app can call, with no dependency on Microsoft Entra ID or Microsoft Graph.

// The challenge

At a bank, an account left active is a risk, and an account disabled at the wrong time stops someone from working. The key challenges were:

  • Changes that waited on a ticket Every access grant or removal went through a manual request to IT, with wait times that didn't match how the business runs.
  • No Microsoft cloud ecosystem The directory is on premises, and the bank doesn't have Entra ID or Microsoft's automation tools, so there was no standard way for another app to request a change.
  • One door to the directory Letting each app store directory credentials or speak LDAP on its own wasn't acceptable.
  • Bank-grade security Every call had to be authenticated, encrypted in transit, and logged.
  • Simple to maintain The bank wanted a piece its own team could understand and maintain, in a general-purpose language.

// The technology solution

Andes designed a service with a single job: turn a standard request into a safe change in the directory.

  • Standard REST API Python and FastAPI, with versioned endpoints to enable and disable an account by username, and auto-generated OpenAPI docs for whoever integrates.
  • LDAPS straight to the directory The connector uses a dedicated service account and connects to the on-premises Active Directory over an encrypted channel, with no Microsoft SDKs or services.
  • Precise changes To enable or disable, the connector searches only person accounts, reads the account control value, and flips only the disabled flag, without touching any other attribute.
  • Token-based access Each app that uses the connector has its own token. Without a valid one, the call is rejected.
  • Change log Every enable, disable, and error is logged with the affected user.
  • Secrets outside the code The service account and the tokens live in the server's configuration, never in the repository.
  • Clear errors Standard responses for user not found, invalid token, or directory unavailable, so the calling app knows what to do.

// Results and key achievements

The connector is in production, and the bank's apps no longer need a ticket to enable or disable an account:

  • 1 API for every app

    Any authorized app uses the same contract, with no directory credentials or LDAP code of its own.
  • 0 Microsoft dependencies

    No Entra ID, no Microsoft Graph, no SDKs: just LDAPS to the on-premises directory.
  • ~530 lines

    Of Python code, a codebase the bank's team can read end to end and maintain.

// Conclusion

The connector replaced a manual process with a standard, logged API call, and it did so with a deliberately small piece of software. Its scope today is intentionally narrow: enabling and disabling accounts, which used to take a ticket for every access change. Creating users, managing groups, and resetting passwords are the next step, added as new endpoints on the same foundation and under the same controls.

Direct_Answers

Frequently asked questions

It exposes directory operations as a standard API, so any authorized app can request an account change without knowing the LDAP protocol or holding directory credentials. In this case, enabling and disabling user accounts.

No. The connector talks directly to the bank's on-premises Active Directory over LDAPS, an encrypted channel. It works for organizations that don't use Microsoft's cloud or its automation tools.

Each app gets its own token, and the connector rejects any call without a valid one. The directory service account and the tokens live in the server's configuration, outside the code, and every change is logged.

Yes. The connector started with two operations, enabling and disabling accounts. Creating users, changing groups, or resetting passwords get added as new endpoints on the same foundation.

Ready for your apps to manage access without tickets?

REQUEST A TECHNICAL ASSESSMENT