Hi Jose Quintero,
Thank you for your time and for providing a detailed explanation of the issue you encountered. After retrying to create the function app in the same resource group, the issue was resolved without any changes to the configuration.
For your reference, please go through this following documentation:
Azure Functions hosting options
Hope this helps!
If this answers your query, do click Accept Answer and Yes for was this answer helpful, which may help members with similar questions.