I am trying to connect to azure database from Power Bi. I can connect to the database using Managment studio and I can connect using power bi if I do not specify the database name.
If I put the database name (needed when I want to run a query), PowerBI not not connecting and it's telling me that the IP address is not registered (I have added the IP address on the azure firewall, which is proved by the fact I can perfectly connect and import tables if I just put the server name).
step 1 clean the stored credentials in the power bi -file>option and setting> data source setting> find your azure server and delete/clear permission
and then try to login to your azure sql
Related
Requirement: I wanted to copy data from a specific table/view residing on a on-premise SQL Server to Azure SQL DB.
Infrastructure: As depicted in below picture. Essentially, the Azure network is directly connected with corporate network over Express Route. Thus it's a pure private network connection; as good as the corporate network itself.
Issue/Question: I know there are multiple approaches present to get this operation done and I am not restricted to use ADF copy Data tool only. BUT, for all of these I see some cavets or extra steps needed to be done as below:
ADF Copy Data Tool: Needs a SH-IR and a small MSI package needs to be installed on on-premise machine which hosts the SQL server for registration purpose.
Logic Apps: Needs a Virtual Gateway (OR) ASE
App Service: If the operation is wrapped in a C# application and I choose to deploy to a Azure Web Apps. Then in-order to connect to on-premise SQL Server we need to setup hybrid connection manager and as in #1 we need to install something in on-premise machine.
For my case, none of these extra steps can be done. essentially, the on-premise SQL Server comes under a different BU and thus I don't have any permission there; except they have given grant to a table/view. Thus, none of these extra shitty steps can be done.
Moreover, as mentioned above; since it's connected over express route as direct connection, As can be seen in above picture, both the on-premise and azure SQL are essentially inside the same corporate network. THUS, I should be able to access them directly without configuring any of these extra steps as mentioned above.
Please confirm on these and provide a suggestion.
Thank You.
You can still go with the ADF scenario without a SHIR by creating ADF in a Managed VNET using Private Endpoint. As you already have an ER circuit and have the flexibility to configure the Azure side, can you do this with Azure IR: Access on-premises SQL Server from Data Factory Managed VNet using Private Endpoint - Azure Data Factory | Microsoft Docs
There are 2 solutions which could work for your scenario but even for them to work ,you would need access to on prem SQL server machine access to some extent atleast for one time config and Azure SQL db should be accessible via SSMS installed on on-prem machine.
Using linked server
You can create a linked server ( process explained here https://www.sqlshack.com/create-linked-server-azure-sql-database/ ) on on-prem server and create a agent server job to insert data to azure SQL db table.
Via Python Script
This would need Python installation on on-prem machine. Once installed you can write script to transfer data between on-prem SQL server and Azure SQL db. You can schedule this script again by using an agent server job.
We were not able add Azure SQL Server as external data source in Dremio. We have disabled the firewall to allow all access (at the Azure SQL Server end) to connect to Azure SQL Server, but it was still throwing an error and it was not able to connect from Dremio.
Please let us know if we will need to configure a firewall on route from the Dremio server end to connect to the Azure SQL Server.
Error output:
> Error : Could not connect to intake-dev,
> check your JDBC connection information and credentials.
Note: We have checked that the credentials passed are accurate, and we were able to connect from SSMS using these.
Unfortunately, Dremio does not support Azure SQL Server as a source.
Check this post on dremio community.
Within my company there's the wish to use Power BI.
This should be connected to a server which is on a Remote Desktop.
The users don't have access to this Remote Desktop, so want to use Power BI locally.
Is this possible, because I can't find a way?
You can install powerbi in your local machine and connect to remote server to get the data
I have set up an Azure Virtual Machine with a SQL Server 2016 Standard Edition image. I have installed an instance of Analysis Services Tabular on the machine and configured endpoints such that I can access it from my local machine.
I have deployed SQL Server, SSAS Multidimensional, and SSAS Tabular databases to this machine. I am able to connect to the relational databases, and when I connect to Analysis Services I either use the IP Address or DNS name, and I am able to connect to SSAS Multidimensional databases. Usually I would add the suffix \tabular to the Server name to connect to a Tabular Instance when accessing it from Excel/Tableau/other reporting tool.
However using the \tabular suffix in the Server Name I receive the error "Errors in the OLE DB provider. Could not connect to the redirector. Ensure that the SQLBrowser server is running on that server". I have checked the virtual machine, and I have that service running. I'm wondering if perhaps \tabular is not the correct syntax to connect to a tabular instance of an Azure-hosted SQL Server.
Any help or advice would be appreciated.
I would RDP to the Server and connect in SSMS to the Tabular instance. Right click on Object Explorer on the Server Node and choose Properties. Go to the General tab and change the Port property to something like 1234 so the Port will be fixed. Restart the SSAS Tabular service. Open Windows Firewall app on the VM and open ports 2382 and 1234. Then edit the Network Security Group for that VM in the Azure portal and open tcp port 2382 for SQL Browser and 1234 (or whatever port you chose) for SSAS Tabular. Now you can connect to either of the following Server names:
Servername\TABULAR
or
Servername:1234
Documentation about this can be found here.
How to load my SQL database created in MySQL Workbench on Azure cloud?
I created a database which consists of some tables - for now, there is now data in them, it's just a small script created by MySQL Workbench. I also created a database on Azure cloud, created login & password and when I want to use 'automated export' option (I have Storage account, I enter valid login with password) I have error:
'Could not find any bacpac files in the specified storage account.'
I tried google this phrase but I completely do not understand the idea behind these bacpac files and I do not know what to do with it. Can anyone describe me step-by-step how to put my database on Azure cloud?
I want to connect to this DB on Azure in the future because I would like to do a webapplication and android app which will use a remote DB available online.
Azure SQL Database is a custom SQL Server, so if you want to use MySQL you should create a Clear DB (which is a Microsoft partner that offers MySQL on azure). Other option, you can create a Virtual Machine and install by yourself a MySQL.
After that, you can import your tables / records.