sqlcmd not built-in to cloud shell

Sponsorships SAIL Platform 15 Reputation points
2025-04-15T12:11:44.9333333+00:00

According to Microsoft's documentation, sqlcmd should be built-in to the cloud shell. However, when running it in a new session, the command is not found. Could you please advise? Thanks.Screenshot 2025-04-15 at 2.10.36 PM

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Balmukund 176 Reputation points Microsoft Employee
    2025-04-15T13:30:12.6566667+00:00

    Can you try switching to PowerShell in cloud shell and try using invoke-sqlcmd?


Your answer

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