Forum Discussion
Error Communicating with Analysis Services - Failed to create the MSOLAP command.
Hello,
I am receiving the below error when trying to utilize the 'Create Paginated report (Preview)' from Powerbi Service.
We currently have pro licenses and no fabric premium SKU. I have created paginated reports that are attached to our azure sql server perfectly fine but when it comes to the report server i am receiving this error, with the attached error logs below.
Any assistance would be greatly appreciated.
Could not connect to the data source.
There was an error communicating with Analysis Services. Failed to create the MSOLAP command.
Timestamp: 2025-03-04T17:28:50.532Z
Root activity ID: c908369f-a604-ff13-e30d-48e2abbac786
Session ID: 00000ff8b717489eb26642bbe8a027a4
Tenant ID: 00989d4d-a4a1-4563-8aab-6420833ac74b
Cluster: https://wabi-us-east2-b-primary-redirect.analysis.windows.net/
Report ID: null
Capacity ID: undefined
ReportViewerVersion: 2025.2.4.1758
EDIT: 03/04/2025-
Whenever i try and publish a report, my connection string is not active. This is what i can see- does anyone know if the inactive connection string is because of how our ENTRA login is set up to not allow windows connections?
10 Replies
- AnonymousNot applicable
Hi,ucmaoTWG .I am glad to help you.
It looks like you had an error configuring your cloud gateway connection and the system says it can't access your AS data source
Connection string issue:
The connection string for the data source may be incomplete or misconfigured, such as incorrect server address, database name or port number.
You mentioned that your team has restricted windows authentication methods. I think this could potentially cause the issue.If the ENTRA configuration does not allow Windows authentication and the data source (e.g. Analysis Services) requires Windows authentication, this can cause the connection to fail.
Can you please check that you have correctly configured the service body or user permissions when using Azure AD OAuth authentication.
I hope the following links are helpful.
URL:Connection string properties (Analysis Services) | Microsoft Learn
Authentication methodologies supported by Analysis Services | Microsoft Learn
I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- ucmaoTWG
Helper I
Thank you for your response- I do have a few follow up questions I hope you can clarity as we research this on our side as well.
1) The connection string is automatically generated when publishing the paginated report from the powerbi report builder utilizing the 'Add Power BI semantic model connection..." as the datasource. Furthermore, it also fails when utilizing the web-based create a paginated report (preview) option as well. Is it possible that both of these are failing to auto generate the correct connection string?
2) We do not have a dedicated analysis server in our azure tenant. We are currently utilizing the 'built in' shared analysis server that powerbi utilizes. We would still need to have the correct authentification methodology set up for this correct?
Thank you for your assistance- this has been the most support i've received on this issue so far.
- AnonymousNot applicable
Hi,ucmaoTWG .Thank you for your reply.
In fact, I don't think you need to set up a gateway connection for your paged reports anymore (at this point, both the data source and the paged reports are in the Power BI Service in the cloud, and there is no need for a gateway to act as a bridge, the system will automatically retrieve and update the paged reports)
The gateway is only needed if the data source and the report are not in the same location (whether it's a local enterprise gateway or a cloud gateway)
After my testing, I used pbix reports in Power BI Service (AS model in the cloud) as the data source after creating paged reports. The final paging report published to Power BI Service does not require a gateway connection (the system doesn't even give a button to set it up)
As you can see I can't change the data source credentials for this paging report and configure the gateway link. (The data source is semantic model i.e. AS model in the cloud)For other paging reports made with local data sources you need to configure a gateway to complete the refresh. (The data source is a local SQL Server database.)
Below is my test:
Publish pbix to Power BI Service and use the semantic model (In Power BI Service)
create the rdl file in Power BI Report Builder.
Can not edit the RDL report.I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Hi ucmaoTWG,
As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.
If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.
If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.- AnonymousNot applicable
Hi ucmaoTWG,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.
Thank you.- AnonymousNot applicable
Hi ucmaoTWG,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.