Why on Earth was this new functionality introduced using the outdated Python 2?
We have started work on supporting Python 3 in Azure Automation. Expected to be released before the end of March 2020.
Ramon Ayala commented
Any update as to if/when Python 3 support will be implemented since support for python 2 is over?
Please upgrade to python 3. Very surprised it isn't already!
Please upgrade to Python 3
Nicholas Hatch commented
This seems important to consider as support for Python 2 is being dropped on January 1st, 2020.
Azure functions is not the same service as Azure Automation. Some of the management functionality that exists in Automation accounts is very helpful in managing team runbooks that functions doesn't provide.
Please please please upgrade Automation to work with Python 3.