Home › Dynamics 365 Customer Engagement (CRM) › Xrm Tooling Login Control
Dynamics 365 Customer Engagement (CRM) · Nov 21, 2016 · 1 MIN READ

Xrm Tooling Login Control

The Dynamics CRM SDK has a login control that you can use in your client applications. Let’s go through an example of how to use this.

Open Visual Studio and create a new project. Go to CRM SDK Templates and select WPF Application for CRM with .NET Framework 4.5.2 selected:

You will see something like this:

Press F5 to run the application. You will see this window:

Clicking Login to CRM will open the login window:

Enter details to log into CRM.

The code is contained in the XAML file:

 

 

 

Carl de Souza
Keep learning. Keep building.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.

Subscribe on YouTube →
Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert

2 Responses to Xrm Tooling Login Control

  1. Good day

    Do you know if this control has been updated to use two factor authentication?

    If so, do you know where the new extension can be found as I am not having luck finding it.

  2. Thx for the post,
    Im getting this error when I try to use the second option “Online”

    ERROR :
    Source : Not Provided
    Method : Not Provided
    Date : 2021-07-02
    Time : 10:40:42
    Error : You don’t have permission to access any of the organizations in the Microsoft Common Data Service region that you specified. If you’re not sure which region your organization resides in, choose “Don’t know” for the CDS region and try again. Otherwise check with your CDS administrator.
    Stack Trace : Not Provided

Leave a Reply

Your email address will not be published. Required fields are marked *

Carl de Souza
KEEP LEARNING. KEEP BUILDING.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.