To create a virtual machine (VM) in Azure, you need to ensure that your subscription does not have a spending limit or a temporary payment method set. If you are encountering issues with your existing subscription, consider the following steps:
- Check Subscription Type: Ensure that your subscription type allows for VM creation without restrictions. Subscriptions like Visual Studio may have limitations.
- Remove Spending Limit: If your subscription has a spending limit, you will need to remove it. This can typically be done in the Azure portal under the subscription settings.
- Update Payment Method: Make sure that your payment method is valid and not temporary. You can update this in the Azure portal as well.
- Use a Different Subscription: If the current subscription does not meet the requirements, you may need to switch to a different subscription that allows VM creation without these limits.
- Administrator Privileges: If you need to make changes to the subscription settings, ensure you have account administrator privileges to perform these actions.
If you continue to face issues, you may want to contact Azure support for further assistance.
References: