Ricardo Giaviti Ricardo Giaviti - 8 months ago 60
SQL Question

Azure fails when try to create a MySQL database

When I try to create a MySQL database on Microsoft Azure using pure REST request (

) to:


I am getting this error:

HTTP STATUS CODE 400 Bad Request

Error message: 'Legal terms have not been accepted for this item on
this subscription. To accept legal terms, please go to the Azure
portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure
programmatic deployment for the Marketplace item or create it there
for the first time'

So I went to Microsoft Azure Portal, and I accepted the legal terms. I tried again, same error. I searched in almost the entire Azure Portal for some configuration about this and I found nothing.

Someone have the same problem?



OK guys, found the solution. I don't know why, but if we change the JSON attribute { "plan.name": "Pay-As-You-Go" } to { "plan.name": "Free" } the database is created successfully.

I opened a support ticket to know which are the MySQL available plans. I will update the answer as soon as possible.