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

Flow: Create & Update Planner task details. Insert Doc Link on Task. Works fine on Public SharePoint Site. Fails when file is in Private SharePoint site. ??

Hi Everyone. 

I am having an issue. I am creating a flow that users can trigger from a selected SharePoint file in a Document library. The flow creates a Planner Task and inserts details. The only details I am trying to add to the Task are: FileName & Link to File - in this case 'ItemUrl'.

 

The flow works perfectly when the files are stored on a Public SharePoint site, but if files are stored on a Private SharePoint site - the flow fails at 'Update task details' section.

 

Kelley303_0-1599939154712.png

 

Error Details: 

The request is invalid: Encountered a metadata reference property in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry.

 

Kelley303_2-1599939428554.png

 

I don't understand why it works perfectly when the file is filed on the Public SharePoint site, but if pointed to one of our Private project sites I get this metadata error. 

 

The error, at first, made me think our Private sites had unfriendly characters in the URLs, but I checked and the Public sites have the same characters in their URLs. 

 

Has anyone else encountered this before? Can anyone help? 

1 REPLY 1
Super User II
Super User II

hi @Kelley303  this is because a public site don't need permissions to acces to Libraries or Lists, but a Private you need to add users to the specific group of permissions like visitors. So when  the flow try to access to a private Sharepoint if the user that are triggering the flow don't have the permissions thats you are receving an error.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (80,452)