-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Milestone
Description
Brief description of your issue
When running New-WinGetSource I receive the following error:
Write-Error: C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\New-WinGetSource.ps1:157
Line |
157 | New-ARMObjects -ARMObjects $ARMObjects -RestSourcePath $RestS …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to create Azure object.
Name Value
---- -----
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\applicationinsights.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\applicationinsights.json
ObjectType AppInsight
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\keyvault.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\keyvault.json
ObjectType Keyvault
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\storageaccount.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\storageaccount.json
ObjectType StorageAccount
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\asp.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\asp.json
ObjectType asp
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\cosmosdb.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\cosmosdb.json
ObjectType CosmosDBAccount
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName WinGet
ParameterPath C:\projects\Parameters\cosmosdb-sql.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\cosmosdb-sql.json
ObjectType CosmosDBDatabase
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName Manifests
ParameterPath C:\projects\Parameters\cosmosdb-sql-container.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\cosmosdb-sql-container.json
ObjectType CosmosDBContainer
Parameters {contentVersion, Parameters, $Schema}
Error
ObjectName winget2test
ParameterPath C:\projects\Parameters\azurefunction.json
TemplatePath C:\Users\dahov\Downloads\WinGet.RestSource-Winget.PowerShell.Source\WinGet.RestSource-Winget.PowerShell.Source\Library\ARMTemplate\azurefunction.json
ObjectType FunctionSteps to reproduce
Following instructions here. Running below command (some values changed for security):
New-WinGetSource -Name winget2test -ResourceGroup rg-vnet01-wus2 -SubscriptionName "Test" -Region westus2
Expected behavior
More meaningful error should be provided or resources should be created as expected.
Actual behavior
Non-descript error received.
Environment
Windows Package Manager v1.1.12986
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22000.318
Package: Microsoft.DesktopAppInstaller v1.16.12986.0Metadata
Metadata
Assignees
Labels
No labels