SSMS Error with Create Credential in Maintenance Plan

rr-4098 1,461 Reputation points
2024-08-28T19:43:09.02+00:00

I was able to backup an onprem SQL DB to an Entra Storage account without issue. The problem is when I try to backup the DB using a maintenance plan I get the error below. I have been reading how to resolve this online and have already tried upgrading to the latest release of SSMS which did not help. I also tried to update the SSMS.exe.config file with the assembly listed and got the same result.

Thoughts???

User's image

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,670 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. ZoeHui-MSFT 36,116 Reputation points
    2024-08-29T06:40:19.9566667+00:00

    Hi @rr-4098

    Here is a same thread and someone said that he solved with below.

    you cannot create the credential in the new task dialog box or wizard.

    After following those instructions, create the plan with the credential you need, setting the URLs, etc. After the task is created, click on the task and open the Properties panel  and remove the value for "CredentialName":

    thumbnail image 4 of blog post titled  Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19 Re: Error when creating SQL Credential in SSMS 19

    "Sql Credential:" in the task box should be empty.

    Save the plan and it will execute! Hope this helps.

    You may carefully take a reference to.

    Error when creating SQL Credential in SSMS 19

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


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.