azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

TemplateParameterObject makes cmdlet omit the error outputs for New-AzureResourceGroupDeployment

Open clamanna opened this issue 11 years ago • 7 comments

When using the TemplateParameterObject param of New-AzureResourceGroupDeployment, rather than the dynamic cmdlet parameters, this issue appeared (module version 0.8.13).

The cmdlet stopped seeing error messages emitted to the PS host.

For example, the message "New-AzureResourceGroupDeployment : 5:27:20 AM - Resource ... with message 'Operation results in exceeding quota limits of Core. Maximum allowed: 5, Current in use: 4, Additional requested: 2.'" for exceeding core quota was now missing consistently.

Switching back to dynamic cmdlet parameters and doing the same deployment caused the error message to reappear.

clamanna avatar Mar 28 '15 02:03 clamanna

@matt-gibbs Seems like this should be assigned to @chadiel's team instead

singhkays avatar Jul 17 '15 21:07 singhkays

Lets see if this issue still exists.

ravbhatnagar avatar Feb 11 '16 18:02 ravbhatnagar

See if this still repros

ravbhatnagar avatar Apr 25 '16 19:04 ravbhatnagar

@TianoMS - Can you please see if this still repros.

ravbhatnagar avatar May 24 '16 00:05 ravbhatnagar

This issue no longer repros. I tried:

new-azurermresourcegroupdeployment -ResourceGroupName "tiano309" -TemplateFile "t1.json" -TemplateParameterObject @{storageAccountName="verylongname111111111111111111"},

and we could get the error message.

TianoMS avatar May 25 '16 01:05 TianoMS

Closing as this doesn't repro. Feel free to reach out or reopen if you feel otherwise.

ravbhatnagar avatar May 25 '16 17:05 ravbhatnagar

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17

ghost avatar Aug 14 '19 19:08 ghost