Power Automate: Resolving Copy to Clipboard error

  • Introduction
  • Problem
  • Solution
  • Summary

Introduction

One of the greatest benefits of Copy to clipboard is that we can copy the action present in a flow and move it over to a totally different flow.

And from the destination flow, we can still access the source flow’s action from the clipboard memory as :

However while copying the actions using clipboard which has a connection to SharePoint, Outlook or any other data connections, we may face the below issue

Request to XRM API failed with error: 'Message: Failed to find connection references with logical name(s) '35b7e33e0a874e7285e7b4ce8501da7e'. Please check if connection references exist. Code: 0x80040216 InnerError: '.

Problem

The problem is mainly because while copying an action like Get Items or Create File, there would be a connection associated with it and the copy act has failed to move the connection associated with the action.

Solution

The easiest way to workaround is to create a new connection for the specific action. Right click the 3 dots and click on “Add a new connection” and do a fresh sign in .

In my case, a new connection has been added with the same user context but as I am using the older connection, the error still prevails.

I will switch the connection to the newly created connected and now the error has gone away

Summary

Thus we saw a possible issue that happens when we use clipboard to carry over actions across different cloud flows where the connection of the actions fail post copying and how we can overcome this issue.