Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Removing the prompt for credentials from SDK dataimport sample

Posted on by 15

Hi all,

I've been using the dataimport SDK sample to upload a csv into a custom entity for a few weeks now, all works great.

Im looking at getting it a little more automated, so is there a way to remove the prompt to select the previously saved credentials?

ATM i get this every time I load dataimport.exe:

(0) Add New Server Configuration (Maximum number up to 9)
(1) Server: xxxxxxxx, Org: xxxxxxx, User: xxxxxx

Specify the saved server configuration number (1-1) [1] : 1

Obviously it would always be option 1

Any help would be appreciated 

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Removing the prompt for credentials from SDK dataimport sample

    Hello,

    It's possible. All you need is to put your credentials to config file and use XrmTooling to create connection. You can check this post as an example - butenko.pro/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans