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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / User not found as not ...
Power Automate
Answered

User not found as not a current employee

(0) ShareShare
ReportReport
Posted on by 195

Hi,

 

I've been using/adapting this wonderful flow posted here (https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Export-Planner-Tasks-to-Excel/td-p/1468746) to export Planner Tasks to an excel spreadsheet.

 

Unfortunately it is failing at one of the "Get User Profiles" step, which I am very certain it is because one user has since left the organization who used to have task assigned. Is there any way I could make this action still work even if the user profile is not found?

 

This is where the flow has an error:

 

roxy1_0-1668581132802.png

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,857 Most Valuable Professional on at

    Hi @roxy1,

     

    You could add an action after and configure the run after setting for that specific action to use the has failed status. 

     

    I would also suggest that you add some logic what should happen if this does failure occurs. Do you want to stop/terminate the flow for example?

     

    Below is an example how to setup configure run after from Sanjaya Pradhan:

    https://softchief.com/2021/08/05/configure-run-after-feature-for-action-steps-in-power-automate/

     

     

     

  • roxy1 Profile Picture
    195 on at

    Hi @Expiscornovus thank you! I did not realise I could check more than one option when configuring the run after in the following action.

     

    This seems to have done the trick thank you!

     

    roxy1_0-1668755135942.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard