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 / Get User (V2) throws '...
Power Automate
Unanswered

Get User (V2) throws 'Microsoft.SharePoint.Client.ResourceNotFoundException' Error suddenly

(0) ShareShare
ReportReport
Posted on by 6
We have 2 flows that trigger from Microsoft form(s) to Resign or Terminate an employee. 
 
As of 3 weeks ago, these flows worked fantastic at disabling the employee's account automatically.
Now, I am repeatedly getting the "Exception of type 'Microsoft.SharePoint.Client.ResourceNotFoundException' was thrown." error.
I know the account exists; I created it myself. I can see it both in O365 admin and Intune admin centers. 
 
The form has the employee's email, so I use that for the UPN. The account the flow is done under has User Admin rights.
The purpose of the flow is to change the user's department and disable the account. The department change is picked up by a flow in Intune that deletes the account if it has the corresponding department (terminated or resigned) 
 
Based off some questions I peeked at in the forum already, I did try a search for the user instead and link that to the get user action, but it throws the same error. 
 
Including screenshots of the resignation flow (original and error) and termination flow (altered with search function)
 
Resignation flow and Error
 
Termination Flow (adjusted with Search function)
Categories:
I have the same question (0)
  • bscarlavai33 Profile Picture
    752 Super User 2025 Season 2 on at
    It seems like this has been an intermittent issue on and off. Here's a thread from 2019 where it just magically fixed itself.
     

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
David_MA Profile Picture

David_MA 258 Super User 2025 Season 2

#2
trice602 Profile Picture

trice602 205 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 204 Most Valuable Professional

Last 30 days Overall leaderboard