1

How to export the azure database data to excel from azure portal, Azure query editor does not have export option like to excel. If that is not possible what are the ways I can export the data using azure connect?

1 Answer 1

3

You can do this directly in Excel using the "Data Connection Wizard".

  1. Go to "Data" tab in your excel workbook enter image description here

  1. In the data connection wizard enter connection details for your database server

Notice that server name has .database.windows.net in the end to provide full name.

enter image description here


  1. Select one or more tables to get data from

enter image description here

It's pretty intuitive from here on..

On a sidenote, for your client (machine where you're running Excel) to be able to connect to SQL Server, you may need to add the client's IP address following below steps -

  1. Navigate to your Azure SQL Server in Azure Portal

  2. Under Security, select "Firewalls and virtual networks"

enter image description here

  1. Add your client IP to the list of allowed IP Addresses here -

enter image description here

You can find your public facing client IP address by simply typing "my ip address" in google.

Sign up to request clarification or add additional context in comments.

6 Comments

@Ashwini Jha, were you able to get data into Excel using steps mentioned? or still facing any issues?
How to connect if I am behind a firewall, which is blocking the port at 1433? Any web interface to connect to azure database?
no I am unable to get the data, I guess network is blocking the default port which is 1433/1434, Any idea ?
It may be a problem that Azure SQL Server isn't allowing connections to your client. Is your client machine (one where you have excel) IP address added to Azure SQL Server Firewall? If not, you need to add it or you can use a different machine that is already added to SQL server. I'll add the steps related to firewall access in answer above.
@Ashwini Jha Were you able to connect to Azure SQL Server after following the new steps mentioned?
|

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.