K B Thanks for sharing the additional info. Quickly reviewed the deployment of the function app and found ModuleNotFoundError: No module named 'xmltodict'
in the backend logs for your function app. So, following troubleshooting steps described in Troubleshoot ModuleNotFoundError doc would help.
I was able to repro this issue by adding import xmltodict
statement in the function app without adding package in the requirements.txt
and deploying to azure function (logs suggest this package was not added in your requirements.txt also). After adding this package in the requirements.txt
, the issue was resolved. I suggest you try adding the package and deploy the function.
Also, as per discussion: Add support for python 3.11 in the python repo, the support for python 3.11 is yet to be added officially (source: https://pypi.org/project/xmltodict/#files). I was able to deploy but features might not work as expected if you use Python 3.11.6.
I hope this helps and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.