A Backup device of type URL was specified without a Credential, Backup/Restore operation cannot proceed.

Recently, I was working on a critical requirement for one of my clients. At the same time, I got this error running an SQL script that takes the backup of the SQL DB to the Blob storage.

Reason

I got this error because I didn’t include the WITH credential = ‘name of your SQL credential’ parameter with the SQL script to back up the Azure SQL database.

Solution

Along with the Database base SQL script, you need to add the below line

WITH credential = 'mySQLBackups';

Here, mySQLBackups is the name of the SQL credential.

Check out the screenshot below for more clarity and the complete SQL script to take the Azure SQL backup I executed successfully without any issues.

A Backup device of type URL was specified without a Credential, Backup/Restore operation cannot proceed.

You may also like following the articles below

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!