0

I am attempting to automate the creation of a database server and database using an Azure powershell runbook.

I have managed to create the server ok, but when I then try to connect to it to create the database and user, I hit firewall issues. I cannot find a way to get the IP address of the runbook so I can add a firewall exclusion.

Any help appreciated!

1 Answer 1

2

After you create the server add the firewall rule that allows Azure services access to it.

New-AzureSqlDatabaseServerFirewallRule -ServerName [your_server_name] -AllowAllAzureServices
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.