Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using NoWait parameter to Set-AzServiceBusNamespace #26998

Open
sujeethj opened this issue Jan 10, 2025 · 0 comments
Open

Error using NoWait parameter to Set-AzServiceBusNamespace #26998

sujeethj opened this issue Jan 10, 2025 · 0 comments
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.

Comments

@sujeethj
Copy link

Description

When calling Set-AzServiceBusNamespace with -NoWait parameter, I get an error

Get-AzServiceBusNamespace: C:...\PowerShell\Modules\Az.ServiceBus\4.0.1\ServiceBus.Autorest\custom\Set-AzServiceBusNamespace.ps1:180:66
Line |
180 | … $serviceBusNamespace = Get-AzServiceBusNamespace @PSBoundParameters
| ~~~~~~~~~~~~~~~~~~
| A parameter cannot be found that matches parameter name 'NoWait'.

Issue script & Debug output

Set-AzServiceBusNamespace -ResourceGroupName $resourceGroup.ResourceGroupName -Name $serviceBusNamespace.Name -MinimumTlsVersion "1.2" -NoWait

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.3
PSEdition                      Core
GitCommitId                    7.4.3
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name         
---------- -------    ---------- ----         
Script     4.0.0                 Az.Accounts  
Script     7.7.0                 Az.Resources 
Script     4.0.1                 Az.ServiceBus

Error output

Get-AzServiceBusNamespace: C:\...\PowerShell\Modules\Az.ServiceBus\4.0.1\ServiceBus.Autorest\custom\Set-AzServiceBusNamespace.ps1:180:66
Line |
 180 |$serviceBusNamespace = Get-AzServiceBusNamespace @PSBoundParameters
     |                                                       ~~~~~~~~~~~~~~~~~~
     | A parameter cannot be found that matches parameter name 'NoWait'.
@sujeethj sujeethj added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jan 10, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

1 participant