Hello hawthorne91,
Thanks for posting your question in the Microsoft Q&A forum.
It is likely due to multiple layers of configuration that need to be addressed. Here are some steps to troubleshoot and potentially resolve the issue:
- Verify the
FUNCTIONS_REQUEST_BODY_SIZE_LIMIT
setting:- Ensure it's set to the desired value (e.g., 104857600 for 100 MB) in your function app settings , double-check that this setting is applied correctly in both local and Azure environments.
- Check for
Web.config
limitations:- Although not always visible, there might be a
Web.config
file limiting request size, if you can access it, look for thehttpRuntime
element and adjust themaxRequestLength
attribute.
- Although not always visible, there might be a
- Review Azure Storage account settings:
- Ensure your storage account is configured to handle larger file sizes, check if there are any specific limitations set on the blob container you're using.
- Examine
host.json
file:- Look for any settings that might be limiting request size.
- Check for middleware or custom code:
- Review any custom middleware or code in your function that might be imposing size limits.
- Verify Azure App Service plan:
- Ensure your function is running on a plan that supports larger file sizes.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful