Is there a way to restrict access to azure email service to specific IP addresses?

robert wilson 0 Reputation points
2024-10-15T09:32:47.57+00:00

HI,

I been testing Azure Communications service with a connected custom email domain to replace an smtp relay server.

Using smtp inbound from our apps to smtp.azurecomm.net on port 587(using username in format 'communication service name.app id. tenant id' with a password) works just fine, but i would like to restrict this to IP addresses also.

Is that possible?

Ive tried setting up the entra app(as used in comm service and username above) with conditional access policy - block action on all IP addresses except for specific IPs, but in testing it doesn't seem to be applying any restrictions how i want and all sources are permitted.

I cant see any help specific articles that describe this kind of restriction.

Im guessing that maybe that entra app conditional access doesn't affect the log in to the smtp.azurecomm.net portal for the authenticating smtp app.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
872 questions
0 comments No comments
{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.