Azure cloud shell won’t launch in Azure data studio integrated terminal

Seyoung Park 0 Reputation points
2024-12-07T12:08:06.47+00:00

Hello, I’m having issues with Azure cloud shell in the Azure data studio.

When I try to launch azure cloud shell by clicking ">" button in the azure account banner on the sidebar, an error message is printed and the shell launched in the integrated terminal does nothing.

"If you've never launched Azure Cloud Shell from this account, go to https://shell.azure.com/ to get started. After setup, you can use Azure Cloud Shell directly in Azure Data Studio. (Translated)"

The message pops up with a hyperlink button "Open azure shell", which redirects me to Azure portal cloud shell. But in contrast, azure cloud shell is supported natively in Windows terminal. What will be the problem?

Is the azure cloud shell not supported in the Azure data studio yet?

Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
124 questions
{count} votes

2 answers

Sort by: Most helpful
  1. VINODH KUMAR T D 26,141 Reputation points MVP
    2024-12-08T13:50:17.3933333+00:00

    Hi,

    Thanks for reaching out to Microsoft Q&A.

    Azure Data Studio (ADS) does support Azure Cloud Shell integration. However, the error message you're encountering suggests that the initial setup for Cloud Shell hasn't been completed for your account. To resolve this issue, please follow these steps:

    Initial Setup via Web Browser:

    • Open your web browser and navigate to https://shell.azure.com/.
      • Sign in with your Azure account credentials.
        • If this is your first time accessing Cloud Shell, you'll be prompted to set up a storage account. Follow the on-screen instructions to create the necessary resources.
        Verify Cloud Shell Functionality:
        - Once the setup is complete, ensure that you can interact with the Cloud Shell environment in your browser without issues.
        
        **Access Cloud Shell in Azure Data Studio**:
        
           - Return to Azure Data Studio.
        
              - Click the ">" button in the Azure account banner on the sidebar to launch Cloud Shell.
        
                 - The integrated terminal should now connect to your Cloud Shell environment seamlessly.
        

    If, after completing these steps, you still encounter issues, consider the following:

    Network Restrictions: Ensure that your network or firewall settings aren't blocking the necessary endpoints required for Cloud Shell.

    Azure Policies: Some Azure policies might restrict the creation of resources needed for Cloud Shell. If you're part of an organization, contact your Azure administrator to verify that no policies are preventing the setup.

    Browser Compatibility: While this primarily affects web access, ensure you're using a supported browser for the initial setup.

    By completing the initial setup through the web interface, you should be able to utilize Azure Cloud Shell within Azure Data Studio without further issues.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.

    0 comments No comments

  2. ShaktiSingh-MSFT 16,086 Reputation points
    2024-12-10T06:27:21.0533333+00:00

    Hi Seyoung Park •,

    Welcome to Microsoft Q&A forum.

    As I understand, you could not launch Azure Data Studio cloud shell.

    The shell used defaults to $SHELL on Linux and macOS, PowerShell on Windows 10 and Windows 11, and cmd.exe on earlier versions of Windows. These can be overridden manually by setting terminal.integrated.shell.* in settings. Arguments can be passed to the terminal shell on Linux and macOS using the terminal.integrated.shellArgs.* settings.

    Refer https://learn.microsoft.com/en-us/azure-data-studio/integrated-terminal

    Could you please share screenshot of the issue so that we can check at our end.

    Thanks in advance.

    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.