Hi,
I am trying to start a flow from Sharepoint list. I have created custom button via JSON. And when I click the button, it throws 401 Unauthorized error in Browser console.
I created new column of Hyperlink type, and added following JSON in column formatting:
{
"elmType":"button",
"txtContent":"Duplicate",
"customRowAction":{
"action":"executeFlow",
"actionParams":"='{\"id\":\"055c2cfd-78e4-4e96-8039-939962e5578a\", \"headerText\":\" ' + [$Title] + '\",\"runFlowButtonText\":\"Go\"}'"
},
"attributes":{
"class":"ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
}
}
The "id" is the flow id I got from the URL. But its throwing 401 error. Can anyone help?
Basically I want to duplicate item (row) via Power Automate.
Can anyone help?