Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
486 stars 315 forks source link

Option to disable email notifications #646

Closed watson20201 closed 2 months ago

watson20201 commented 4 years ago

Is it possible to disable the Welcome email being sent out when a user signs up? Thanks

azaslonov commented 4 years ago

Hi @watson20201, this functionality isn't provided in API Management.

mikebudzynski commented 4 years ago

Extending this request to account for more notification types.

laurynasr commented 4 years ago

We have abstracted out the usage of subscription keys (they are still used, but our users don't directly use them or need to know about them), and the "subscription created" emails do not make any sense in our setup. There should be a way to control which notifications are sent and which are not. If there is no way to disable those, then at least add ability to use subscription display name as a parameter for notification. The "New subscription activated" parameter list for some reason does not include that: image

campifoo commented 3 years ago

Any workarounds for this? We really need to disable notifications for a use case we have. We have tried changing email source address and removing template (as much as possible) but emails still sent.

mikebudzynski commented 3 years ago

You should be able to disable notifications via network configuration, if your API Management service is in a virtual network.

campifoo commented 3 years ago

What network configuration do we need to do? block smtp from tat virtual network? we are on internal vnet.

mikebudzynski commented 3 years ago

Yes, I would start with that.

image More details here: https://docs.microsoft.com/en-us/azure/api-management/api-management-using-with-vnet

Please, test it in non-production services first and reach out to Azure Support if you have any questions.

campifoo commented 3 years ago

Thanks for getting back so quickly!! Really helps.

danmcpherson commented 1 year ago

Any update on this one? Its a really critical bit of functionality because it's confusing for users to get these emails from someone that is not the organisation they signed up with. All the webhooks and tools are there to handle this via other approaches (logic apps). Going down the vNET route is really a heck, and introduces a lot of complexity just to get this simple outcome.

hershize commented 5 months ago

@azaslonov do you know when it will be available in API management? Either through the portal or via the management API?