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

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

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

(3) ShareShare
ReportReport
Posted on by 6
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)
  • André Arnaud de Calavon Profile Picture
    303,052 Super User 2026 Season 1 on at
    Can you tell us what Dynamics 365 application this question is related to? There are several different solutions in the Dynamics 365 family, like: Sales, Finance, Supply Chain Management, Project Operations, and Customer Insights.

    Are you trying to connect to a production environment or another type, like a sandbox?
  • Suggested answer
    ManoVerse Profile Picture
    617 Super User 2026 Season 1 on at
    This is a known issue after upgrade,  multiple users reported it that after upgrading to 22.3 as i have seen on community thread, while the same orgs connect fine with SSMS 20. This Fix is pending for release as per latest update on Feb 25th. Refer the below link for latest update for this.
     
    Regards,
    Manoj
    ✅If this answer helped you, please consider marking it as Verified, it really helps others in community
     
     
     
     

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
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans