Unable to access input and outpu data for triggers and action in logic app standard

Sumit Gaur 260 Reputation points
2023-06-09T10:54:47.3866667+00:00

Hi,

I am using a logic app standard http trigger to call api on one of the backend system we have in the company. To allow the calls to only come from apim in front of the logic app. i have added a inbound access restriction to allow access from apim only and block the rest but after setting this up, i am unable to see the input and output data for the trigger and action from my run history. i am getting the following popup when i click on a action or a trigger.

Inputs and outputs are not loading due to the CORS policy

In order to see inputs and outputs you will need to add https://portal.azure.com to the allowed origins list in the API CORS settings. We can add this for you, but you may continue seeing the error for a few seconds while the backend updates.

if i remove the inbound access restriction then it start working normally with no issue and even if i added the portal.azure.com to the CORS policy it still doesn't work.

the logic app is also vnet integrated to call the backend api.

Does anyone know how we can fix this issue?

Regards

Sumit

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

Accepted answer
  1. Alavudeen Batcha Bourudeen 90 Reputation points Microsoft Employee
    2023-06-10T20:07:12.8766667+00:00

    Hey, i found the solution, whosoever is trying to see the input, output of an action, their public IP needs to be added in the "access restriction" to allow inbound traffic.

    Logic app standard -> Networking -> Access Restriction (add your public ip)

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.