Failed to Restore an Azure SQL Managed Instance Database from Azure Blob Storage by info.odysseyx@gmail.com October 18, 2024 written by info.odysseyx@gmail.com October 18, 2024 0 comment 11 views 11 If you encounter issues while restoring an Azure SQL Managed Instance database from Azure Blob Storage, ensure that the database backup file is stored correctly in Azure Blob Storage. Error: 1 ‘Unable to open backup device’https://mystorageaccount.blob.core.windows.net/test_container/db_backup/mytest_db_01.bak‘. Operating system error 86 (The specified network password is incorrect.) RESTORE DATABASE terminates abnormally. Cause of failure Blob storage credentials are incorrect or missing. To verify your credentials Although we’re leveraging managed identities, the same approach applies to all identity types. SQL Managed Instance Managed Identity Storage Contributor and Storage Blob Data Contributor It is required. select * from sys.credentials To create credentials USE master GO CREATE CREDENTIAL [https:// mystorageaccount.blob.core.windows.net/db_backup/] WITH IDENTITY='Managed Identity' GO Error: 2 ‘Unable to open backup device’https://mystorageaccount.blob.core.windows.net/test_container/db_backup/mytest_db_01.bak‘. Operating system error 12007 (Failed to retrieve text for this error. Reason: 317) RESTORE DATABASE terminates abnormally. Cause of failure Public network access for storage accounts is disabled and relies solely on private endpoints. However, the private endpoint was misconfigured or associated with an incorrect DNS zone, causing connectivity issues. A private endpoint for Blob storage must be created using: privatelink.blob.core.windows.net Private DNS zone. To verify your private endpoint DNS configuration Go to Storage Account > Network > Private Endpoint > Click Private Endpoint > Settings > DNS Configuration. FQDN: mystorage.privatelink.blob.core.windows.net Private DNS zone: privatelink.blob.core.windows.net Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post What’s New in Copilot for Sales – October 2024 next post Cross Subscription Database Restore for SQL Managed Instance Database with TDE enabled using ADF You may also like 7 Disturbing Tech Trends of 2024 December 19, 2024 AI on phones fails to impress Apple, Samsung users: Survey December 18, 2024 Standout technology products of 2024 December 16, 2024 Is Intel Equivalent to Tech Industry 2024 NY Giant? December 12, 2024 Google’s Willow chip marks breakthrough in quantum computing December 11, 2024 Job seekers are targeted in mobile phishing campaigns December 10, 2024 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.