Azure / Azure/azure-powershell

[Feature]: Bicep template support for AzureStack

Open
#16,639 2 comments 0 reactions 1 assignee Claimed by @bganapa View on GitHub
Azure Stack feature-request
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

New-AzResourceGroupDeployment cmdlet supports bicep template for deployment against Azure. However, this cmdlet throws below error against AzureStack

```
PS C:\AzureStack-QuickStart-Templates\Bicep\101-vmss-windows-vm> New-AzResourceGroupDeployment -ResourceGroupName "biceptest" -TemplateFile .\azuredeploy.bicep -Verbose

VERBOSE: Performing the operation "Creating Deployment" on target "biceptest".
New-AzResourceGroupDeployment : Unexpected character encountered while parsing value: @. Path '', line 0, position 0.
At line:1 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName "biceptest" -Templat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzResourceGroupDeployment], JsonReaderException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
```

### Proposed implementation details (optional)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.