Hi @midouniyassin,
Thank you for reaching out of Q&A forum.
- We understand you're encountering issues when creating a virtual machine, with an error suggesting using a different subscription without a spending limit or removing the current limit. This occurs because your current subscription is a benefit subscription (e.g. free trial) with a $200 credit limit.
- Exceeding this limit stops resources or prompts you to switch to a Pay-as-you-go plan. Certain VM images can quickly exhaust this limit due to their cost, potentially stopping the VM and disrupting your service.
- While the issue persists with “Windows Server 2019 Datacenter -x64 Gen2,” consider using “Windows Server 2022 Datacenter -x64 Gen2” for creating your VMs.
- To continue with the same subscription, please follow the steps outlined in the document section to remove the spending limit: Azure Spending Limit
- If needed, update your existing subscription (requires account administrator privileges).
If it's helpful, please consider clicking "Upvote and Accept Answer" on the post to let us know.
If you encounter any further issues, feel free to ask for additional assistance!