Hi Srikanth Kandula, Thank you for posting query in Microsoft Q&A Platform.
To cancel a long-running operation, you can use the
.cancel operation
command. However, this command is only supported for ingest from query commands, and not for canceling any other commands.
Since you mentioned that you are using the DataExportToFile
command, it is not amenable to cancellation <sup>1</sup>. Unfortunately, there is no way to cancel this operation once it has started. You will have to wait for the operation to complete or fail before you can perform any other actions.
I hope this helps. Let me know if you have any other questions!
Please consider hitting Accept Answer
button. Accepted answers help community as well. Thank you.