Share via

Azure PowerShell Synapse modules command not working or giving errors for Synapse default Serverless SQL Pool

Siddharth Joshi 231 Reputation points
2023-04-12T06:33:43.44+00:00

Hi, In my Synapse workspace only Serverless SQL POOL we have and I want to do some operation by using PowerShell module like Get-AzSynapseSqlDatabase & Get-AzSynapseSqlPool but both commands are not working either its not giving any output or giving some errors like "Internal server errors" or "Not found" FYI my synapse workspace is in managed private endpoints so I'm not sure because of this restriction I'm unable to use these commands ? Errors: User's image

User's image

User's image

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.

Windows for business | Windows Server | User experience | PowerShell

Answer accepted by question author

PRADEEPCHEEKATLA 91,866 Reputation points
2023-04-12T12:52:40.8133333+00:00


Siddharth Joshi
- Thanks for the question and using MS Q&A platform.

Get-AzSynapseSqlPool - This command gets all SQL pools under a workspace.

As per the repro I was able to get the SQL pools available under my workspace.

Here is the snapshot of Azure Portal:

User's image

Here is the snapshot of PowerShell: User's image

Note: Get-AzSynapseSqlDatabase - This feature is in a limited preview, initially accessible only to certain subscriptions. Which means this command is not available for all the subscriptions.

As per the repro, I'm getting the same error message as shown above.

User's image

Hope this helps. Do let us know if you any further queries.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

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.