Importing API Management resource in vnet

I imported a previously created APIM resource. I’m trying to update it. (Just adding tags) I get the following error:

Error: creating/updating API Management Service “{Name}” (Resource Group “{RG Name}”): apimanagement.ServiceClient#CreateOrUpdate: Failure sending request: StatusCode=0 – Original Error: Code=“InvalidOperation” Message=“API Management deployments into Virtual Network : External, which have Public IP resources configured ({ResourceId}) must use api-version 2021-01-01-preview and higher for managing it.”

I don’t know if this is a bug or if I am doing something wrong. I don’t think I’m trying to do anything exotic here…

Terraform v1.0.8
on windows_amd64

The same issue has been logged on the Azure PowerShell GiutHub, so it looks like the AzureRm provider & PowerShell both need to update their ARM versions.

Set-AzApiManagement not working with API Management deployments into Virtual Network : External · Issue #15998 · Azure/azure-powershell (