Hello @Mateusz U ,
Thank you for reaching out. I was able to reproduce this issue on my end via Azure portal.
I was able to deploy the VPN Gateway using Azure PowerShell instead. I am sharing this feedback with the portal team, and I will also work on adding a note to the documentation you shared above.
I followed this documentation here to deploy VPN Gateway using Azure PowerShell. Also please take into consideration that creating a gateway can often take 45 minutes or more, depending on the selected gateway SKU.
My Dual Stack Virtual Network
Deployed VPN Gateway
Deployment succeeded
Hope this helps! Please let me know if you have any additional concerns. Thank you!