Create Users and Groups
Member and Guest Identities
Microsoft Entra ID distinguishes between Member users and Guest users to maintain a secure environment. Internal employees are typically created as Member users and receive broad access to directory features, while external collaborators are invited as Guest users with highly restricted permissions. Setting specific attributes for these profiles ensures that users receive only the exact level of access they need to complete their tasks. This separation of roles forms the foundation of a least privilege security model across the cloud environment.
Authentication and Access Policies
Advanced identity security uses Conditional Access policies to enforce Multi-Factor Authentication (MFA) based on real-time signals. These policies evaluate specific conditions, such as the user's location or device health, before granting or blocking access to resources. To automate this process, administrators can enable risk-based policies using Microsoft Entra ID Protection to automatically detect and respond to suspicious sign-in behavior. Passwordless authentication allows users to sign in securely using biometrics or security keys, while Temporary Access Pass (TAP) provides a time-limited passcode for initial device setup or credential recovery. Self-Service Password Reset (SSPR) gives users the ability to safely reset their own passwords without administrator help.
Lifecycle Management and Managed Identities
Managing the user account lifecycle requires automating identity creation and deletion to eliminate potential security gaps. The provisioning state automatically creates accounts in cloud systems based on authoritative data from HR software, while the deprovisioning state immediately revokes access when an employee leaves the company. Removing these stale accounts prevents unauthorized users from accessing company resources. To secure connections between services, administrators use Managed Identities to allow Azure resources to authenticate without storing hardcoded credentials. A system-assigned managed identity is tied directly to the lifecycle of a single Azure resource, while a user-assigned managed identity exists as a standalone resource that can be shared across multiple services.
Identity Governance
Maintaining long-term security requires administrators to regularly evaluate permissions through Access Reviews and Entitlement Management. These review systems prompt resource owners or managers to confirm if a user still requires access to a resource. Automating these evaluations for external guests helps identify inactive accounts and securely removes access when collaboration ends.
Access Management and Groups
Microsoft Entra ID simplifies access management by grouping individual users who require similar permissions to perform their tasks. Assigning permissions to a group rather than to individual users reduces administrative effort and ensures consistent access control. Microsoft Entra groups can manage access to Azure services, SharePoint sites, on-premises resources, and external SaaS apps. Administrators must manage access separately for each cloud resource to ensure that security boundaries are strictly enforced.
Assignment and Group Types
When creating a group, administrators must choose how to control its membership. Membership can be handled manually, dynamically based on user attributes, or synchronized from an external source. Direct assignment means the resource owner manually assigns specific users directly to a resource, while group assignment grants access to all members of a group assigned to the resource. Rule-based assignment automatically updates group membership using queries based on user attributes, and external authority assignment manages membership through an outside directory such as an on-premises system. Organizations should implement standardized group management strategies including self-service group management, sensitivity labels, dynamic groups, and periodic access reviews.
Group Types and Role Assignment
Administrators must choose the correct group type and membership method during creation. Security groups are designed to secure access to applications and resources, while Microsoft 365 groups are configured to facilitate collaborative work with shared mailboxes and calendars. Granting administrative permissions requires a structured role assignment that binds an identity to a specific set of permissions within a defined boundary of resources. The security principal is the user, group, or service principal receiving the permissions, the role definition is the specific collection of read, write, or delete permissions being granted, and the scope is the exact boundary of Azure resources where the permissions are active.
Dynamic Membership Rules
Using dynamic memberships in Microsoft Entra ID automates the management of Security groups and Microsoft 365 groups based on user attributes. Administrators write rules that evaluate attributes like job title or department, and the system automatically updates group membership when these attributes change. To construct a dynamic group, administrators build membership rules using specific user or device characteristics, such as automatically adding any user whose department attribute is marked as "Sales". Each group can only target either users or devices dynamically, so a single group cannot mix dynamic rules for both types.
Group-Based Access and Collaboration
Group-based access control is the primary method for managing resource permissions at scale. Instead of granting permissions directly to individuals, administrators assign roles to groups and let membership define who has access. Organizations can bundle groups, applications, and SharePoint sites into access packages with built-in approval workflows. Through Microsoft Entra External ID and B2B collaboration, external guests can access internal applications while continuing to use their own credentials. This integration relies on entitlement management and automated workflows to onboard external users and clean up their access when projects conclude.
Security Policies and Just-In-Time Access
To enforce high-security standards, organizations combine dynamic groups with advanced security tools. Conditional Access policies enforce strict rules such as requiring MFA or blocking non-compliant devices from accessing group resources. Furthermore, Privileged Identity Management (PIM) protects sensitive groups by requiring users to request just-in-time activation before their administrative permissions become active. Best practices include automating membership with dynamic rules, leveraging group-based licensing, conducting periodic access reviews, enabling self-service group management, assigning multiple owners to prevent orphaned groups, and using sensitivity labels to classify groups.
Manage User and Group Properties
User Lifecycle Automation
Managing the identity lifecycle in Azure follows the Joiner-Mover-Leaver (JML) pattern, which ensures users have the correct access from their first day and lose it immediately when they leave. Organizations use HR-driven provisioning to synchronize data from authoritative sources such as Workday or SuccessFactors directly into Microsoft Entra ID, reducing manual errors. Lifecycle Workflows then trigger specific tasks based on employment milestones, such as granting a new hire access to a team mailbox or removing access when an employee is terminated.
Group Management and Licensing
Efficient resource allocation relies on groups that use either Assigned or Dynamic membership. Dynamic groups update membership automatically based on user attributes such as department or job title, making them essential for managing access at scale without manual intervention. Common group types include Security Groups for shared resource access, Microsoft 365 Groups for collaboration with shared mailboxes and calendars, and Dynamic Groups that update based on attribute rules. Administrators can also use Group-based licensing, which automatically assigns software seats to users when they join a licensed group and removes them when they leave.
External Identities and Entitlement Management
External Identities and B2B Collaboration let organizations share resources securely with partners and vendors who use their own credentials to sign in. The Entitlement Management feature bundles groups, applications, and SharePoint sites into Access Packages, which guests can request through the My Access portal. Automated lifecycle controls create guest accounts only upon approval and remove them once the access period expires, providing a streamlined self-service experience and ensuring external access is temporary.
Access Security and Governance
Conditional Access acts as a policy engine that evaluates signals such as user location, device compliance, and sign-in risk before granting access to resources. Multi-Factor Authentication (MFA) adds an extra layer of protection. For sensitive accounts, Privileged Identity Management (PIM) provides Just-In-Time (JIT) access, reducing the risk of permanent administrative privileges. Long-term security is enforced through Access Reviews, which require resource owners to periodically certify that users still need their assigned permissions, and Microsoft Entra ID Protection, which uses machine learning to detect user risks like leaked credentials or impossible travel patterns.
Group Types and Membership
Microsoft Entra ID uses Security groups and Microsoft 365 groups to manage access and collaboration. Security groups control access to shared resources such as applications or SharePoint sites and can include users, devices, and service principals. Microsoft 365 groups focus on teamwork, allowing external members to participate in shared conversations and files. Using groups instead of assigning permissions to individual users helps maintain the principle of least privilege across the organization.
Dynamic Membership Rules
Administrators choose between Assigned membership, where users are added manually, and Dynamic membership, which uses rules based on attributes like department or location to automatically add or remove members. Dynamic User Groups use user attributes such as Job Title, while Dynamic Device Groups use device attributes such as OS Version. Dynamic groups require a Microsoft Entra ID P1 license for each unique user member.
Role Delegation via Groups
Assigning Administrator roles to groups allows efficient delegation of management tasks without over-provisioning access. Permissions are granted based on job functions rather than individual identities, which is more scalable. For example, the Application Administrator or Cloud Application Administrator roles can be assigned to a group, providing granular control over enterprise apps without giving the powerful Global Administrator role to users who only need specific management abilities.
Governance and Advanced Structures
Regular Access Reviews ensure group memberships stay accurate by requiring periodic re-certification of a user's need for access. Privileged Identity Management (PIM) can be used to grant just-in-time access to groups. Assigning at least two owners to every group ensures continuity if one administrator is unavailable. Advanced structures include Nested groups, where one security group is added as a member of another. Members of the parent group inherit the permissions assigned to the child group, but nesting is only supported for Security groups, not Microsoft 365 groups. Groups synced from on-premises Active Directory must still be managed at the source rather than in the Azure portal.
User Attributes Configuration
Configuring user properties in Microsoft Entra ID involves updating the attributes that define each account, such as the Name (display name), Email (primary email address), and Roles (permissions and access levels). Accurate configuration ensures that users have appropriate access to resources and that their information is correctly represented for communication and collaboration.
Role Assignment Process
To assign a role, an administrator first determines the scope of the assignment—whether it applies to a management group, subscription, resource group, or a specific resource. They navigate to the resource in the Azure portal, open the Access control (IAM) page, and go to the Role assignments tab. From there they click Add > Add role assignment and select the appropriate role on the Role tab. For assigning privileged roles with higher levels of access, the administrator selects the Privileged administrator roles tab, which lists roles that have broad permissions within the directory such as Global Administrator or Application Administrator.
Manage Licenses in Microsoft Entra ID
Analyzing License Usage and Troubleshooting
Interpreting license usage reports helps manage costs and compliance by checking how many licenses are available versus how many are assigned for products like Microsoft Entra ID P1 or P2. These reports also show feature utilization, revealing which specific services within a license such as Conditional Access are actually being used. Diagnosing assignment failures often means checking for prerequisite and dependency issues, such as trying to assign an add-on license without first assigning its required base license. Other conflicts occur from service plans that cannot be assigned together within a product or across products, or from insufficient available licenses in the tenant.
Implementing Corrective Actions
For a missing prerequisite license, administrators must assign the required base license to the same user or group. If service plans are conflicting, administrators need to review and adjust the enabled services within the assigned product licenses. When running out of licenses, administrators must either purchase more or remove assignments from other users to free up stock. After making these changes, use the Reprocess function to force the system to re-evaluate and apply the licenses correctly. Microsoft Entra audit logs are essential for deeper troubleshooting, filtering for activities such as "Set group license" to show a detailed history of changes.
Group-Based Licensing
Group-based licensing is the primary method for managing licenses at scale in Microsoft Entra ID. Instead of assigning licenses to users one by one, administrators assign one or more product licenses to a security group. When a user joins that group, they automatically receive the licenses; when they leave, the licenses are automatically removed. Groups can have static or dynamic membership, with dynamic groups using attribute-based rules to automatically include or exclude users. For example, a rule could add all users in the Marketing department to a group that receives specific licenses.
Group Types and Requirements for Licensing
Licenses can be assigned to Security Groups that are cloud-only, synced from on-premises via Microsoft Entra Connect, or governed by dynamic membership rules. A critical prerequisite is that each user must have a Usage Location set, or they will inherit the directory's default location. Nested groups are not supported for license inheritance; only the direct, immediate members of a licensed group will receive the licenses. Each unique user in a licensed group needs at least an Entra ID P1 license, and the tenant must have enough licenses to cover all unique members.
Service Plan Management
Within a product license, administrators can choose to enable or disable specific service plans at the group level. This granular control is useful when an organization wants to assign a product like Microsoft 365 but is not ready to roll out all its features. For instance, administrators could disable the Yammer service plan for a group while enabling SharePoint and Exchange. This allows tailoring the user experience and managing the rollout of features according to the organization's readiness and policy.
Manage External Users
Controlling External Collaboration
You can manage external collaboration through tenant-wide settings that define invitation policies and guest user permissions. Key configurations include determining who can invite guests, such as restricting this ability to administrators or specific roles like the Guest Inviter. Administrators can set guest user access levels, limiting their ability to view directory information, with options ranging from granting the same access as members to restricting guests to only their own profile data. Another critical feature is the use of allowlists or blocklists for specific email domains to permit or deny invitations from entire organizations.
Cross-Tenant Access Settings
For collaborating with other Microsoft Entra ID organizations, cross-tenant access settings provide granular control over both inbound and outbound access. Administrators can define a default policy that applies to all external tenants, such as blocking all inbound access by default, and then create organization-specific policies to allow access for trusted partners. These policies can be scoped to specific users, groups, or applications within the external tenant. Furthermore, administrators can trust multifactor authentication (MFA) and device compliance claims from trusted partners, allowing users who have already met these requirements in their home tenant to access resources without repeated prompts.
External User Lifecycle and Access
Governance extends to the entire lifecycle of external users through Microsoft Entra entitlement management, which creates access packages published to connected organizations. This setup ensures automatic, time-bound access to resources with built-in approval workflows and access reviews. For user registration, API connectors can be used during self-service sign-up to collect custom attributes for access assignments. Administrators must establish processes to review and remove users who no longer need access using tools like access reviews and PowerShell scripts.
Secure Collaboration Across Microsoft Services
External collaboration settings integrate with Microsoft 365 services like Teams, SharePoint, and OneDrive. It is recommended to enable SharePoint and OneDrive integration with Microsoft Entra B2B to leverage its authentication and management capabilities. External sharing policies can be configured within these services, but they cannot be more permissive than the settings configured in Microsoft Entra ID. This dependency ensures a consistent and secure collaboration experience across all Microsoft platforms.
Guest Invitation and Onboarding
Microsoft Entra B2B collaboration allows organizations to securely share applications with external partners by using their existing identities. This process supports various identity providers, including social accounts like Google or enterprise-level SAML federation. Administrators can initiate invitations through the Azure portal, PowerShell, or the Microsoft Graph API to streamline the onboarding process. To scale these efforts, self-service sign-up user flows enable guests to register themselves while allowing the host to collect specific user attributes.
Invitation Redemption Process
The invitation redemption process occurs when a guest user follows a link in an email or uses a direct link to access a resource. If a user lacks a Microsoft account, email one-time passcodes (OTP) serve as a fallback authentication method to ensure access. Successful redemption creates a guest user object in the directory, typically identified by a unique User Principal Name (UPN) format containing the "#EXT#" identifier. Troubleshooting often involves checking allowlists or blocklists in the external collaboration settings to ensure the user's domain is permitted.
Lifecycle Automation and Account Clean-Up
Managing the lifecycle of guest accounts involves tracking their status from onboarding to eventual removal. Entitlement management helps automate this by using access packages, which define the resources and duration of access for external users. Users who lose all assignments can be automatically removed from the tenant to prevent the accumulation of stale accounts. Regular access reviews are essential for attestation, ensuring that only those with a current business need retain their permissions.
Identity Type Transitions and Attribute Management
Administrators must manage the UserType attribute, which distinguishes between Guest and Member relationships within the tenant. While most external users are guests, some may be converted to members if they belong to a larger corporate structure. Transitioning internal users with local credentials to B2B accounts is a recommended practice to improve security and reduce administrative overhead. Key management tasks include updating custom attributes via API connectors, synchronizing proxyAddresses for consistent identification, and monitoring the invitation state to resend pending invites.
Guest Access Controls
Guest Access in Azure allows external users to collaborate securely with the organization. This process involves configuring who can invite guests, managing their permissions, and ensuring compliance with security policies. To control who can invite guest users, administrators can restrict invitations to administrators and users with the Guest Inviter role, allow all Member UserType accounts to invite guests, or determine if Guest UserType accounts can invite other guests.
Troubleshooting Guest Redemption
Common issues with invitation redemption include the user domain not being on an allowlist or partner tenant restrictions blocking collaboration. If the user is not in a partner Microsoft Entra tenant, administrators can utilize email one-time passcodes. Once authenticated, administrators can control what external users can access by limiting guest access to directory browsing, blocking access to employee-only apps using Conditional Access policies, or completely blocking guest access to the Azure portal.
Managing Permissions with Role Assignments
Administrators should establish a process to regularly review and remove users who no longer need access, including external users and those with member accounts. Microsoft Entra ID Governance facilitates this lifecycle process and reduces security exposure. Azure role-based access control (Azure RBAC) manages permissions for external users, granting them only the access they need without exposing the entire infrastructure.
Implementing SSPR Policies
Self-Service Password Reset (SSPR) enables users to change or reset their passwords without helpdesk intervention, reducing support calls and downtime. With SSPR, users follow on-screen prompts to verify their identity and regain access when they forget their password or get locked out. This feature must be enabled and properly configured in the Microsoft Entra admin center under Password Reset > Properties, where administrators choose which users can access SSPR.
Authentication Methods
To define authentication methods, navigate to Password Reset > Authentication methods and select the number of methods users must register. Common methods include Mobile phone (SMS or call), Email, and Security questions. Administrators can set the minimum and maximum number of methods required and specify which methods are available for all users. Each user must have at least two contact options to comply with policy settings that demand multiple verification steps.
Notification Settings
Notification settings help keep users informed and secure during SSPR. By default, reset confirmation emails are sent automatically after a successful password change. Administrators can customize the Contact your administrator link in the reset portal to point to an internal support URL or email. If preferred, administrators can disable the default admin email notifications or replace the contact link with a webpage URL for support.
Password Writeback
Password writeback is a critical feature of Self-Service Password Reset that allows password changes made in the cloud to synchronize with an on-premises Active Directory Domain Services (AD DS) environment in real-time. This ensures that users maintain a consistent password across hybrid identities, whether the organization uses Password Hash Synchronization, Pass-through Authentication, or Federation. The on-premises service account used by Microsoft Entra Connect or Cloud Sync requires specific permissions to manage user objects, including Reset password, Write lockoutTime, Write pwdLastSet, and Extended rights for "Unexpire Password".
Password Writeback Operational Flow
The operational flow of a password reset involves a secure, multi-tiered process that uses an Azure Service Bus relay to communicate over outbound port 443. When a user submits a new password, it is encrypted using a 2048-bit RSA key and then wrapped in a package encrypted with 256-bit AES-GCM. No inbound firewall rules are required because the on-premises agent initiates all communication with the cloud. This architecture ensures that sensitive plaintext passwords are never exposed during the synchronization process.
Troubleshooting Writeback Issues
When diagnosing issues, administrators should first confirm network connectivity to the specific Service Bus endpoints and ensure TLS 1.2 is enabled on the sync server. Common errors often stem from incorrectly configured firewall ports or the lack of Microsoft .NET Framework 4.8. If writeback fails for specific users, administrators should check if permission inheritance is disabled on their account in Active Directory, as this prevents the service account from applying changes to those objects. Password writeback enforces all on-premises password policies, including complexity, history, and age, and will fail for users who are part of a protected group in Active Directory.
User Registration for SSPR
Administrators can require users to register their contact information when they sign in to applications like Microsoft 365 or the Entra admin center. This registration workflow ensures that the necessary data is available before a user actually needs to recover their account. Administrators can also set a reconfirmation period between 0 and 730 days to ensure that user contact information remains accurate over time.
Authentication Methods Available
Several authentication methods are available that an administrator can enable for their organization to provide flexibility. These methods include Mobile app notification or code, Email and Mobile phone, Office phone (available for paid subscriptions), and Security questions and OATH tokens. Users can only use the methods that an administrator has specifically enabled in the authentication methods policy. If two methods are required, users can choose between a push notification or a code.
Administrator Security Standards
Accounts assigned to Azure administrator roles are subject to a stricter security standard called the two-gate password policy. This default policy requires two forms of authentication and specifically prohibits the use of security questions for these high-privilege users. This ensures a stronger security posture for those who have the power to manage the entire tenant. These specific administrator settings are managed by Microsoft and cannot be modified by the organization's internal admins.