@Pablo Díaz de Alva Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
The error indicates that the subscription that is being used does not have access to create an Azure OpenAI resource.
Azure OpenAI service is still not open for creation to all subscriptions, users need to fall under the criteria as defined in this form and the request will be approved after reviewing all details submitted in the form. So, If you need an Azure subscription with access enabled for the Azure OpenAI service, you need to fill and submit this form.
If your access request to Azure OpenAI service doesn't match the acceptance criteria, you can use OpenAI public API instead.
Note: You shouldn't use the Azure for Students
subscription or free
subscription for this. So you need to upgrade your subscription to Pay as you go
(Paid) subscription account to ensure Azure OpenAI deployments are successful once your request is approved.
Hope this helps!!