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 / Error with Get user pr...
Power Automate
Unanswered

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.

 

 

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @LydonNZ,

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

    Try to add new connection:

    vqiaqimsft_0-1681352943497.png

     

  • Verified answer
    LydonNZ Profile Picture
    34 on at

    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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard