Skip to main content

Notifications

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

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: window form in Console application with a button that connects to Dynamics 365 online and Retrieving Active users

    Hello,

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

  • Community Member Profile Picture
    on at
    RE: window form in Console application with a button that connects to Dynamics 365 online and Retrieving Active users

    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.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: window form in Console application with a button that connects to Dynamics 365 online and Retrieving Active users

    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 93

Overall leaderboard

Product updates

Dynamics 365 release plans