How to include the line manager value from BambooHR in Azure AD sync?
Hello,
I do have this workflow that is triggered when user information like mobile number, job title, location, and line manager is changed in BambooHR, and it should auto-update them in MS Entra (Azure AD).
Though currently it's updating the mobile number and job title, it's not updating the line manager when it's triggered. I noticed that there is no manager input section in the Azure Active Directory step that allows one to include the “Reporting to” value as an input from the outputted value data from BambooHR step 1.
See the below screenshot; there is no manager placeholder on the Azure Active Directory section to input the "Reporting to" value from the BambooHR step.
Any idea on how I can work around it to include the "Reporting to" from BambooHR as an input in the Azure AD step?
Thank you in advance.
Kind Regards
Page 1 / 1
Hi @Zzdie,
Welcome to the Community.
To update the 'Reporting to' field in Azure AD when it changes in BambooHR via Zapier, you'll need a workaround since Azure AD lacks a direct 'manager' field. Use a 'Webhooks by Zapier' action with a 'PATCH' request to the Azure AD API. Configure the request with the appropriate URL, headers (Authorization and Content), and data containing the new manager's ID. This ensures Azure AD correctly updates the reporting structure.
Please note that this is a more advanced setup and requires some familiarity with APIs and Zapier. Please don't hesitate to reach out if you need further assistance setting this up.
Hi there, @Zzdie 👋
I just came across this and spotted our Support team added you to an existing feature request for the ability to make the “Manager (Reports To)” field available in Update User (Azure Active Directory)actions. While we can’t guarantee if or when this will be added, we’ll definitely be sure to notify you via email if it becomes available!
In the meantime, I wanted to note that Jammer’s suggestion of using a Webhooks action won’t work as Azure’s API would likely require OAuth which the Webhooks app doesn’t support. However, you could potentially use an API Request (Beta) action instead, as it would automatically handle the authentication side of things for the request. If you’ve not worked with API Request actions before I’d recommend checking out our Create an API Request action guide to get started.
If you give that a try and get stuck at all just let us know, happy to assist further! 🙂
Hello Team
I would like to request the “Manager (Reports To)” field available in Update User (Azure Active Directory)actions as well.
Thanks!
Hello @SamB
Sorry for the late response on this. I am currently trying to work myself out using the API Request (Beta) option and JavaScript to achieve this.
I do have three API request actions, though I am stuck at the last two options of getting a manager and patching it on user properties in Entra.
API Request 1: Get the employee work email.
API Request 2: Get the employee manager.
API Request 3: Patching the manager details onto employee details in Entra.
I suspect my second API request is not pulling the correct dynamic details needed on my last API request, or my first API request is not getting the right dynamic data from the script.
If this field will be added anytime soon, it will really help me out on the time spent trying to work on the right angle to this issue.
Regards.
Hi @Syamil Sumairi,
I have added you to the open feature request. We will keep you updated via email once the feature has been implemented.
@Zzdie,
Unfortunately, we have limited support for API Request Beta since API Request Beta is considered an advanced feature, so our support for it may be more limited. Not because we don't want to help, but because APIs can be tricky to troubleshoot since we can't see what's happening on the other side. Every API that you send a request to is going to have slightly different structures that are required.
This makes it hard for us to know why the request may be receiving errors or not working as expected, beyond taking a general look at what's showing in Zapier.
However, from what I can see based on your screenshot, it looks like the mapped Response Data Value ID data is missing. You might need to double-check the 4th step if it’s returning the correct data.