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:
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET'S KEEP LEARNING TOGETHER.
CARL
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.
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