Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Error with Get user profile (V2) in previously working flow

(0) ShareShare
ReportReport
Posted on by 34

Hi folks

 

I've got a flow set up that detects when a person has been added to or removed from a group.

It then gets that persons profile and sends an email to the effect of...

"John Smith has joined the company" or "John Smith has left the company"

 

This flow has been working fine until earlier this morning when I get an error that the user cannot be found:

LydonNZ_0-1681272190006.png          

LydonNZ_1-1681272223740.png

 

Our AD sync failed overnight but has since ran today, could this have caused the error once the user was removed from the group?

Or if the user is removed from the group and then the AD account is disabled, or the Microsoft License removed before the sync occurs, would that cause the error?


Trying to figure out exactly what has caused this to fail so I can put measures in place to stop it happening again.

 

Appreciate any help/pointers you can provide.

 

 

  • Verified answer
    LydonNZ Profile Picture
    34 on at
    Re: Error with Get user profile (V2) in previously working flow

    Thanks @v-qiaqi-msft for your reply

     

    I didn't even have to try a new connection. The flow has worked today. Must have been the glitch in the sync which caused the last fail.

     

    Cheers

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Error with Get user profile (V2) in previously working flow

    Hi @LydonNZ,

    I think this is caused by the failed sync in your AD tenant.

    Try to add new connection:

    vqiaqimsft_0-1681352943497.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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow