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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

window form in Console application with a button that connects to Dynamics 365 online and Retrieving Active users

(0) ShareShare
ReportReport
Posted on by

Hiii,

i wanna build simple windows form in console application that connect to Dynamics 365 Online. The window form in console application has a Button that clicks i want to  show the active users of the crm organization under the button with a listbox. I need some good article that tell me how to connecting my windows form application with ms crm and retrieve all users of the organization with a button. 

Thanks

I have the same question (0)
  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    You could refer to the following links.

    1.About how to connect to D365 online with console application.

    community.dynamics.com/.../d365-v9-x-step-by-step-guide-on-how-to-create-a-simple-console-application-for-dynamics-365

    2.About how to get the account records.

    carldesouza.com/.../

    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/web-api-samples-csharp

    Best Regards,

    Leo

  • Community Member Profile Picture
    on at

    Hi Partner,

    I need a button in window form , when I click that button I want connect the CRM Online and retrieve active  users from the crm and those users are shown under the button with a listbox.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    You should start from Microsoft Docs - docs.microsoft.com/.../build-windows-client-applications-xrm-tools

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans