microsoftgraph / microsoftgraph/msgraph-bicep-types

PowerShell deployment does not support -WhatIf

Open
#34 5 comments 0 reactions 1 assignee View on GitHub

@jason-dou is already working on this.

Since Sep 29, 2023.

bug triaged
Dominant language
TypeScript
Stars
80
Forks
15
Avg merge
1h 21m
Merged PRs (30d)
3

Description

When attempting to deploy a template with a single app registration using -WhatIf no results are returned.

Example deployment command:

New-AzResourceGroupDeployment -Name datest -ResourceGroupName datest -TemplateFile .\main.bicep -TemplateParameterFile .\main.bicepparam -WhatIf

Returns the following output:

Note: The result may contain false positive predictions (noise).
You can help us improve the accuracy of the result by opening an issue here: https://aka.ms/WhatIfIssues.


Resource changes: no change.

I have also tested with Az CLI with the same results:

az deployment group create --resource-group datest --template-file main.bicep --parameters main.bicepparam --what-if

Returns:

Note: The result may contain false positive predictions (noise).
You can help us improve the accuracy of the result by opening an issue here: https://aka.ms/WhatIfIssues


Resource changes: no change.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.