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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow creates sharepoin...
Power Automate
Suggested Answer

Flow creates sharepoint issue from email

(1) ShareShare
ReportReport
Posted on by 6

I have a flow that creates a sharepoint issue when an email is sent to a shared mailbox. In my flow, I have a step to get user profile so the issue reporter is logged as the sender of the email.  However, some emails are sent from a shared mailbox and the get user profile fails. I need it to move past that point and create an issue in sharepoint.

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,452 Super User 2025 Season 2 on at

    @ss82 

     

    But if you continue and you need that email address, isn't that going to cause your Item Creation to fail?????

     

    Well if you want to get passed it.

     

    Go into your Flow.

    Switch back to class mode by clicking the New Designer off

    FLMike_0-1720062143857.png

     

    once that is off you will see your actions

    Go to initialize variable action RIGHT after your Get Profile

     

    Click on the three ... for that action

    FLMike_1-1720062251152.png

     

    Select Configure run after

    When it comes up

    Check the box that says failed

    FLMike_2-1720062309566.png

     

    Now when your Get User Profile fails, it wont stop, it will keep going.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

     

     

  • ss82 Profile Picture
    6 on at
    I tried this and while my flow does create the ticket, it no longer adds in the user based on their profile. It comes in blank. The first line is what it should be and the second line shows the user is blank.
     
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    After the get user profile action, add a parallel action. If you just want your flow to end, add a terminate flow action. Then set the terminate action to only run when the get user profile action fails. Set your current action after the get user profile action to only run when the get user profile action succeeds. Of course, if you want to do something else when the user is a shared mailbox, you can replace the terminate flow action with whatever you need. Just be sure that the first action on the side that handles when the user profile action fails is set to only run when it fails.

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard