Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.87k forks source link

Missing instructions to suppress preview feature warnings #26696

Open jikuja opened 1 week ago

jikuja commented 1 week ago

Description

E.g. Entra ID related CmdLets still have preview warning attributes on those. E.g.: https://github.com/Azure/azure-powershell/blob/5607f221ec17cedec89da945181893495d5a1e5e/src/Resources/MSGraph.Autorest/generated/cmdlets/NewAzADGroupGraphRefMember_Create.cs#L22

Using Set-AzConfig -DisplayBreakingChangeWarning $false will not turn off those message but $Env:SuppressAzurePowerShellBreakingChangeWarnings = "true"

For discussion:

Historical ticket mentions only -WarningAction Ignore but that's not good.

Script or Debug output

Environment data

Module versions

Error output