azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Code Snippet Argument of Incorrect Data Type

Open emerasml opened this issue 11 months ago • 1 comments

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).

image

In reality, as shown below, this command expects a string array. The AZPS documentation page on the same commandlet: image (from this azps reference page)

Using a space separated string results in the following error message: image

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.

emerasml avatar Mar 21 '24 23:03 emerasml

@emerasml Thanks for your feedback! We will investigate and update as appropriate.

KrishnaG-MSFT avatar Mar 22 '24 02:03 KrishnaG-MSFT

@emerasml We have verified and updated the document as required. The update will go live in less than 24 hours. Thanks again!

KrishnaG-MSFT avatar Mar 28 '24 02:03 KrishnaG-MSFT