Restore dabase at Azure SQL MI from Storage account that have public endpoint disabled

Girija Mohapatra 0 Reputation points
2025-05-21T08:17:03.9233333+00:00

Hi,

I have one Azure SQL MI & One Storage account. Due to security reasons public endpoint is disabled on both. Please guide how to restore database at Azure SQL MI from Storage account that have public endpoint disabled. I have tried multiple ways but it failed .

Regards

Girija

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. PratikLad 1,830 Reputation points Microsoft External Staff Moderator
    2025-05-22T17:14:57.5666667+00:00

    Hi Girija Mohapatra

    As per your discussion with CSS team the issue is causing because the security configuration where the public endpoint is disabled on both the Azure SQL Managed Instance and the Storage account.

    To restore a database to Azure SQL Managed Instance (MI) from a Storage Account with the public endpoint disabled, you must ensure private connectivity between the Managed Instance and the Storage Account. The error you encountered (Operating system error 5 (Access is denied.)) is typically due to network access or identity issues.

    You can follow below document to create a VNet link between zone blobstorage and VNET sql mi and a A record.

    https://learn.microsoft.com/en-us/azure/dns/private-dns-getstarted-portal#link-the-virtual-network


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.