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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can't connect to Dynamics 365 using Microsoft.Xrm.Tooling

(0) ShareShare
ReportReport
Posted on by 5,600

Can somebody (hopefully from Europe region, so crm4.dynamics.com) confirm if it is possible to connect to online organizations using CrmService client? The following code simply stopped working today:

var service = new CrmServiceClient("Url=contoso.crm4.dynamics.com; Username=someone@contoso.onmicrosoft.com; Password=password; authtype=Office365");
Console.WriteLine(service.IsReady);


IsReady is false and service is not authenticated (there is an error of null reference exception when trying to perform any action using this service). I checked multiple online instances (all in crm4 region) and all of them work (or in this case - don't work) the same. Just looking for some confirmation if this is a common problem before I raise a ticket for Microsoft.

*This post is locked for comments

I have the same question (0)
  • Sindre Wetting Profile Picture
    on at

    Tested it, and had to add https:// to the url make it work on an EMEA-instance. Got a nullreference to the organization name otherwise. This is on a v9.0 with SDK v 8.2.

    {"Organization cannot be null or empty.\r\nParameter name: Organization Name"}

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans