-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Inconsistent status returned by Get-AzSqlDatabaseImportExportStatus #13529
Copy link
Copy link
Closed
Labels
SQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedneeds-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
SQLService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.customer-reportedneeds-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Az.Sql 2.11.1
PowerShell 7.0.3
According to documentation the status of database import operation could be verified by checking
Statusfield of the object returned by Get-AzSqlDatabaseImportExportStatus cmdlet.However the values of
Statusfield can also be: "Pending" and "Running, Progress = 5.00 %". They does not indicate error and the import is considered to be still in the progress.Can this behavior be fixed so that only "InProgress"
Statusfield value will mean that import is still in the progress ?If it is not possible can someone provide correct code snippet to wait for import operation?