Azure / Azure/sql-action

Getting Failed to add firewall rule error during SQL DB deployment using GitHub Hosted Runner

Open
#174 12 comments 0 reactions 0 assignees View on GitHub
idle need-to-triage
Dominant language
TypeScript
Stars
142
Forks
73
PR merge metrics
No merged PRs in 30d

Description

Getting Failed to add firewall rule error during SQL DB deployment using GitHub Hosted Runner although 'Allow Azure Services And resources to access this server" is checked in the SQL server

Error: Failed to add firewall rule. Unable to detect client IP Address. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login failed for user 'MCSSQLADMIN'..
Error: The process 'C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\SQLCMD.exe' failed with exit code 1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.