Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Need help to fetch Director's email ID from the active directory

Posted on by

Hi Experts,

 

I've created an approval flow which start with capturing the details in sharepoint filled by the user in a Microsoft form. Once the form is submitted the approval flow starts. At first it goes for Line Manager approval then Director and in the end Helpdesk.

The line manager is captured using Office 365 connector (get manager v2). I am facing challenge while capturing the Director's ID. As per the organization hierarchy between Line Manager and Director there is Head of the Department. which needs to be skipped in the Approval flow. Only Line Manager and Directors needs to get the approval emails. Is there a way/connector to fetch the Directors ID? Please suggest.

 

  • Re: Need help to fetch Director's email ID from the active directory

    Hi @powerautom_uae ,

     

    Is the picture below your requirement?

    vxiaochenmsft_0-1637044275629.png

    If so , you could try this flow.

    vxiaochenmsft_1-1637044318514.png

    vxiaochenmsft_2-1637044391188.png

    items('Apply_to_each')
     
    Best Regards,
    Wearsky

     

  • VJR Profile Picture
    VJR 7,651 on at
    Re: Need help to fetch Director's email ID from the active directory

    Hi @powerautom_uae 

     

    - Get the manager details of the line manager

    - When you get this, also get the jobTitle

    VJR_0-1636969241395.png

    - If it is Head of Department skip it.

    - Keep doing this till you find Director as the job title [or if you know there is only going to be Head of Dept in between these two then skip once (for Head) and capture the next (for Director) without checking the jobTitle].

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,733

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,750

Leaderboard

Featured topics