Remove-SBAuthorizationRule

Remove-SBAuthorizationRule

This cmdlet removes Service Bus authorization rules for a given Service Bus namespace.

Syntax

Parameter Set: Default
Remove-SBAuthorizationRule -Name <String> -NamespaceName <String> [ <CommonParameters>]

Detailed Description

Run Remove-SBAuthorizationRule to remove the authorization rules for your Service Bus service namespace.

Parameters

-Name<String>

The name of the authorization rule you want to remove.

Aliases

n

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-NamespaceName<String>

The scope of the authorization rule you want to remove.

Aliases

ns

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Remove a single authorization rule by specifying the namespace as well as the rule name.

PS C:\> Remove-SBAuthorizationRule -NamespaceName myNamespace –name myAuthRule
PS C:\> 

Service Bus 1.0 MSDN Community Forum