arcus-azure / arcus.scripting

Scripting with Microsoft Azure in a breeze.
https://scripting.arcus-azure.net/
MIT License
9 stars 12 forks source link

`Backup-AzApiManagementService` is not working anymore #426

Closed pim-simons closed 4 months ago

pim-simons commented 4 months ago

Describe the bug Using the Backup-AzApiManagementService results in

Operation returned an invalid status code 'BadRequest'

This seems to be an issue in the Azure Powershell code, see also https://github.com/Azure/azure-powershell/issues/23411 The solution seems to be to use managed identity to backup APIM to storage account.

To Reproduce Steps to reproduce the behavior:

Expected behavior A successful backup made