Skip to content

Passion Dynamics

Microsoft Power Platform blog by Rawish Kumar

  • Home
  • About Me
  • Contact
Posted on April 3, 2018October 26, 2018

Unable to Login to Dynamics CRMOrganizationServiceProxy is null

by Rawish Kumar Prajapati.In Dynamics CRM 365 Online.1 Comment on Unable to Login to Dynamics CRMOrganizationServiceProxy is null

I came across this issue wherein when i was trying to use QueryExpression/FetchXML in my Windows/Console Application, i was getting Object reference error in Dynamics CRM 365 Online

When i digged into this further i could see the proxyservice was showing as null in the debug mode. You will not get any error when obtaining the connection.

proxynull.JPG

it generally happens when you are using tooling connector for connection to dynamics crm 365 Online.

In order to resolve the issue you have to specify the security protocol before you make calls to your Microsoft.Xrm.Tooling assembly.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

the connection to dynamics 365 will not be available unless TLS12 is being used as Security Protocol.connection.

it should look like below:

resolution.JPG

I hope this helps!

cheers!

 

 

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...

Related

Author:RawishCRMMicrosoft Dynamics CRMMicrosoft.Xrm.Tooling issueproxyservice is null in crmUnable to Login to Dynamics CRMOrganizationServiceProxy is nullUnable to Login to Dynamics CRMOrganizationServiceProxy is null in dynamics crm 365

1 Comment

  1. Nishant Rana says:
    October 16, 2020 at 4:58 am

    MFA could also be one of the reasons for it

    https://nishantrana.me/2020/10/16/fixed-unable-to-login-to-dynamics-crm-or-an-unsecured-or-incorrectly-secured-fault-was-received-from-the-other-party-see-the-inner-faultexception-for-the-fault-code-and-detail/

    LikeLike

    Reply

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Google photo

You are commenting using your Google account. ( Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation

Previous Previous post: Work with Alternate Keys
Next Next post: Business Process Flows – JavaScript

Search

Follow Passion Dynamics on WordPress.com

TOP 100 CRM BLOGS AND WEBSITES

Dynamics 365 Certification Badges

Blogs I Follow

  • All Things Dynamics
  • D365 Demystified
  • Andrew Butenko's Blog
  • Rajeev Pentyala - Microsoft power platform blog
  • Debajit's Power Apps & Dynamics 365 Blog
  • Arun Potti's MS CRM blog

Archives

All Posts Categories

My Community

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 39 other followers

My Twitter

My Tweets
Create a website or blog at WordPress.com
  • Home
  • About Me
  • Contact
All Things Dynamics

Blogs on ways to integrate Microsoft Dynamics 365 with other tools

D365 Demystified

A closer look at Microsoft Dynamics 365.

Andrew Butenko's Blog

All I want to share about Development/Customization for Dataverse

Rajeev Pentyala - Microsoft power platform blog

Sharing my knowledge on Power Platform, Dynamics 365, Azure & .Net Stack

Debajit's Power Apps & Dynamics 365 Blog

All about Power Apps & Dynamics

Arun Potti's MS CRM blog

Microsoft Dynamics CRM

Cancel
%d bloggers like this: