-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Az.Synapse 0.14.0] Get-AzSynapseWorkspace resource provider 2021-04-01-preview unsupported in some clouds #15616
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aim-for-better, @idear1203. Issue DetailsDescription
Debug Output
Error Output
Steps to reproduce(Get-AzSynapseWorkspace -WorkspaceName "workspaceName").ConnectivityEndpoints.SqlOnDemand Environment data
|
Thanks for reaching out! I will do some investigation first. |
Additionally: this cmdlet does not seem to throw the correct exit code when failing with this error.
|
@dingmeng-xue could you please take a look at the exit code issue? Code link is here: Update-AzSynapseWorkspace . We don't have control about the exit code? |
The error message reflects message from service. You can see It seems |
@dingmeng-xue this is true and we are actively working on fix for the API version issue. However, I want to understand that when the exception is thrown, why the exit code of the PowerShell cmdlet is zero? |
Status Code is 404 which is |
@cutecycle may I know how you get the following message:
These are not the output of the PowerShell cmdlet. If you want to check status code of the PowerShell cmdlet, please use |
@idear1203 I think you might be right; this cmdlet is being wrapped in an Azure DevOps AzurePowerShell task which may not be retrieving the exit code properly |
Description
We work in AzureUSGovernment and had a script that defaulted to the latest version of Az.Synapse and broke on a
Get-AzSynapseWorkspace
call. I think it's because of the update to the dotnet-sdk Synapse management package. I'm now passing-RequiredVersion
, but thought it may be important to raise the issue.Debug Output
Error Output
Steps to reproduce
Environment data
The text was updated successfully, but these errors were encountered: