An unexpected error occured while processing the request. Tracking ID

Mike Sarafidis 1 Reputation point
2023-02-05T20:51:23.5+00:00

I have a powershell script that I had successfully used a couple of days before and created a MySQL Flex database.

I tried to create another database and I was getting an error regarding admin login. I have made some efforts until I understand that "-" are not supported at admin username. After fixing this issue I am getting the following error while trying to create the database.

"An unexpected error occured while processing the request. Tracking ID: XXXX"

StackTrace      :    at Microsoft.Azure.PowerShell.Cmdlets.MySql.MySql.FlexibleServersCreate_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
                     at Microsoft.Azure.PowerShell.Cmdlets.MySql.MySql.FlexibleServersCreate_Call(HttpRequestMessage request, Func`3 onOk, Func`3 onDefault, IEventListener eventListener, ISendAsync sender)
                     at Microsoft.Azure.PowerShell.Cmdlets.MySql.MySql.FlexibleServersCreate(String subscriptionId, String resourceGroupName, String serverName, IServerAutoGenerated body, Func`3 onOk, Func`3 onDefault, IEventListener eventList 
                  ener, ISendAsync sender)
                     at Microsoft.Azure.PowerShell.Cmdlets.MySql.Cmdlets.NewAzMySqlFlexibleServer_CreateExpanded.ProcessRecordAsync()

Any Ideas?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
713 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,056 questions
{count} votes