
PatrickT.70539 (Customer) asked a question.
We have Microsoft Office 365 set up using the WS-Federation integration where Okta serves as the IdP. We have it set to use User Sync to push allowed attributes from Okta to AAD. The one exception to this is the "Manager" field. We cannot seem to get that to push correctly.
Here's what we've tried thus far:
- hasDirectoryUser()?findDirectoryUser().managerDn:null
- user.manager
- user.managerId
The first expression is what Okta has set by default by that doesn't seem to work even when the manager's user profile has a Display Name set.
Is anybody aware of what we might be doing incorrectly? Thanks.

Hello
This is Baver from Okta support.
Related to your issue, you will require to have an AD integration with Okta in order to push the Manager from Okta into O365.
For Okta mastered users unfortunately, even though you have a value added for the Manager, it will not be pushed into O365.
If you have any additional questions regarding this topic, please open a Support Case and we would be happy to assist.
Thank you
Baver Deacu
Technical Support Engineer
Okta Global Customer Care
This seems to be the case as well for HR mastered users (https://support.okta.com/help/s/question/0D51Y00008C2LWz/office-365-manager-updates?language=en_US). Wondering if anyone can provide more info on the "only workaround" using powershell commands.