ResourceModules icon indicating copy to clipboard operation
ResourceModules copied to clipboard

[Bug Report]: Trying to remove `RootManageSharedAccessKey` during removal

Open MariusStorhaug opened this issue 11 months ago • 0 comments

Describe the bug

Add [RootManageSharedAccessKey] of type [Microsoft.EventHub/namespaces/authorizationRules] to the Remove-Resource.ps1 file and gracefully skip it.

To reproduce

Run the the work watchers pipeline

Code snippet

NA

Relevant log output

VERBOSE: [-] Removing resource [RootManageSharedAccessKey] of type [Microsoft.EventHub/namespaces/authorizationRules]
WARNING: [!] Removal moved back for retry. Reason: [InvalidDeleteRequestOnDefaultSasRule : Cannot delete default Sas rule RootManageSharedAccessKey used by all namespaces
CorrelationId: 4e50be81-cc48-4018-9357-c996e4890c2e]

MariusStorhaug avatar Aug 23 '23 09:08 MariusStorhaug