The ImportExport operation with Request Id '1a8a3820-8023-454a-8549-63d141709799' failed due to 'An internal error occurred. Please contact Microsoft support ...

M S 0 Punti di reputazione
2025-02-13T11:47:24.69+00:00

Hi,

I want to automate the bacpac export and choose to use a powershell 7.2 runbook in an automation account.

I use ServicePrincipal with Certificate authentication and call the New-AzSqlDatabaseExport cmdlet, then call Get-AzSqlDatabaseImportExportStatus in a loop to wait the end of operation.

After 11m10s (all times i tested) I get the "The ImportExport operation with Request Id '1a8a3820-8023-454a-8549-63d141709799' failed due to 'An internal error occurred. Please contact Microsoft support ..."

The database contains only a single simple table for test.

I there a more detailed log about the problem?

       $exportRequest = New-AzSqlDatabaseExport -ResourceGroupName $db.ResourceGroupName -ServerName $db.ServerName -DatabaseName $copyDbName `
        -AuthenticationType "Sql" -AdministratorLogin $sqlCreds.UserName -AdministratorLoginPassword $sqlCreds.Password `
        -StorageKeyType "SharedAccessKey" -StorageKey $sasToken -StorageUri $bacpacUri `
        -Verbose -ErrorAction Stop
database SQL di Azure
0 commenti Nessun commento
{count} voti

Risposta

Le risposte possono essere contrassegnate come risposte accettate dall'autore della domanda. Ciò consente agli utenti di sapere che la risposta ha risolto il problema dell'autore.