On france region, when i try to use New-WinGetSource.ps1 Cosmos DB creation fail always.
I found that issue is on cosmosdb.json ARM template. The parameter "name" is not correct and must be "cosmosName" instead.
When, changed, New-ARMParameterObject.ps1 must be changed also to have the good name
Steps to reproduce
use the following cmd line
New-WinGetSource -Name "contoso" -ResourceGroup "WinGetPrivateSource" -Region "francecentral" -ImplementationPerformance "Demo" -ShowConnectionInstructions
Expected behavior
Cosmos DB ARM template validation is OK and must be created without error
Actual behavior
Cosmos DB ARM template validation fail
Environment
Windows Package Manager REST Source Reference Implementation 1.1.20211101
Brief description of your issue
On france region, when i try to use New-WinGetSource.ps1 Cosmos DB creation fail always. I found that issue is on cosmosdb.json ARM template. The parameter "name" is not correct and must be "cosmosName" instead. When, changed, New-ARMParameterObject.ps1 must be changed also to have the good name
Steps to reproduce
use the following cmd line
New-WinGetSource -Name "contoso" -ResourceGroup "WinGetPrivateSource" -Region "francecentral" -ImplementationPerformance "Demo" -ShowConnectionInstructions
Expected behavior
Cosmos DB ARM template validation is OK and must be created without error
Actual behavior
Cosmos DB ARM template validation fail
Environment