web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Unable to connect Dynamics online SQL server via SSMS - version 22.3.2

(0) ShareShare
ReportReport
Posted on by
Trying to connect to Dynamics online SQL server via SSMS
Using MFA auth.
Related threads
 
I get this error
 
TITLE: Microsoft SQL Server Management Studio
------------------------------
Error connecting to 'sqlserver.FQDN.name,5558'.
------------------------------
ADDITIONAL INFORMATION:
Unable to cast object of type 'System.DBNull' to type 'System.String'. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
BUTTONS:
OK
------------------------------
 
===================================
Error connecting to 'sqlserver.FQDN.name,5558'.
===================================
Unable to cast object of type 'System.DBNull' to type 'System.String'. (Microsoft.SqlServer.ConnectionInfo)
------------------------------
Program Location:
   at Microsoft.SqlServer.Management.Common.ServerInformation.GetServerInformation(IDbConnection sqlConnection, IDbDataAdapter dataAdapter, String serverVersionString)
   at Microsoft.SqlServer.Management.Common.ConnectionManager.GetServerInformation()
   at Microsoft.SqlServer.Management.Common.ConnectionManager.get_DatabaseEngineType()
   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.SharedConnectionUtil.GetConnectionKeyName(SqlOlapConnectionInfoBase ci)
   at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ConnectionCache.AddConnection(UIConnectionInfo connection)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ConnectToServer(UIConnectionInfo connectionInfo, IDbConnection liveConnection, Boolean validateConnection)
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 70 Super User 2026 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 52 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 47 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans