Ricardo Giaviti Ricardo Giaviti - 2 years ago 223
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?


Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download