Logic Apps copying action gives: The managed identity used with this operation no longer exists. To continue, set up an identity or change the connection.

Tait, Mark 20 Reputation points
2024-06-04T07:04:41.8133333+00:00

Hi - I have a simple flow in Logic Apps - it runs some KQL against Sentinel, creates a CSV from the results and attaches the CSV to an email and sends it.

I want to run 2 KQL queries, and attach 2 CSVs to the email - so I copy the "Run Query and List Results" action, and paste it when adding a new action - however the new (copied) action shows the error:

s1

s2

The Subscription, Resource Group, Resource Type and Resource Name are all identical.

Does anyone have any idea what is wrong, and how I can get this flow to run two KQL queries?

Thanks for any help,

Mark

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,222 questions
0 comments No comments
{count} votes

Accepted answer
  1. Babafemi Bulugbe 3,705 Reputation points MVP
    2024-06-04T09:18:05.1566667+00:00

    Hello Tait, Mark,

    Thank you for posting your query in the Microsoft Q&A Community.

    I understand that you are currently having challenges with the managed identity on the copy task of your Logic app Azure Monitor action.

    When you copy a task and paste it, this should retain the connection and managed identity from the original action.

    User's image

    However, if that isn't the case, check if there is a managed identity attached to the connection you have created. Also, check if the connection is the same

    User's image

    NB: When pasting, don't edit the design, just copy and paste the action

    Let me know if this helps

    Babafemi


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.