SOLVED

Azure Function with public access disabled

Copper Contributor

I have disabled public acess of Azure Function. The function is not integrated with VNet and does not have any private endpoint. I confirmed that if I call the function Url from Postman I get 403 Ip Forbidden, which is expected. However, when I configure the function as backend for Api Management intgrated with VNet , I am still able to call it and get 200 Ok response. How is this possible?

3 Replies
Thanks, will check it out.
best response confirmed by kaushikc139 (Copper Contributor)
Solution
I was able to find the reason for this- the function was getting called with service endpoint which got created by default when integrating Api management with VNet
1 best response

Accepted Solutions
best response confirmed by kaushikc139 (Copper Contributor)
Solution
I was able to find the reason for this- the function was getting called with service endpoint which got created by default when integrating Api management with VNet

View solution in original post