"The OLE DB provider MSOLAP has not been registered"

Pooja rs 20 Reputation points
2025-04-29T17:21:08.74+00:00

We’re updating our application to use Azure SQL Managed Instance. After adjusting some setup steps and SQL code, the database is working fine. The only issue we have now is connecting to an Analysis Services instance running on a Windows VM in Azure. We had a linked server that worked well in SQL Server (both on-prem and in an Azure VM), but when we try to use it from the Managed Instance, it gives an error. I haven’t been able to find any clear documentation on how to connect from a Managed Instance to Analysis Services. Does anyone have advice or a solution for this?

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Sai Raghunadh M 3,720 Reputation points Microsoft External Staff Moderator
    2025-04-29T17:36:35.0933333+00:00

    Hi @ Pooja rs

    Azure SQL Managed Instance does not support OLE DB providers like MSOLAP, which are required for creating linked servers to SQL Server Analysis Services (SSAS). This is a known limitation of the platform, and currently, there is no direct way to connect from a Managed Instance to an SSAS instance via linked server.

    To work around this limitation, you could consider the following options:

    Use an External VM or Service: Instead of connecting directly from the Managed Instance, you can set up a VM or another service to act as an intermediary. This VM can host the necessary OLE DB provider (MSOLAP) and handle the connection to Analysis Services.

    Export and Import Data: If feasible, you can export the required data from Analysis Services to a format like CSV and then import it into your Managed Instance.

    Custom Application Logic: Develop an application or script that queries the Analysis Services instance and writes the results to your Managed Instance.

    Please go through this Documentation that might help you:

    https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server?view=azuresql#linked-servers

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.