Skip to content

Cisco Duo Security Sentinel - Marketplace/Content Hub install fails: location parameter is empty (minLength: 1) after Solution V3 packaging #13594

@prajval-um

Description

@prajval-um

Describe the bug
I am a developer at Cisco, and our customers are facing an issue while installing the Duo Connector for Sentinel from the Microsoft Sentinel solutions marketplace. I am experiencing the same issue. The package validates successfully before upload, and the deployment works when I deploy the same [mainTemplate.json] using Custom deployment. However, after publishing the solution, installing it from Content Hub / Marketplace fails with a location validation error (minLength: 1).

{
  "code": "InvalidTemplate",
  "message": "Deployment template validation failed: 'The provided value for the template parameter 'location' is not valid. Length of the value should be greater than or equal to '1'. Please see https://aka.ms/arm-syntax-parameters for usage details.'."
}

This happens even though:

  • The solution deploys successfully when running the same [mainTemplate.json] via custom deployment (manual ARM deployment).
  • The packaging/upload/publish step does not show any errors, but installation from Content Hub/Marketplace fails.

Impact: published solution cannot be installed through the normal marketplace/Content Hub flow due to location being passed as an empty string.

To Reproduce
Steps to reproduce the behavior:

  1. In Azure Portal, go to Microsoft Sentinel -> Content hub.
  2. Select the published solution and click Install.
  3. Installation fails during ARM template validation with the error shown above: template parameter location has length < 1.

Expected behavior
The install flow should always pass a non-empty location parameter (or the template engine should fall back to resourceGroup().location), so the solution installs successfully from Content Hub/Marketplace, the same way it installs via custom deployment.

Screenshots

  • Add screenshot of the Azure Portal install failure showing the InvalidTemplate / location minLength error.
  • Image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: N/A

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context

  • The issue appears only in the published install flow; direct ARM “custom deployment” works.

  • Error indicates the location parameter is being passed as an empty string during the marketplace/Content Hub install.

  • In the generated templates, location typically has minLength: 1. If the UI definition ([createUiDefinition.json] output uses [location()] and the portal hides/doesn’t populate it, the output can be empty and fails validation.

  • Request: confirm if this is a known limitation/bug in Solution V3 packaging or portal install flow, and provide the recommended pattern to guarantee a valid location is passed during Content Hub installation (without breaking validation rules like ARM-TTK).

  • Solution name (Cisco Duo Security Sentinel) and package version (3.1.0).

Metadata

Metadata

Labels

SolutionSolution specialty review needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions