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

Published
Length
3 min read

Luis Felipe Dias

All posts

Active Directory and Looker work together to link central user groups with analytics dashboards. This setup lets teams log in once and view only approved business data. Many firms store their master list of staff members in Microsoft directory tools. At the same time, their analysts build reports and charts inside the business intelligence app. Joining these two systems removes the need for separate login accounts and passwords. Admins can add a worker to a security group and grant chart access

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.

Active Directory and Looker work together to link central user groups with analytics dashboards. This setup lets teams log in once and view only approved business data.

Many firms store their master list of staff members in Microsoft directory tools. At the same time, their analysts build reports and charts inside the business intelligence app. Joining these two systems removes the need for separate login accounts and passwords. Admins can add a worker to a security group and grant chart access right away. When someone leaves the firm, removing their main profile stops their report access too.

How active directory and looker share login and role data

The link between active directory and looker starts when a user opens the analytics app. The reporting tool does not check the password on its own. Instead, it asks the central directory to check who the person is. This check uses standard login protocols or directory read requests over a safe network path. Once the directory confirms the user, it sends back a list of group names.

The reporting app reads these group names and matches them to internal roles. Each role sets what menus, folders, and data models that person can see. For example, a finance group member gets a role that shows billing tables. A sales group member gets a role that shows regional deal charts. You can also pass user traits from the directory into the reporting tool. The reporting tool uses those traits to filter rows inside a single chart. Two people can open the exact same dashboard and see different rows of data.

Common risks with shared database accounts and broad roles

Linking user logins to your dashboard tool only solves half of the security puzzle. The reporting app still has to run queries against your back-end data warehouse. Most teams set up one shared service account for this database link. Every chart query runs under that single database user name with broad read rights. When a bad query slows down the database, logs only show the shared account.

This setup makes it hard to track who ran a specific query. It also means a mistake in a dashboard model can expose sensitive tables. A user might see raw emails, phone numbers, or card numbers by accident. Group drift is another common problem in large companies. Over time, staff members change jobs and collect too many directory groups. If admins map broad groups to analytics admin roles, too many people gain wide access.

Active Directory + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

How to scope roles and lock down network paths

To fix group drift, create dedicated directory groups just for analytics roles. Do not reuse broad mail lists or department groups for data rules. Keep each group small and tie it to one clear job duty. Review these groups every quarter to remove people who changed teams. Inside the reporting app, give each role the smallest set of permissions possible.

Next, tighten the database user that the reporting tool uses for queries. Create separate database links for different business domains like finance and marketing. Give each database user read rights to only the tables its domain needs. Use data masking rules to rewrite emails, phone numbers, and national IDs in results. Finally, lock down the network path between the directory and the reporting server. Use encrypted traffic and restrict port access to known server addresses only.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How do directory groups map to dashboard permissions?

Admins link each directory group to a specific role inside the reporting tool. When a user logs in, the app checks their groups and applies matching roles.

What happens when a user leaves the company?

When you disable the user in the main directory, their next login fails. They lose access to all dashboards and scheduled reports right away.

How can teams protect sensitive fields in chart results?

Teams use user traits for row filters and masking rules to rewrite card numbers. This keeps sensitive text out of standard chart views while queries still run.

The query runs. The emails stay hidden.