2

I have an Azure Function which decides some logic surrounding scaling for an SKU that doesn't support autoscale.

I have an alert which triggers an action group, based on criteria i may want to scale by. This action group contains a call to an Azure Function, which does the actual work.

The Azure Function is behind a Private Endpoint, and uses a host key to secure the function against unauthorised usage. If i call the Azure Function from my trusted network (VNet Integration), i am able to get it working. If i try to use the Action Group, it does not work, and returns a 403 Forbidden response.

My question is - is this a supported use case, and if so - how should i configure it?

EDIT: All resources reside in the same Resource Group.

user3012708
  • 793
  • 1
  • 11
  • 33
  • Check this article that shows how to properly trigger an Azure Function from Monitor->Action Group. I am not sure but from what u present they are not in the same Resource Group and that is why u get 403. https://www.cloudsma.com/2019/09/azure-monitor-alert-azure-functions/ – D A May 18 '22 at 06:30
  • Thanks for the comment. Updated the post to relfect resource group scope. The aciton groups are setup correctly. – user3012708 May 18 '22 at 07:00

0 Answers0