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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Having issue to find t...
Power Automate
Unanswered

Having issue to find the manager

(0) ShareShare
ReportReport
Posted on by

Hi

I had created a flow which is working find. The trigger of the flow is When an item is created. In the flow I am using the Get manager option 

Frank7_0-1634900154558.png

Now I need to change this flow so it will be manually triggered. Therefor I have added a button in the MS List where the user can click when he has made all entries. 

When I now click on the flow the flow fails at the state where it should get the manager

Frank7_1-1634900476058.png

I have tried it with the options below but none of them is working

Frank7_2-1634900525573.png

Error message is 

Frank7_3-1634900588949.png

Anyone an idea how I could solve my problem?

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Having issue to find the manager

    @Anonymous 

    Please try the below:

    Mira_Ghaly_0-1634901527470.png

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Having issue to find the manager

    @Mira_Ghaly 

    I have tired the following, but running into the error "User not found"

    Frank7_0-1634907418975.png

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: Having issue to find the manager

    Hi @Anonymous ,

     

    I guess this is because the user who uses the flow has no manager so it reported an error.

    Please check If the user has an manager in Azure Ad.

    https://portal.azure.com/ 

    vxiaochenmsft_0-1635408863163.png

     

    Best Regards,

    Wearsky

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Having issue to find the manager

    @v-xiaochen-msft thanks for your feedback but this can't be the root cause. When I run the flow automatically (when a item is created) it works well and the manger is found. I guess this is related that I now try to run the flow by a click and the flow is not aware where to look for. I think my flow is just wrong. I will met a colleague who is trained in PA to check whats wrong

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard