@Abhay Chandramouli Thanks for reaching out. The maximum allowed size of the request headers is determined by the server and client configurations and cannot be changed in Azure Function Apps. If you are receiving a "431 Request Header Fields Too Large" error, you may need to modify the client request to reduce the size of the headers being sent.
Sharing the previous discussion hereand limit here which cannot be configured.