Existing PBIX PBI file connect to Azure SQL database Power BI Service - azure

I have an existing PBIX file that uses on-premise SQL server as data source and there is a gateway on PBI service for it. Now I want the same PBIX file to be able to use Azure SQL database as data source.
I am able to connect PBI desktop version to Azure SQL database, I published the report to power bi service.
As per my research we do not need a data gateway for Azure.
How do I set up Power BI service in order to connect to the power BI file? I put in the credentials as well and the report does not load.
Error shows as:

It could be the Networking setting of your Azure SQL Server. Either the firewall rules, or the "Allow Azure services and resources to access this server" setting?
screenshot of Networking tab of an Azure SQL Server in Azure Portal

Related

My web api get 500 internal server after deploy to azure api management

I am new to azure app service, i have used visual studio to deploy my web api to azure api management. i am doing a mobile application project, I need to make local ssms database data sync to azure cloud. because my web api is connect to ssms database, and it has error when i am testing it in azure api management, it response 500 internal server error, but i have the weatherforecast GET Sample, and this api work normal, it response 200 ok. i don't know what i have done wrong to the web api or i set up wrong in the azure.
ScreenShots:
Check the below steps to deploy sync the local DB to Azure SQL Server.
I need to make local ssms database data sync to azure cloud.
In Azure Portal => Create a new SQL Database Server.
Set Admin
In Local DB => Right click on the DB => Tasks =>select Deploy Database to Microsoft Azure SQL Database.
Click on Connect , provide the Server name from Azure Portal (SQL Server Overview page).
Initially I got the below error.
To access/ Connect Azure SQL DB , we need to enable Public network access and add Firewall rules in Azure SQL Server.
Now I have connected to Azure SQL server and deployed local DB Test to Azure SQL Server without any issues.
SQL Database in Azure contains all the data which we have in local DB.
Now if we want to make any changes to the DB, from SSMS we need to connect to the Azure SQL DB and make required changes.
I have inserted data by connecting Azure SQL DB , you can see the changes in portal.
Now we need to provide the Azure SQL Connection string in the Web.config file of the ASP.Net Web API.
Copy the connection string from Azure SQL DB and paste it in the Web.config file.
Replace the password with your Password.

Use on-premises data gateway in Azure Data Factory

I have an on-premises data gateway service in Azure, which connects to an on-premises SQL Server (this is a standard Azure service, which can be configured).
When I am in the data gateway service in the Azure Portal, I can see that I can "Read and write data using logic apps" right off the bat.
How do I use my newly created on-premises SQL server gateway in Azure Data Factory? I have found some videos on how a gateway is set up, but this I have already done. I simply need to create a new data pipeline, where i make a COPY DATA activity, so I can copy data from this on-premises SQL server to a Cloud Azure SQL server using the gateway.
There is no such requirement to setup any kind of data gateway when accessing on-premises SQL Server using Azure Data Factory.
Azure Data Factory (ADF) makes it very easy to connect with on-premises SQL Server and copy the data to Cloud. You just simply need to create Self-hosted Integration Runtime (IR) in your local machine which will allow you to access the data. Refer this simple step-by-step official tutorial by Microsoft to Create and configure a self-hosted integration runtime.
Once your Self-hosted IR created, you just need to use ADF's Copy data tool and configure your source and destination settings. Use the self-hosted IR which you have created and run the pipeline.
Refer this detailed third-party tutorial to Copy data from On-premises data store to an Azure data store using Azure Data Factory. Easy step-by-step guidance is provided here.

Refresh Excel workbook with data from SQL Azure Database in SharePoint Online

I am migrating from an on-prem SQL database and on-prem SharePoint server to Azure SQL Database and SharePoint Online.
In the current setup I have a SharePoint library containing Excel files that contain data from the SQL database. The connection is defined in an odc file. Excel Services Authentication is setup in this odc using a stored account. This allows data refresh from Excel Web App.
I am trying to setup the same thing in our new environment, but can't find any information on how to set it up. I have tried creating an excel file with a connection to the Azure SQL database and uploading that into a document library in SharePoint Online. If I open the workbook in the browser and click refresh data I get an error saying unable to refresh one or more data connections. If I open in the Desktop App then I can refresh without any issues. Is what I'm trying to achieve possible or do I need to rethink the setup?
Azure SQL Database is not supported. Azure SQL Managed Instance is supported with SharePoint Servers 2016 and 2019. See all the SQL Server options for SharePoint Server.
For SharePoint online you need Business Connectivity Services (BCS) to connect with data services and although the following document: Manage Business Connectivity Service Applications references Azure SQL Database, I believe that Azure SQL Managed Instance is supported but not Azure SQL Database. SQL Managed Instance is a full featured SQL Server instance on an Azure VM. SQL Database is a PaaS service with a subset of SQL Server functionality.

How to save the reports to a directory using SSRS with Azure

How to save the reports to a directory using SSRS with Azure?
You need an Azure VM (IaaS) where you can install a SQL Server instance and install SQL Server Reporting Services. On that Azure VM you can save your reports. You can also save your reports on an on-premise SQL Server.
Once created the Azure VM with SSRS installed you can create reports that connect to Azure SQL Database databases as source of data.
SQL Server Reporting Services is not part of Azure SQL Database (PaaS) and is not available as SaaS in Azure either. It is only available as (IaaS).

How to setup SSRS with an Azure SQL Server Database

I have a SQL Server Database on Azure Cloud and I want to get a report server up and runnning using SSRS that would accesses the data on that database.
Does anyone have any experience with this scenario, or could provide me some guidance on how to go about this.
I'm reading about how SSRS would run on a Azure VM and that the SQL Server and it's respective Database(s) would be installed on that Azure VM. That's not my situation as I have existing SQL Database that exists outside of any VM I spin up.
Thanks,
You will need to host SSRS either on an Azure VM or on premise.
In this link deployment topologies for SSRS on Azure VM are discussed.
One strategy is to deploy SSRS to a VM and use Azure SQL Database as the data source.
Once you deploy the VM containing SSRS, you can then connect SSRS to an Azure SQL DB. This artcle discusses connecting Azure SQL Database to SSRS.
Hope this helps!
Another approach to SSRS support for SQL Azure is SQL SSRS containers. Windocks provides an automated approach that delivers configured SSRS containers for SQL Azure source databases. The advantage of containers in this case includes updating images, and greater scalability.
That's correct, you'll need to migrate your database to a SQL Server running in an Azure VM. You can use the Azure Export Service (https://msdn.microsoft.com/en-us/library/f6899710-634e-425a-969d-8db1267e9471#ExportDB) to export your Azure Database into a dacpac. You can then import the dacpac to the SQL Server VM.
You can set up a Azure VM with SQL Server, start up the SSRS Reporting Configuration Manager. Go to SQL Server Management studio on your VM and create a linked server to your existing SQL Database. Create your queries in the VM database to reference the linked server's data. Then create your reports using the database on the VM, but those queries will be pulling the data from your non-VM database.
Unfortunately, SSRS not supported by Azure Sql Server.
Power BI service (premium), now allows you to upload SSRS files, that can connect to the Azure DB. https://powerbi.microsoft.com/en-us/blog/public-preview-of-paginated-reports-in-power-bi-premium-now-available/
Actually you do not to have your Azure SQL Database on the Azure VM. All Specify your connection string to point to your Azure SQL Database
SSRS does not support Azure SQL DB for its Catalog and Temp DBs. This is a known issue. You have use to SQL Server (on-prem or Azure VM). You can create and run reports that consume date from Azure SQL DB though.

Resources