cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ercwebdev
Frequent Visitor

The specified user SharingLinks 400 error

Hi all,

I have a flow that runs daily and will filter and update a small batch of List items as required. It usually runs fine, but on some days it will not update a couple of the list items, throwing up a couple of strange weird errors that I can't seem to find any info one:

 

For example ,this one:

 

{
  "status"400,
  "message""The specified user SharingLinks.b1b7a4af-dfe5-4b80-afa8-484fe7467c9c.OrganizationView.130e72dc-0d5f-4965-939c-288d664be3d9 could not be found.\r\nclientRequestId: 651beb75-6275-431e-af66-67b20354e1f8\r\nserviceRequestId: 651beb75-6275-431e-af66-67b20354e1f8"
}
 
Can anyone shed some light on this as to what is going on?
Thanks
Alan 
2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @ercwebdev,

 

It is possible to share an item instead of assigning permission levels to it. So, my guess is that for the items you are using some where shared via links.

 

sharinglinks.png

 

When you retrieve the roleassignments (users and objects who have access) of that item you will see that the loginname of that sharing link in the roledefitionbindings will show up as SharingLinks.guid.

 

Are you by any chance using that LoginName field for something else in your flow?

 

sharinglinks_rolebinding.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Hiya,

Thanks for your reply that would kinda make sense. Certainly not using that LoginName field anywhere else, didn't even know it existed! I looked through the version history of the item and did notice that the SharingLinks.guid was appearing a few versions back, however in the current version the value for this column (PrevAssignedNew) is actually correctly set to a real user, not a Sharing guid. So not sure if this is where it is picking it up from and more puzzling if so, why it is doing this, etc. I'll have to do some more rooting around and try and get to the bottom of it, but thanks a lot of pointing me in the right direction. Have attached a screen grab of the version history.

Thanks

Alan Sharing Links Version History.png

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,606)