Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Work with cloud flows using code is not working

(0) ShareShare
ReportReport
Posted on by 12

Hi ,

 

I have created some sample cloud flow in power automate. but Using The web Api endpoint that flow information is not comming. Also I have some sample desktop flow. that flow are comming using the web api endpoint but cloud flow are not comming.

Can you help me why it's working on desktop flow not in cloud flow.
I have refer this link Work with cloud flows using code - Power Automate | Microsoft Learn.

Thank you

  • TanayPatil Profile Picture
    12 on at
    Re: Work with cloud flows using code is not working

    Hi @Nived_Nambiar ,

    Both cloud flow and desktop flow are under solutions only. I'm getting both the flow details using Web api. But for flow runs desktop flow having api flowsession but cloud flow how can We get runs.

    Thanks,

    Tanay Patil

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Work with cloud flows using code is not working

    Hi @TanayPatil 

     

    if you see my above response 


    @Nived_Nambiar wrote:

    Hi @TanayPatil 

     

    First of all sorry for late response. Got busy with works.

     

    I have explored webapi feature and tried the api to extract cloud flows and desktop flows data. For me cloud flow data and desktop flow data is captured by api as expected.

     

    I have tried something simmilar only

     

    Nived_Nambiar_1-1709986477305.png

     

     

    It gave all details of cloud present in solutions created in Power platform.

     

    Note one point here :- 

    Nived_Nambiar_2-1709986535050.png

     

    I think webapi will only list those flows which are part of solutions. If not part of solutions but in the my flows section- it won't list those flows.

     

    Also Note one thing here- All desktop flows are created in Default Solution by default. So that is why when you retrive desktop flows data - it captures all desktop flow details.

     

    Just to check with you, does your cloud flows are part of any solutions in power automate ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌


     

    you will get to know that this api is not capable of capturing cloud flow details from my flows. You can get details of cloud flows from the one in solutions.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • TanayPatil Profile Picture
    12 on at
    Re: Work with cloud flows using code is not working

    Hi @Nived_Nambiar ,

    I mean how can i get all cloud flow runs list. Like For Desktop it's having flowsessions.

    Thanks,
    Tanay Patil

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Work with cloud flows using code is not working

    Hi @TanayPatil 

     

    i did not get what you meant by execution list ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • TanayPatil Profile Picture
    12 on at
    Re: Work with cloud flows using code is not working

    Hi @Nived_Nambiar ,

     

    I have created Cloud flow In Solution. But How Can I get the All flows execution list of this cloud flows. And for desktop flow all execution is comming. Can you assist me.

    Thanks,

    Tanay Patil 

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Work with cloud flows using code is not working

    Hi @TanayPatil 

     

    First of all sorry for late response. Got busy with works.

     

    I have explored webapi feature and tried the api to extract cloud flows and desktop flows data. For me cloud flow data and desktop flow data is captured by api as expected.

     

    I have tried something simmilar only

     

    Nived_Nambiar_1-1709986477305.png

     

     

    It gave all details of cloud present in solutions created in Power platform.

     

    Note one point here :- 

    Nived_Nambiar_2-1709986535050.png

     

    I think webapi will only list those flows which are part of solutions. If not part of solutions but in the my flows section- it won't list those flows.

     

    Also Note one thing here- All desktop flows are created in Default Solution by default. So that is why when you retrive desktop flows data - it captures all desktop flow details.

     

    Just to check with you, does your cloud flows are part of any solutions in power automate ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • TanayPatil Profile Picture
    12 on at
    Re: Work with cloud flows using code is not working

    Hi @Nived_Nambiar ,
    Below I'm attaching the screen shot of both cloud flow and desktop flow.
    Cloud Flow :

    TanayPatil_0-1709615607503.png

    Desktop Flow :

    TanayPatil_1-1709615673706.png

    In Above Screenshot you can see i'm only changing filter options. But in this desktop flows are coming, cloud flows are not coming. Can You assist us.


    Thanks

    Tanay Patil

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Work with cloud flows using code is not working

    Hi @TanayPatil 

    could you share a screenshot on how you have did it ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • TanayPatil Profile Picture
    12 on at
    Re: Work with cloud flows using code is not working

    Hi @Nived_Nambiar ,

    I have added those filter still it's showing empty values.

  • Nived_Nambiar Profile Picture
    17,497 Super User 2025 Season 1 on at
    Re: Work with cloud flows using code is not working

    Hi @TanayPatil 

     

    I haven't tried this one before- but based on what i have went through the documentation , have you used the following category to filter out the cloud flows ?

     

    Nived_Nambiar_0-1709460375244.png

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow