The physical location of your company's data in Azure will depend on the region you selected when creating your resources. Azure ensures that your data is stored within the chosen geography. This means that if you have selected a region within your country, and Azure has a data center in that region, it is safe to assume that your data will be stored in your country.
The error message you are seeing typically occurs when Azure Marketplace cannot find the offer ID that you are trying to use. In this case, the offer ID "Microsoft" seems to be missing.
Here are some steps you can try to resolve this issue:
- Check the Offer ID - Ensure that the offer ID is correct. The offer ID must match exactly with what is available in the Azure Marketplace.
- Wait for the Offer to Be Available - If the offer has recently been created, it may take up to 30 minutes for the offer to become available for purchase.Check if the Offer has Been Removed: If the offer has been removed from the marketplace, you can try looking for similar offers from the same publisher. Additionally, when creating a Windows Server 2022 VM with Terraform on Azure, there is one extra step you need to take before creating the VM. Before creating the VM, you need to run a Terraform import command with your Azure tenant ID. Here is the command:
terraform import azurerm_marketplace_agreement.microsoftwindowsserver /subscriptions/YOUR-AZURE-SUBSCRIPTION-ID/providers/Microsoft.MarketplaceOrdering/agreements/microsoftwindowsserver/offers/microsoftserveroperatingsystems-previews/plans/windows-server-2022
Once you run the above command, you can proceed with your VM creation.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.