The latest version of Azure core tools has a bug which is blocking all installations of it during BaaS setup. This will happen for all users doing a setup post 25th Aug. The working version is 4.13.0.
The issue is reported and the status of the fix can be traced here:
https://github.com/Azure/azure-functions-core-tools/issues/5569