Microsoft Entra Id is both owner in AIM roles and is in the Analysis service admins. I am trying to connect so I can deploy a new model using an xmla file.
I have tried using Authentication: Microsoft Entra MFA
(I also tried and Microsoft Entra Password but that gave some kind of power bi error)
I am using SSMS:
SQL Server Management Studio@ 20.2.37.0
SQL Server Management Objects (SMO):17.100.40.0+f57178c95d4376485d3f597f2b829bbd6f80fd6f
Microsoft T-SQL Parser:17.2.3.1+46115224c373754fdd41516eaae1386cabc4819e.46115224c373754fdd41516eaae1386cabc4819e
Microsoft Analysis Services Client Tools: 20.0.3.0
Microsoft Data SqlClient (MDS):5.1.5
I have updated all my MSOLAP, AMO, AMOMD drivers to the latest releases found here as the ones I had were older:
https://learn.microsoft.com/en-us/analysis-services/client-libraries?view=sql-analysis-services-2025
I have no idea what to try next.
Help please
ERROR Message:
TITLE: Connect to Server
Cannot connect to asazure://uksouth.asazure.windows.net/xxxxxxxxxxx.
ADDITIONAL INFORMATION:
Unable to obtain authentication token using the credentials provided. (Microsoft.AnalysisServices.AdomdClient)
Response status code does not indicate success: 404 (NotFound). (Microsoft.AnalysisServices.AdomdClient)
BUTTONS:
OK
==================================
Cannot connect to asazure://uksouth.asazure.windows.net/xxxxxxxx.
===================================
Unable to obtain authentication token using the credentials provided. (Microsoft.AnalysisServices.AdomdClient)
Program Location:
at Microsoft.AnalysisServices.AdomdClient.Authentication.MsalAuthenticationHandle.IntegratedWindowsAuthenticationHandle.AcquireTokenImpl(IPublicClientApplication app, IEnumerable`1 scopes, String userId, IAccount account, Boolean isInteractiveLoginAllowed)
at Microsoft.AnalysisServices.AdomdClient.Authentication.MsalAuthenticationHandle.IntegratedWindowsAuthenticationHandle.AcquireToken(IPublicClientApplication app, IEnumerable`1 scopes, String userId)
at Microsoft.AnalysisServices.AdomdClient.Authentication.MsalAuthenticationHandle.MsalAuthenticationService.AuthenticateUser(AuthenticationOptions options, AuthenticationInformation authInfo, String userId)
at Microsoft.AnalysisServices.AdomdClient.Authentication.AuthenticationManager.Authenticate(AuthenticationOptions options, String identityProvider, String resource, String tenantId, String userId, String password, String workspaceName, String databaseName, Boolean isForAsAzureRedirection, AuthenticationInformation& authInfo)
at Microsoft.AnalysisServices.AdomdClient.ConnectionInfo.AcquireToken(IConnectivityOwner owner, String resource, String tenantId, Boolean isForAsAzureRedirection)
at Microsoft.AnalysisServices.AdomdClient.ConnectionInfo.HandleAsAzureRedirection(IConnectivityOwner owner)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.<>c__DisplayClass73_0.<Connect>b__1()
at Microsoft.AnalysisServices.AdomdClient.Security.TransparentUserContext.ExecuteInUserContextImpl(Action action)
at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect()
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.AdomdConnection.IXmlaClientProviderEx.ConnectXmla()
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
===================================
Response status code does not indicate success: 404 (NotFound). (Microsoft.AnalysisServices.AdomdClient)
Program Location:
at Microsoft.AnalysisServices.AdomdClient.Utilities.AsyncHelper.WaitForTaskCompletionImpl(Task task, Int32 timeout, CancellationToken cancelToken)
at Microsoft.AnalysisServices.AdomdClient.Utilities.AsyncHelper.WaitForTaskCompletionAndGetResultTResult
at Microsoft.AnalysisServices.AdomdClient.Authentication.MsalAuthenticationHandle.IntegratedWindowsAuthenticationHandle.AcquireTokenImpl(IPublicClientApplication app, IEnumerable`1 scopes, String userId, IAccount account, Boolean isInteractiveLoginAllowed)