- Create a new subscription. (search tutorial for creating a new subscription in Azure)
- Add a payment method to the subscription (search tutorial for this a s well)
- Select the newly created subscription when creating the desired resource and double check if it is free or not in the pricing section
This could solve your issue.