Hi @Anonymous
It's a bug. I have reported it to product team and a fix should be released by 28th Feb. Actions and scopes are not copying to the clipboard. There is a hack to get this to work meanwhile. You can go through the action of pasting it into the existing flow and you can see the code on screen. Copy it to the clipboard and then paste into the following:
{
"id": "54b0c051-85b3-4d6f-9232-b037-16b336d3",
"brandColor": "#8C3900",
"operationName": "DamoBird365",
"connectorDisplayName": "Control",
"isTrigger": false,
"operationDefinition":
INSERT THE COPIED CODE INTO HERE
}
You might need to use ctrl+a and ctrl+c and remove all the other rubbish that is captured to the clipboard.

The you can paste it into your new flow.
For example, the following will create an empty Excel Action called DamoBird365:
{
"id": "54b0c051-85b3-4d6f-9232-b037-16b336d3",
"brandColor": "#8C3900",
"operationName": "DamoBird365",
"connectorDisplayName": "Control",
"isTrigger": false,
"operationDefinition":
{ "type": "OpenApiConnection", "inputs": { "host": { "connectionName": "shared_excelonlinebusiness", "operationId": "GetItems", "apiId": "/providers/Microsoft.PowerApps/apis/shared_excelonlinebusiness" }, "parameters": { "source": "", "drive": "", "file": "", "table": "" }, "authentication": { "type": "Raw", "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']" } }, "runAfter": { "Compose": [ "Succeeded" ] } }
}
Please consider accepting my answer as a solution if it helps to solve your problem.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks