403
error can be investigated by enabling Application Insights in your azure function app and refer https://learn.microsoft.com/en-us/azure/azure-functions/configure-monitoring?tabs=v2. This logging will provide info about the client IP address and why the request was denied.
Update for the community: Rohit Juluru resolved the issue by adding Azure DevOps project region's (visible in the settings) IP ranges to IP firewall of the Azure Function (Inbound).
I hope this helps others with the similar issues. Please let me know if any questions.