Using Azure CLI in a Powershell script the command az webapp vnet-integration add has a response of “This command is in preview … etc” which seems to be treated as an Error.
Is there a way to handle this particular response gracefully because running it through cli does work?
Error below:
NotSpecified: This command group is in preview. It may be changed/removed in a future release.
You can append 2> $null to your az command which will ignore messages written to the standard error stream from az. If the az command fails it should still fail the step as per normal.
I was looking through the raw log for more information to provide you but there is nothing further. I will continue to research around that appended error handler because I have not come across it before.