Manage Users and Groups in Azure Active Directory
You manage users and groups in Azure Active Directory by linking people to role groups. You then bind those groups to cloud resources instead of granting rights to single accounts. Most teams start by creating broad groups for engineering, support, and data work. When groups hold wide roles, every member inherits more power than their daily tasks require. How to manage users and groups in Azure Active Directory Azure Active Directory, now Microsoft Entra ID, acts as your central cloud directo
Active Directory + Azure Privileged Identity Management: the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
You manage users and groups in Azure Active Directory by linking people to role groups. You then bind those groups to cloud resources instead of granting rights to single accounts. Most teams start by creating broad groups for engineering, support, and data work. When groups hold wide roles, every member inherits more power than their daily tasks require.
How to manage users and groups in Azure Active Directory
Azure Active Directory, now Microsoft Entra ID, acts as your central cloud directory. You create user records for each worker or sync them from an on-premises server. Each user record stores login traits, job details, and multi-factor rules. Instead of assigning resource rights to people one by one, you build security groups. A security group collects users who share the same job duties.
Admins can add members by hand or set up dynamic rules. Dynamic groups read user traits like department or job title to update membership. When a worker changes teams, the directory updates their group links right away. You then link these security groups to directory roles or cloud resource scopes. This design keeps your setup clean as your team grows.
You can also assign a group owner to handle daily member requests. Group owners review and approve new members without needing full directory admin rights. This splits up duties and lowers the load on your central security team.
Why broad directory groups create security gaps
Linking groups to roles solves the problem of who can log in to cloud apps. It also makes onboarding fast when new hires join a team. Yet directory groups only check identity at the moment a session starts. They do not inspect what commands or queries a user runs after logging in.
In many teams, a single group grants access to production databases and servers. Once a developer logs in through that group, they hold full read or write power. The directory cannot stop a bad query or block a destructive command in flight. It also cannot rewrite sensitive fields like emails, phone numbers, or card numbers in query results.
Active Directory + Azure Privileged Identity Management: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Over time, people collect group memberships as they help on different projects. If no one removes old links, accounts gain permanent access to critical systems. Directory logs show who signed in, but they never show the exact database statements run. To close this gap, teams need controls that work at the command and query level.
Best practices for clean group design
Keep your groups small and tie each one to a single job task. Avoid building one giant group that unlocks every server and database in your cloud. Separate read duties from write duties by using distinct security groups for each level. Review group member lists every month to remove people who changed roles.
Require multi-factor checks for every group that touches production systems or customer data. Turn off direct user assignments so all rights flow through clear, named groups. When an auditor asks who holds access, clean groups give you a fast answer. Pair these directory rules with runtime controls to govern what happens inside active sessions.
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
Should I assign roles to single users or groups in Azure Active Directory?
Always assign roles to security groups instead of single user accounts. Groups make it much easier to track, audit, and remove permissions when people change jobs.
What is the difference between assigned and dynamic groups?
Assigned groups require an admin or owner to add and remove members by hand. Dynamic groups use rules based on user profile traits to add or remove people.
Does Azure Active Directory log the queries a user runs inside a database?
No, the directory only logs sign-in events and token requests when a session starts. It does not track or filter the SQL queries or shell commands run inside the target system.
Related guides
In this post