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 / All sharepoint for sel...
Power Automate
Unanswered

All sharepoint for selected item triggers return null as itemid

(0) ShareShare
ReportReport
Posted on by 4

Hello,


since a few weeks, all the flows in our SharePoint Site that are run manual using the "for a selected item" trigger return 'null' as itemid. See below:

 

 

 

"body": 
{ "boolean": false, "boolean_1": false, "boolean_2": false, "boolean_3": false, "boolean_4": true, "text_3": "test",
"entity": { 
"ID": null,
"itemUrl": "https://-.com/sites/-/-/Lieferscheine/Forms/AllItems.aspx?id=%2Fsites%-2FLieferscheine%2F0341%2D001%5FLieferschein%andGmbH%5F16%2D4%2D2024%5F18460%2Epdf" } 
}

 

 

 

I created a new flow with just the selected item trigger and an action to get the file, as basic as possible. This is the code of the trigger:

 

 

 

{
 "type": "Request",
 "kind": "ApiConnection",
 "inputs": {
 "operationId": "ForASelectedFileHybridTrigger",
 "parameters": {
 "dataset": "-",
 "table": "30e9e1c2-f7be-4fa8-8eb0-d229a46622dc"
 },
 "schema": {
 "type": "object",
 "properties": {
 "rows": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "entity": {
 "properties": {
 "ID": {
 "title": "ID",
 "type": "integer",
 "format": "int64"
 }
 },
 "type": "object",
 "required": []
 }
 },
 "required": []
 }
 }
 },
 "required": []
 },
 "host": {
 "connection": {
 "name": "@parameters('$connections')['shared_sharepointonline']['connectionId']"
 }
 }
 },
 "splitOn": "@triggerBody()['rows']"
}

 

 

 

Using Edge in private mode with all add-ons and company firewall disabled, results in this:


error.PNG

The browsers console shows a lot more errors than usual. This one might be significant.

 

 

 

245.5f353f70.chunk.js:2 [Report Only] Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' https://content.powerapps.com https://static.powerapps.com https://*.cdn.office.net https://wcpstatic.microsoft.com https://*.msftauth.net https://*.res.office365.com https://*.monitor.azure.com https://*.flow.microsoft.com 'sha256-LcdA+f9/67aCidJY4IiPlmTO2vxmoPhWaP20yx0uWXE=' 'sha256-lbWM7/U4ppgy+gQKeJh0LX1MGZ7Akz91KhU2p3OhXic=' 'sha256-wODu+VfY8ND+vPVOUkzkfC/1jpkO6aSN5rGEBoSdnys='".

 

 

 

 

I can't figure out how to fix it or even get a new flow to run, anyone got an idea what caused this and how to fix it.

It's a bit inconvenient for all the workers, but by now we are used to stuff breaking constantly. /rant end

 

Thanks in advance.

Best wishes

Nico

 

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard