Do not try to purge keyvaults with purge protection #9329
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There's no point in trying to purge these keyvaults with delete protection, it will always fail. The error message that comes after (
![image](https://private-user-images.githubusercontent.com/1020379/383256363-95093610-425f-43e9-ac6e-9a3c0c5e0ed0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMDc2NjYsIm5iZiI6MTczOTIwNzM2NiwicGF0aCI6Ii8xMDIwMzc5LzM4MzI1NjM2My05NTA5MzYxMC00MjVmLTQzZTktYWM2ZS05YTNjMGM1ZTBlZDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMTcwOTI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTMxYzYzYTA0OTA3Mzk5N2UzMDY4ZTgwMzg5MWJhYjg2ZTM1YTcxZGE3Y2M3MGIyODRmNTcyNzZhYzA0NmZmNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7R3_cAAx5YVD0tOoFPPNlI3rbKtc5Ug4i0yoZLkC6SU)
InvalidOperation: Operation 'DeletedVaultPurge' is not allowed.
) marks our cleanup builds with a skipped fail which makes it more annoying to see if there are new issues at a glance: