Trying to publish an Azure Application to the Azure Marketplace. The solutions template is working but it is failing a best practices test when I attempt to make it live (Go Live button in the Partner Center portal).
The best practice failure:
`##[error] Api versions must be the latest or under 2 years old (730 days) - API version 2018-05-01 of Microsoft.Resources/deployments is 1057 days old
So I updated the apiVersion for the resource in question and attempted to upload it via the Partner Center portal and I get this error message:
Package acceptance validation error: AzureAppTrackingIdFound The uploaded package has an additional resource in the mainTemplate.json. The resource - "name": "pid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx" should not be present. Error code: PAC-AzureAppTrackingIdFound
Strange error since I'm only changing the apiVersion.
When I remove that resource from maintemplate.json I do not see the error in Partner Center. However, the package still fails the same best practice test since it seems there is no way to update the apiVersion for that resource.
Does anybody have experience with this? I'm certain I'm doing something wrong but I don't see where.
I've also created a support case via the Partner Center for this but hoping somebody can point me in the right direction.