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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unable to login to Online Dynamics 365

(0) ShareShare
ReportReport
Posted on by 795

Hi,

I can't login to Online Dynamics 365 and getting null service. Also, i can't login to that particular instance from Plugin Registration tool too. But, i can successfully login to Web UI Account with the same credentials. 

Any suggestions please.

Thanks,

*This post is locked for comments

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at

    Can you please post here error details and screenshot.

  • CRM Beginner  Profile Picture
    795 on at

    Hey Goutam, thanx for reply.

    I solved it by updating version of my Plugin Registration tool.

    But still, i can't connect it from my CrmServiceClient: error is "Unable to connect to CrmServiceClient getting OrganizationProxyService null"

  • Verified answer
    Piyush Paliwal Profile Picture
    817 on at

    Hey, I feel this has to do with the TLS1.2,

    Can you please download the Latest SDK tools from here docs.microsoft.com/.../download-tools-nuget and see if Plugin Registration Tools connects or not?

    Additionally, you can try putting this line somewhere at the start of your code

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;


    Go through this article to know more, https://carldesouza.com/dynamics-365-tls-1-2-how-to-fix-apps/

    Let me know if this fixes your issue.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    This error is coming  might be following reason  -

    - Already share above check whether you have added Security protocol.

    - Make sure you have latest version of SDK.

    - Make sure you are providing correct details to create crmserviceclient.

    stackoverflow.com/.../crmserviceclient-is-always-returning-null-organization-service.

    You can refer below link for more details  -

    arunpotti.wordpress.com/.../comment-page-1

  • CRM Beginner  Profile Picture
    795 on at

    Thank you all for your replies. It worked using ServicePointManager..

  • Piyush Paliwal Profile Picture
    817 on at

    Glad it worked out for you. Also please note that as long as you are developing and debugging on Framework version 4.6 and above, Visual Studio 2017 then you don't need to have this line defined explicitly.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans