我为存储帐户创建了 Azure 专用终结点。当我删除资源组时,似乎首先删除了存储,并且私有端点仍然指向陈旧的存储帐户。我无法再删除私有端点。
即使使用强制选项,我也无法删除。
PS /home/user1> Remove-AzResource -ResourceId /subscriptions/subcription-id/resourceGroups/Testing007/providers/Microsoft.Network/privateEndpoints/pe022 -Force
Remove-AzResource: InternalServerError : An error occurred.
CorrelationId: 45bf24f4-7198-4893-9aa0-5cb527874ba7
PS /home/user1> Remove-AzPrivateEndpoint -ResourceGroupName Testing007 -Name pe022 -Force
Remove-AzPrivateEndpoint: Long running operation failed with status 'Failed'. Additional Info:'An error occurred.'
StatusCode: 200
ReasonPhrase: OK
Status: Failed
ErrorCode: InternalServerError
ErrorMessage: An error occurred.