How can I stop an Azure Stream Analytics job if it shows an internal server error when I try to stop it?

Dwij Siyal 0 Reputation points
2024-07-29T22:49:40.2733333+00:00

Error Message: "Failed to stop Stream Analytics job 'transport-stream-analytics'. The service returned an internal server error. Please try again. [SessionID: 34fe3fab609d4862a51836c9c777bd52]"

Attached is a screenshot, I have been trying to stop it for over an hour. Please help me with this issue.Azure_Stream_Analytics

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
345 questions
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 5,715 Reputation points
    2024-07-29T23:02:25.69+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    • If the Azure portal is not responding, you can attempt to stop the job using Azure PowerShell. Use the following command:
        Stop-AzStreamAnalyticsJob -ResourceGroupName <your-resource-group> -Name <your-job-name>
      
    • Alternatively, you can use the Azure CLI to stop the job
        az stream-analytics job stop --name <your-job-name> --resource-group <your-resource-group>
      
    • Sometimes temporary service issues can cause this error. Wait for 15-30 minutes and try stopping the job again through the Azure portal

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

0 additional answers

Sort by: Most helpful