Azure Service Bus Sessions VNet Logic App

Warren Kinley 81 Reputation points
2025-10-15T18:41:08.55+00:00

All the documentation I have read regarding using Azure Service Bus sessions says that your logic app workflow just had to be stateless, however I receive the following error message when trying to complete the first message:

An error occurred in SBTriggerQueueSubscriber (xxxxxxxxxxxxxx058690313664CU00) whilst completing the first message: The service provider action failed with error code 'VNetPrivatePortsNotConfigured' and error message 'Using this service provider action in stateful workflows requires VNet integration and the site configuration vnetPrivatePortsCount to be set to a value greater than or equal to 2.'.

The workaround is that I placed the logic app in a vnet but why when the documentation says it is not a requirement?

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

Your answer

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