Azure / Azure/azure-powershell

[Eng]: -WhatIf switch isn't honored for command: Sync-AzVirtualNetworkPeering

Open
#24,029 5 comments 0 reactions 0 assignees View on GitHub
act-quality-productivity-squad bug customer-reported Network - Virtual Network Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description

I see multiple feedbacks or github issues (for different products) where many cmdlets may not even honor/support WhatIf switch.

-Whatif is not honored for this command Sync-AzVirtualNetworkPeering command, can we please update this doc accordingly: [Sync-AzVirtualNetworkPeering (Az.Network) | Microsoft Learn](https://learn.microsoft.com/en-us/powershell/module/az.network/sync-azvirtualnetworkpeering?view=azps-10.4.1) or get this to work (make it to honor -whatif switch)?

Contributor guide

Open the contributing guide

Research direction

Start with the Sync-AzVirtualNetworkPeering cmdlet and compare its actual -WhatIf behavior with the Microsoft Learn documentation linked in the issue. Determine whether the intended result is a documentation correction or implementation change; done means the documented behavior and command behavior agree, with appropriate validation for the selected path.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cli, cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.