Azure / Azure/ResourceModules

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

Open
#3,710 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
737
Forks
436
Avg merge
10d 7h
Merged PRs (30d)
1

Description

### 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

```Bicep
NA
```

### Relevant log output

```Shell
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]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.