HowTo: Add Managers to Employees in Microsoft Azure / Entra AD

Adding a Manager to an Employee in Azure AD

Defining managers for each employee in CyberHoot is very important.  Employee managers are Carbon Copied (CC’d) on reminder emails sent to employees.  This only happens when an Employee has not completed an assignment by the due date. 

The moment an assignment is completed, CyberHoot stops sending reminders for that assignment.  All emails sent contain reminders for all outstanding assignments.

HowTo: Add Managers in Microsoft Azure AD / Entra ID:

CyberHoot will pull in managers assigned to users automatically from Microsoft Entra if you have assigned them to each User.  Here’s instructions for how to do that.

Set Managers in the Microsoft Portal:

  1. Navigate to Microsoft Entra ID / Azure AD portal and select “Users” from the left-hand menu.
  2. Click on an employee’s name to open their profile, then select “Edit properties.”
  3. Under the “Job info” tab, click “Edit” next to “Manager.”
  4. Search for and select the employee’s manager.
  5. Click “Save” to update the reporting relationship.

Repeat these steps for each employee as needed.

Source: How to setup your Org Chart in Microsoft Entra/Azure AD.

Set Managers Using PowerShell:

  1. Use the Set-AzureADUserManager cmdlet to update a user’s manager in Azure AD.
  2. The syntax is Set-AzureADUserManager -ObjectId “<UserObjectID>” -RefObjectId “<ManagerObjectID>”
  3. Replace <UserObjectID> with the Object ID of the employee and <ManagerObjectID> with the Object ID of the manager.

This method is particularly useful for bulk updates or automating the process.

Source: How to use powershell to update user fields in Microsoft Entra/Azure AD.

Additional Azure Sync Details:

  • Azure syncing runs in the background every 4 hours automatically.  
  • Administrators can force an immediate synchronization in the CyberHoot Platform here:  Admin -> User/Group/Manager -> Azure Settings.  Scroll to bottom and press “Sync Now” button.
Share this on your social networks. Help Friends, Family, and Colleagues become more aware and secure.