Lookout v3.0.4: Fix APIKey bracket escaping in mainTemplate.json#14134
Merged
v-atulyadav merged 1 commit intoAzure:masterfrom Apr 27, 2026
Merged
Lookout v3.0.4: Fix APIKey bracket escaping in mainTemplate.json#14134v-atulyadav merged 1 commit intoAzure:masterfrom
v-atulyadav merged 1 commit intoAzure:masterfrom
Conversation
Fixed bracket escaping bug in the ResourcesDataConnector inner template:
- Changed [[parameters('applicationKey')]] to [[parameters('applicationKey')]
- The double closing ]] was producing the literal string [parameters('applicationKey')]]
which caused ARM evaluation error: 'expected token EndOfData, got RightSquareBracket'
when Sentinel instantiated the connector template
Rebuilt 3.0.4.zip with corrected mainTemplate.json.
v-shukore
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ResourcesDataConnectorinner template that caused connector configuration to fail with an ARM evaluation error.3.0.4.zipwith the correctedmainTemplate.json.SolutionMetadata.jsonandReleaseNotes.mdto version3.0.4.Root Cause
The
APIKeyfield in the connector'sauthblock was set to:In ARM templates, a string starting with
[[is treated as an escaped literal — the first[is stripped, producing the stored value:When the Sentinel connector framework later evaluated this stored string as an ARM expression, it stripped the outer
[…]and attempted to parse:The trailing
]caused the error:Fix
Changed
]]→]at the end of theAPIKeyvalue:This matches the identical pattern already used by the adjacent
dcrConfigfields:After the outer ARM deployment strips the escaping
[, the stored value is[parameters('applicationKey')]— a valid ARM expression that Sentinel correctly evaluates to the customer's API key when instantiating the connector.Files Changed
Solutions/Lookout/Package/mainTemplate.jsonAPIKeybracket; bumped all version refs3.0.3→3.0.4Solutions/Lookout/Package/3.0.4.zipSolutions/Lookout/SolutionMetadata.json3.0.4, lastPublishDate2026-04-24Solutions/Lookout/ReleaseNotes.md3.0.4release entry