🎉 Our Office 365 Reporting Tool is now available in Azure Marketplace 🚀
This website uses cookies to improve your experience. We'll assume you're ok with this. Know more.
Azure AD

How to Find Users Without a Manager in Microsoft 365

In a large organization with multiple management layers, every employee must have an assigned manager to maintain clear reporting lines and accountability. However, Entra ID users with no manager may go unnoticed, which might lead to compliance issues and mismanagement. This guide helps admins to find all unmanaged Microsoft 365 users to address gaps in the organizational hierarchy.

Find Microsoft 365 Users with No Managers Using PowerShell

Microsoft 365 Permission Required
User.Read.All Permission Least Privilege
Global Admin Most Privilege
  • Connect to the Microsoft Graph PowerShell module using the cmdlet below.
  • Windows PowerShell Windows PowerShell
     Connect-MgGraph -Scopes "User.Read.All"
  • Run the cmdlet below to retrieve all Microsoft 365 users with no managers in your organization.
  • Windows PowerShell Windows PowerShell
     Get-MgUser -All -ExpandProperty Manager | Where-Object { -not $_.Manager.AdditionalProperties["displayName"] } | Select-Object UserPrincipalName, DisplayName, JobTitle  
Find Microsoft 365 Users with No Managers Using PowerShell
The cmdlet retrieves all users without a manager assignment and displays their UserPrincipalName, DisplayName, and JobTitle.

Export Entra ID Users Without a Manager Using PowerShell Script

Microsoft 365 Permission Required
User.Read.All Permission Least Privilege
Global Admin Most Privilege
  • Retrieving all required properties of Entra ID users without managers involves multiple filtering and selection in the above PowerShell cmdlet.
  • To simplify this task, we've developed a PowerShell script that exports all users without managers into a CSV file.
  • The report also provides essential user attributes such as username, account type, department, user type, and more, which helps admins decide if assigning managers is necessary.
  • Download and run the following PowerShell script with the -UsersWithoutManager parameter.

  • Windows PowerShell Windows PowerShell
     ./GetM365ManagerAndDirectReports.ps1 -UsersWithoutManager
Export Entra ID Users Without a Manager Using PowerShell Script
GetM365ManagerAndDirectReports.ps1
  • Note: Listing users without a manager through admin portals is not possible and it requires manually checking each user account to verify manager assignments.

Streamline approval workflows by identifying unmanaged users in your Microsoft 365!

AdminDroid's Microsoft 365 user manager reporting tool provides admins with a streamlined interface to effortlessly track users without managers, user role changes, manager assignments, and more. This simplifies user management and ensures proper oversight while improving organizational structure and compliance.

Maintain an Updated Organizational Hierarchy by Tracking Microsoft 365 Managers

Monitor all managers in Microsoft 365 and their properties such as enabled or disabled status, internal or external users, assigned roles, license status, etc., to update records after role or department transitions.

Set Alerts for Newly Created Entra ID Users to Track Manager Assignments

Set alerts for the created users report in AdminDroid to receive notifications when a new user is added to the M365 tenant to quickly review and assign missing properties like a manager or department.

Audit Manager Changes in Your Microsoft 365

Audit user manager changes to periodically monitor manager updates, track changes, detect discrepancies, and verify the proper assignment or removal of managers across your organization.

Visualize Manager Assignment Counts with the Microsoft 365 User Dashboard

With the Azure AD user dashboard, visualize key insights like manager counts, users without managers, etc., to streamline organizational planning, and enhance user management.

Analyze Entra ID Managers and Direct Reports to Balance Workloads

Gain insights into managers and direct reports to identify overloaded managers and reassign users as needed to balance workloads.

Easily Export M365 Users and Their Assigned Manager Report

Export the Microsoft 365 users with manager report to detect inconsistencies in reporting chains and ensure accurate manager-user relationships for seamless approval workflows.

Overall, AdminDroid’s Azure AD management tool provides insights into user status, auditing deleted accounts, tracking manager assignments, and enhances Microsoft Entra user management. It bridges the gap between unmanaged users and management by offering clear visibility into users without direct managers and their activities.

Explore a full range of reporting options

Important Tips

Integrate the step of assigning a manager into the M365 user onboarding workflow to ensure seamless user provisioning and a well-defined reporting structure.

Leverage Org Explorer in Outlook to visualize reporting structure and streamline assignments while ensuring an organized hierarchy.

When an employee transfers to a different department, immediately update the user profile with the new manager to prevent confusion within the management layer.

Common Errors and Resolution Steps

Having trouble managing the list of Microsoft 365 users without managers? Here are the most common errors and their solutions!

Error Get-MgUserDirectReport : One or more errors occurred.

This error typically occurs when you have multiple versions of the MS Graph PowerShell module installed.

Fix To fix the issue, uninstall all older versions of the Microsoft Graph PowerShell module.
#To identify all installed versions of the Microsoft Graph PowerShell module.
Get-Module -Name Microsoft.Graph -ListAvailable

#To uninstall a specific version of the Graph PowerShell module.
Uninstall-Module -Name Microsoft.Graph -RequiredVersion "<Version>" -Force

Error ./GetM365ManagerAndDirectReports.ps1 cannot be loaded because running scripts is disabled on this system.

This error occurs when you try to run the GetM365ManagerAndDirectReports.ps1 script in PowerShell, but the system's execution policy prevents running unsigned scripts.

Fix To resolve this error, set the execution policy as Unrestricted before running the script as shown below.
Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Error Only 1 item can be selected.

This error occurs when you attempt to select two or more users as the manager in the Entra admin center for a single user.

Fix In Microsoft 365, a user can have only one manager. Select only one user as the manager.

Error Get-MgUser: Insufficient privileges to complete the operation. Status: 403 (Forbidden).

This error occurs when the 'Connect-MgGraph' cmdlet is executed without specifying the required permissions.

Fix Define the necessary scopes when connecting to the Microsoft Graph PowerShell module as shown below.
Connect-MgGraph -Scopes "User.Read.All"
Frequently Asked Questions

Manage Microsoft 365 Users Without a Manager to Streamline Approvals and Enforce Accountability

1. How to bulk assign managers to all unmanaged users in Microsoft Entra ID?

Consider a scenario where your organization recently hired interns and later transitioned them into full-time employees. If their guest accounts were converted to internal user accounts without assigning managers, they could be left without proper supervision. This lack of oversight can disrupt workflows, delay approvals, and create accountability gaps in your Microsoft 365 organization.

Set manager for multiple unmanaged users in Entra ID

With the latest Bulk Edit Users feature in the Microsoft Entra admin center, you can assign a manager to multiple users simultaneously.

  • Go to the All Users page in the Microsoft Entra admin center.
  • Select the unmanaged users for bulk manager assignment.
  • Click Add Manager, choose a manager, and hit Select to assign the manager to all the selected users.
entra-id-bulk-add-managers-to-users

But this method is inefficient as it requires manual checks and may overwrite existing managers. Therefore, we built a PowerShell script with multiple use cases to assign user managers. This script has the capability to assign a specific manager only to all unmanaged users and assign managers based on the user properties of unmanaged users.

SetAzureADUserManager.ps1

Bulk assign manager to all the users without managers using PowerShell script

  • To bulk assign a manager, download and run the above PowerShell script with the -GetAllUnmanagedUsers parameter.
  • Replace the <RefObjId> with the manager's user object ID to assign a manager to all unmanaged Microsoft 365 users.
  • After adding a manager to all the unmanaged users, the execution report will be saved in a .txt file.
script-exported-log-report-unmanaged-users
.\SetAzureADUserManager.ps1 -GetAllUnmanagedUsers -ManagerId "<RefObjId>"

Add a manager to Microsoft 365 users based on unmanaged user properties

  • To bulk assign managers to unmanaged users based on specific properties, download and run the above script in PowerShell using the -ProcessOnlyUnmanagedUsers parameter.
  • Filter users by specifying attributes such as department, job title, company name, city, and more as comma-separated values, as shown in the execution example.
  • Finally, specify the manager by providing the manager’s UserPrincipalName or ObjectId.
script-assign-manager-based-on-user-properties
.\SetAzureADUserManager.ps1 -ProcessOnlyUnmanagedUsers

2. How to find all direct reports of a manager in Microsoft 365?

In Microsoft 365, it is essential to track users under a specific manager to maintain departmental framework and chain of command. Whether for auditing, workflow automation, or management insights, you can easily find the number of users reporting to a manager using PowerShell or the Entra admin center.

List all direct reports under a manager using Entra admin center

  • Log in to the Microsoft Entra admin center.
  • Navigate to Identity»Users »All users and select the Add Filter option.
  • Set the filter to Manager == <Manager UPN> and click Apply.
entra-direct-reports-of-a-manager

Get all Microsoft 365 users under a manager using PowerShell

Connect to the Microsoft Graph PowerShell module with the required permission using the cmdlet below.

Connect-MgGraph -Scopes "User.Read.All"

To find all the direct reports of a specific manager, run the below command.

Get-MgUserDirectReport –UserId "<Manager’s UPN>" | Select-Object -ExpandProperty AdditionalProperties|Foreach{
	[PSCustomObject]@{
		'Display Name' = $_.displayName
		'User Principal Name' = $_.userPrincipalName 
	}
}

Replace <Manager’s UPN> with the actual UserPrincipalName of the manager whose direct reports you want to retrieve.

ps-cmdlet-direct-reports-of-a-manager

3. Why is it important to track users without a manager in Microsoft 365?

A small startup with fewer than 50 employees may not require managers for direct reports, as a limited workforce results in minimal friction within the management layer. However, in mid-sized or large enterprises, having managers at each level simplifies employee management. Users without a manager can impact task delegation, access reviews, and overall organizational efficiency.

Here are some of the main challenges faced by Microsoft 365 organizations with users who have no manager:

  • Lack of Oversight: Without a designated Azure AD manager, users may lack proper supervision. This can lead to decreased accountability and insufficient monitoring of their tasks and performance.
  • Workflow Inefficiencies: Many workflows and approval processes in Microsoft 365 rely on hierarchical structures. Users without managers can disrupt these workflows, causing delays and inefficiencies.
  • Reporting and Compliance Issues: Clear organizational hierarchies are essential for accurate reporting and meeting compliance requirements. Users with no managers can create gaps in reports and dashboards, potentially risking regulatory compliance and auditing processes.
  • Reduced Support and Guidance: Managers play a crucial role in providing support, guidance, and career development for their team members. Users without managers may miss out on these important aspects, potentially affecting their job satisfaction and growth.

To avoid these mismanagement issues, it is best to ensure that every user within the organization is assigned a manager.

4. How to automate daily notifications for Entra ID users without a manager?

In Microsoft 365, users who do not have managers can often go unnoticed, potentially resulting in delayed approvals, missed critical updates, or unmonitored performance issues. For example, when employees switch roles or move to a different department, failing to update their manager assignment can cause workflow disruptions and communication gaps.

Unfortunately, Microsoft 365 does not offer a simple method to configure periodic notifications for such users.

Stay in control of your organization's hierarchy with AdminDroid’s scheduling capability to monitor unmanaged users.

  • Go to the 'Users Without Managers' report in Admindroid and click Schedule ⏰ in the top-right corner.
  • Set the notification frequency as daily, weekly, or monthly as needed to get it delivered via the mailbox.
  • Choose the export format for the report, add recipients of your choice, and click Save.
admindroid-users-without-managers-schedule

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs
x
Delivering Reports on Time
Want a desired Microsoft 365 reports every Monday morning? Ensure automated report distribution and timely delivery with AdminDroid's Scheduling to your email anytime you need.
Delivering Reports on Time
Schedule tailored reports to execute automatically at the time you set and deliver straight to the emails you choose. In addition, you can customize report columns and add inteligent filtering to the activities just from the previous day to suit your Microsoft 365 report requirements.
Set It, Schedule It, See Results- Your Reports, Your Way, On Your Time!
Time Saving
Automation
Customization
Intelligent Filtering
Give Just the Right Access to the Right People
Grant fine-tuned access to any Microsoft 365 user with AdminDroid’s Granular Delegation and meet your organization’s security and compliance requirements.
Give Just the Right Access to the Right People
Create custom roles loaded with just the right permissions and give access to admins or normal users within AdminDroid. The result? A streamlined Microsoft 365 management experience that aligns your organization's security protocols and saves your invaluable time and effort.
Align, Define, Simplify: AdminDroid's Granular Delegation
Smart Organizational Control
Effortless M365 Management
Simplified Access
Advanced Alerts at a Glance
Receive quick notifications for malicious Microsoft 365 activities. Engage with the AdminDroid’s real-time alert policies crafted to streamline your security investigations.
Advanced Alerts at a Glance
Stay informed of critical activities like suspicious emails and high-risk logins, bulk file sharing, etc. Through creating and validating ideal alert policies, AdminDroid provides a comprehensive approach to real-time monitoring and management of potential threats within your organization.
AdminDroid Keeps You Always Vigilant, Never Vulnerable!
Proactive Protection
Real-time Monitoring
Security Intelligence
Threat Detection
Merge the Required Data to One Place
Combine multiple required columns into one comprehensive report and prioritize the information that matters most to you with AdminDroid’s Advanced Column Customization.
Merge the Required Data to One Place
This column merging capability offers a flexible way to add different columns from various reports and collate all the essential data in one place. Want to revisit the customized report? Save it as a 'View’, and your unique report is ready whenever you need it.
Merge with Ease and Save as Views!
Custom Reporting
Unique View
Desired Columns
Easy Data Interpretation
Insightful Charts and Exclusive Dashboards
Get a quick and easy overview of your tenant's activity, identify potential problems, and take action to protect your data with AdminDroid’s Charts and Dashboards.
Insightful Charts and Exclusive Dashboards
With AdminDroid charts and dashboards, visualize your Microsoft 365 tenant in ways you've never thought possible. It's not just about viewing; it's about understanding, controlling, and transforming your Microsoft 365 environment.
Explore Your Microsoft 365 Tenant in a Whole New Way!
Executive overviews
Interactive insights
Decision-making
Data Visualization
Efficient Report Exporting for Microsoft 365
Downloading your reports in the right file format shouldn’t be a hassle with AdminDroid’s Report Export. Experience seamless report exporting in various formats that cater to your needs.
Efficient Report Exporting for Microsoft 365
Navigate through diverse options and export Microsoft 365 reports flawlessly in your desired file format. Tailor your reports precisely as you need them and save them directly to your computer.
Take Control, Customize and Deliver- Your Office 365 Data, Exported in Your Way!
Easy Export
Seamless Downloading
Data Control
Manage Microsoft 365

Get AdminDroid Office 365 Reporter Now!