UnresolvableHostName: LogicApps Microsoft Teams connector

Lopez Alonso, Luis 186 Reputation points
2023-02-28T12:42:58.8933333+00:00

Hi,

I've a Standard LogicApp, VNET integrated.

I've created a workflow (same error between statefull and stateless) to react to a MS Teams message in a specified channel. For this, I've used Microsoft Teams connection with a valid API Connection.

When I save the workflow, automatically on Trigger Runs, appears errors. Looking in my AppInsights I can see the following error (Id's are changed due to privacy):

Workflow trigger ends. flowName='MY_NAME', triggerName='When_a_new_channel_message_is_added', flowId='LONG ID', flowSequenceId='LONG ID', status='Failed', statusCode='UnresolvableHostName', error='{"code":"UnresolvableHostName","message":"Http request failed with status code 'HostNotFound' and status message: 'No such host is known.'."}', extensionVersion='1.3.7.0', siteName='MY_STANDARD_LOGIC_APP', slotName='Production', durationInMilliseconds='21', flowRunSequenceId='', inputsContentSize='225', outputsContentSize='-1', clientTrackingId='LONG ID', properties='{"$schema":"2016-06-01","startTime":"2023-02-28T11:28:38.4872026Z","endTime":"2023-02-28T11:28:38.5153043Z","status":"Failed","code":"UnresolvableHostName","fired":false,"resource":{"workflowId":"LONG ID","workflowName":"MY_NAME","runId":"LONG ID","triggerName":"When_a_new_channel_message_is_added"},"correlation":{"clientTrackingId":"LONG ID"},"error":{"code":"UnresolvableHostName","message":"Http request failed with status code 'HostNotFound' and status message: 'No such host is known.'."},"api":{}}', triggerType='ApiConnection', flowScaleUnit='cu00', triggerKind='', sourceTriggerHistoryName='', failureCause='', overrideUsageConfigurationName='', hostName='MY_STANDARD_LOGIC_APP.azurewebsites.net', activityId='LONG ID'.

My workflow is quite simple, as we are now in POC stage (I only want to be able to react to a MS Teams message):User's image

What's wrong with this logicApp workflow?

Ton of thanks for your support

Regards,

Luis

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-03-01T08:11:22.5333333+00:00

    @Lopez Alonso, Luis Thanks for reaching out. Can you please confirm if there are no restrictions/disabled Allow public access on the Inbound traffic to your standard logic app? In case if you have enabled the Access Restrictions on your standard logic app then the azure connector will not be able to communicate with your logic app.

    As you are using the team's connector so the internally there would be webhook that would be used to trigger your workflow by the connector and as Team Connector is Azure connector so azure connector can only access it over internet. In case if you have blocked the access then your workflow will not be triggered.

    Azure Team Connector (inbound webhook callbacks) --> standard logic app workflow (through team trigger)

    In the above case you need to make sure that you are adding the rule to allow the connector IP address if you have disable "Allow public access" to the inbound traffic.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community. If you need any help/clarification/concerns/follow up questions, then please click on "Add Comment" on my answer and provide more details.


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.