Using Set-AzConfig -DisplayBreakingChangeWarning $false will not turn off those message but $Env:SuppressAzurePowerShellBreakingChangeWarnings = "true"
For discussion:
Is behaviour of Runtime.PreviewMessage documented?
Should code generator generate code that also does proper checks for AzConfig data to allow more granlular suppression by namespace or by CmdLet name
Is this warning on Entra ID related Cmdlets still needed?
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:
Runtime.PreviewMessage
documented?Historical ticket mentions only
-WarningAction Ignore
but that's not good.Script or Debug output
Environment data
Module versions
Error output