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:"Item not found"...
Power Automate
Unanswered

ERROR:"Item not found" - OneDrive Shortcut Creation Via Graph API

(0) ShareShare
ReportReport
Posted on by

Hi all!

I created a flow that adds a onedrive shortcut to a sharepoint folder. I use an "Invoke an HTTP Request" action to do this, using a POST to the endpoint "https://graph.microsoft.com/v1.0/users/(USERS-GUID)/drive/root/children" and passing the following request body:

{ "name": "(NAME OF SHORTCUT)", "remoteItem": { "id": "(ID)", "parentReference": { "driveId": "(DRIVE ID)" } } }

 

When I do this for some users, everything works out just fine but when I do it for other users, I get the error "Item not found".

What's particularly interesting is that when I use the Graph Explorer to do a get request to the same endpoint, for users that it works for, I get a valid response... but for users that it doesnt' work for, I get the same error... which doesn't make any sense as the users onedrive clearly exists and is accessible by the user.

I had this problem before and escalated it to MS and was told to use the user GUID instead of the UPN, which I had been using before. It worked briefly afterwards and then stopped again.

 

Any help or insight that you have would be greatly apprecated!

Categories:
I have the same question (0)

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard