Not able to generate credentails for Azure SQl Database

Pulipati Vedanth 111 Reputation points
2021-07-19T12:46:15.113+00:00

Hi,

I am trying to connect Azure SQl Database using GitHub Actions. but i am not able to generate the deployment credentials.
Referred document for connection: https://learn.microsoft.com/en-us/azure/azure-sql/database/connect-github-actions-sql-db#code-try-0

Stuck at Generate the deployment credentials.

Thanks in advance..!!

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Saurabh Sharma 23,816 Reputation points Microsoft Employee
    2021-07-19T16:52:27.237+00:00

    Hi @Pulipati Vedanth ,
    Thanks for using Microsoft Q&A !!
    Are you getting any errors ? I am able to create the service principal using listed cmdlet, however, it looks like the cmdlet in the document has additional bacslash('\') which might be causing error while creating the credentials. Can you please run the cmdlet like below if that's the case -
    az ad sp create-for-rbac --name {server-name} --role contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{resource-group} --sdk-auth

    `115945-image.png

    Please refer to az ad sp create-for-rbac.
    Please let me know if you are getting any other errors so that we could help you.

    Thanks
    Saurabh

    3 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. 2022-05-24T16:33:07.243+00:00

    Please refer to az ad sp create-for-rbac.
    Please let me know if you are getting any other errors

    Thanks
    Sana'a Al Sabaiba'a

    1 person found this answer helpful.
    0 comments No comments

  2. ميسة عايد 21 Reputation points
    2024-04-06T10:04:30.27+00:00

    البدء السريع: تواصل مع إجراءات GitHub - قاعدة بيانات Azure لـ MySQL - الخادم المرن

    0 comments No comments

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.