web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Workflow integration with Azure AD

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I have to implement purchase order approval workflow for a customer using managerial hierarchy, this means also setting up some data in the Human Resource module (employee, positions,...)

This does not seem unfeasible to me as I have done it in the past.

However, here my customer does not want to use the HR module- or at least it should not be the primary setup. Instead, he wants to configure all employees and positions from the Azure Active Directory. The reason is that he uses Azure AD as a central point for many other applications, and he wants to have the same behaviour with D365 F&O. He does not want to manage the D365 HR hierarchy independently.

1) is it possible in standard D365?

2) Has anyone configured this before?

I think this is feasible using Azure AD attributes or properties, where you can say this person is a manager, this is the n+1 level, etc..., which can be defined on the AAD level- but I am no AAD expert.

BUT, even if you manage to define those attributes on the AAD level, how do you retrieve these data in D365?

What is the impact on your workflow and hierarchy then?

It is quite unclear and I have not found any documentation on the topic

Thanks in advance

Kind Regards

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Johnny,

    I think it would be possible using Microsoft Graph: developer.microsoft.com/.../graph-explorer

    You can also check what API is used in Dynamics 365 Finance and Operations itself to import users from Azure AD. It might also have an option to read additional details, like the manager, but I'm not sure about that.

  • Community Member Profile Picture
    on at

    Hi André, thanks for your answer, but the customer does not want to use an external soft, so we will create an interface with all the fields that he wishes...

  • André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    Hi Johnny,

    In the meantime, I verified how Microsoft is integrating themselves with Azure AD. They are using a dll which is a MS Graph helper. If you reverse engineer the logic for importing users from Azure AD, you will find detailed code examples.

    I'm not sure if this dll will support the manager field, but a developer would be able to find out about the field details. You have to think of how you will manage the managerial hierarchy as this is based on the position hierarchy. In Dynamics 365 FinOps, you link workers to positions. The positions will have the details which other position will be the reports to (manager).

  • Jay De Profile Picture
    76 on at

    Hi Johnny, 

    Were you able to achieve the above and use the employees with their positions from the Azure Active Directory in D365 F&O? 

    One of my clients have a similar request and I would like to know if this possible and the steps needed to get it done.

    Thank you very much in advance for your reply.

    Jay

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 288 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 178 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans