A function app throws a Socket Exception when attempting to read or write from a storage queue

McDonald, Lloyd 0 Reputation points
2024-11-21T13:43:49.9633333+00:00

We have a .NET v.6 function app that reads/writes messages from a storage queue but is throwing a System.Net.Sockets.SocketException exception. The inner exception message is *"An attempt was made to access a socket in a way forbidden by its access permissions."
*
The storage queue was added to the same storage account containing the function app.

Any assistance would be most appreciated.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,253 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
110 questions
{count} votes

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.