I post that extra detail to double check... You're saying that azure+pulumi should be able to change the type of an app service from "app" to "functionapp" -OR- that pulumi should be smart enough to realize that the thing it created can't be "updated in place," so it needs to delete that one and create a new one?
I just want to verify that before looking at creating a bug.
If the answer is "Yes, that should work," then if you can point me to the right place to create a bug, I can do that. It won't be a full working example - I don't have time for that. But I can post the source file and point out the 1 line change which I made that caused the observed behavior.
Thanks.