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

  • Piyush Paliwal Profile Picture
    817 on at
    RE: Unable to login to Online Dynamics 365

    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.

  • CRM Beginner  Profile Picture
    795 on at
    RE: Unable to login to Online Dynamics 365

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

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Unable to login to Online Dynamics 365

    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

  • Verified answer
    Piyush Paliwal Profile Picture
    817 on at
    RE: Unable to login to Online Dynamics 365

    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.

  • CRM Beginner  Profile Picture
    795 on at
    RE: Unable to login to Online Dynamics 365

    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"

  • gdas Profile Picture
    50,091 Moderator on at
    RE: Unable to login to Online Dynamics 365

    Can you please post here error details and screenshot.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/forums/thread/details/?threadid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))," - Too many )'s.