An Azure service that is used to automate, configure, and install updates across hybrid environments.
It's important to verify whether the New-AzSqlDatabaseExport cmdlet is returning a failure status when the backup fails. You might need to check the status of the $exportRequest object to see if it contains any error information or a status code that indicates a failure.he $ErrorActionPreference = "Stop" setting should halt the script execution on any terminating error, but it might not catch non-terminating errors. You might need to add additional error handling to catch these types of errors. After initiating the export with New-AzSqlDatabaseExport, you can use Get-AzSqlDatabaseImportExportStatus to monitor the status of the operation. This cmdlet can provide more detailed information about the status of the export and can help you determine if it has failed.