azure-docs
azure-docs copied to clipboard
Code Snippet Argument of Incorrect Data Type
In the Deployment Stacks page, where the AZPS commands are used, the data type for the -DenySettingsExcludedPrincipal
field shows a string (space-separated object ids).
In reality, as shown below, this command expects a string array. The AZPS documentation page on the same commandlet:
(from this azps reference page)
Using a space separated string results in the following error message:
Using a string array is successful! Can y'all update this doc for consistency? Thank you in advance :)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 5f622312-3736-6fad-926d-10fd6124987d
- Version Independent ID: d7bb5e0d-f165-0a3d-0db0-862ce839e8c4
- Content: Create & deploy deployment stacks in Bicep - Azure Resource Manager
- Content Source: articles/azure-resource-manager/bicep/deployment-stacks.md
- Service: azure-resource-manager
- Sub-service: bicep
- GitHub Login: @mumian
- Microsoft Alias: jgao
@emerasml Thanks for your feedback! We will investigate and update as appropriate.
@emerasml We have verified and updated the document as required. The update will go live in less than 24 hours. Thanks again!