The Simplest Way to Make Azure Active Directory and Fivetran Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair azure active directory and fivetran to manage user logins and data syncs. This setup lets staff log in with one work account to run pipelines. Data teams move rows from many apps into central warehouses every hour. Without central login rules, each user needs a separate password for the sync tool. Linking your directory to your data platform fixes this mess right away. How azure active directory and fivetran share login data Your directory acts as the source of truth for every per

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair azure active directory and fivetran to manage user logins and data syncs. This setup lets staff log in with one work account to run pipelines.

Data teams move rows from many apps into central warehouses every hour. Without central login rules, each user needs a separate password for the sync tool. Linking your directory to your data platform fixes this mess right away.

How azure active directory and fivetran share login data

Your directory acts as the source of truth for every person on the team. When someone tries to log in, the sync app asks the directory to check them. The directory checks the user and sends back a signed digital pass. That pass tells the data app who the person is and what they can do.

You can also sync directory groups to set up team roles in one step. When a new analyst joins a group, they get the right app role right away. When an engineer leaves the company, you turn off their main directory account. They lose access to the data sync tool at the exact same moment.

Beyond user logins, some teams pull directory records into their warehouse as raw data. The sync tool reads user lists and group memberships through a directory app role. This helps security teams check who has access to what across the company.

Common failure modes with shared accounts and broad keys

Many teams set up this link fast and leave wide security gaps behind. A common mistake is giving every directory user the top admin role by default. Then any user can change sync rules, read raw tables, or break live pipelines.

Another big risk comes from shared service accounts that run background sync jobs. Teams often create one master account with full read and write powers everywhere. They paste that static key into the sync tool and forget about it. If that key leaks, an attacker can read or delete all your company data. Worse, shared accounts hide who did what when you check the audit logs.

Active Directory + Azure RBAC: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Database connections behind the sync tool also cause problems for growing data teams. Engineers often log into the destination database directly to fix broken sync tables. If they share one master database login, you cannot trace their queries at all. Someone might run a bad query or view sensitive customer emails and card numbers.

How to scope roles and network paths between both tools

Start by mapping specific directory groups to narrow roles inside the data app. Give most analysts a read-only role so they can check sync status safely. Only a few senior data engineers should hold the power to add new sources.

Next, lock down the service accounts that move data from sources to targets. Create a separate identity for the sync tool inside each source database. Grant that identity read power only on the exact tables it needs to copy. Never give the sync account admin rights or the power to drop tables.

You should also restrict network paths between the sync engine and your private databases. Use private network links or strict firewall rules to block public web traffic. Make sure every human engineer uses their own directory identity to query target databases. Masking rules can also rewrite emails, phone numbers, and national IDs in query results.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do we remove a former employee from our data sync tool?

Turn off the user account inside your main directory right away. Because logins rely on the directory, the user cannot sign into the sync tool anymore. If you use group sync, the system also removes their app profile.

Should Fivetran use a human admin account to read our databases?

No, never tie live data pipelines to a human user account. If that person leaves the team, all your data syncs will stop working. Create a dedicated service account with read-only permissions on the needed tables instead.

How can we stop engineers from seeing raw PII during database checks?

Do not give engineers shared admin passwords to the target database. Route their database sessions through a system that checks their directory identity first. Then apply data masking to rewrite card numbers, emails, and phone numbers in results.

The query runs. The emails stay hidden.