Receiving 500 (Internal Server Error) when attempting to delete resource

Nicholas McCall 0 Reputation points
2023-11-30T21:06:21.01+00:00

I was attempting to stand up Airflow using Astro but it the deployment failed due to using a personal e-mail address. Now when I attempt to delete the Astro organization resource I receive: Response status code does not indicate success: 500 (Internal Server Error).

I reached out to Astronomer's support and they told me they deleted it on their end but I have no idea how to get it out of my Azure portal.

Any ideas??

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,988 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,741 Reputation points Microsoft Employee Moderator
    2023-12-03T22:17:20.6666667+00:00

    I'm sorry to hear that you're having trouble deleting the Astro organization resource in your Azure portal. Since Astronomer's support team has already deleted it on their end, it's possible that there might be some issue with the Azure portal.

    To troubleshoot this issue, I would suggest you try deleting the resource again after some time. Sometimes, it takes a while for the Azure portal to reflect the changes made by the support team.

    If you still face the same issue, you can try deleting the resource using Azure CLI or Azure PowerShell. Here are the steps to delete the resource using Azure CLI:

    Open the Azure CLI and log in to your Azure account.

    Run the following command to list all the resources in your subscription:

    az resource list
    

    Find the resource you want to delete and copy its resource ID.

    Run the following command to delete the resource:

    az resource delete --ids <resource-id>
    

    Replace <resource-id> with the resource ID you copied in step 3.

    If you prefer to use Azure PowerShell, you can follow these steps:

    Open Azure PowerShell and log in to your Azure account.

    Run the following command to list all the resources in your subscription:

    Get-AzResource
    

    Find the resource you want to delete and copy its resource ID.

    Run the following command to delete the resource:

    Remove-AzResource -ResourceId <resource-id>
    

    Replace <resource-id> with the resource ID you copied in step 3.

    I hope this helps you delete the Astro organization resource from your Azure portal. Let me know if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.