• Skip to primary navigation
  • Skip to content
  • Skip to footer
Dovestones Software Logo

Dovestones Software

Active Directory Software and Services

  • Products
    • AD Toolset Bundle
    • AD Bulk Users
    • AD Bulk Contacts
    • AD Reporting
    • AD Bulk Export
    • AD Photos
    • AD Find and Replace
    • True Last Logon
    • Active Directory Self Service
    • AD Self Password Reset
    • AD Phonebook
    • AD Self Update
  • Solutions
    • Active Directory Self Service
    • Import users into Active Directory
    • Import Active Directory photos into SharePoint
    • Update users that already exist in Active Directory
    • Report on Active Directory Users
    • Allow users to reset their own passwords.
    • Allow employees to update their own details Active Directory
  • Testimonials
  • Downloads
  • Purchase
    • Pricing & Purchase Online
    • Resellers
    • Quote Request
    • Purchase Orders
  • Support
    • Frequently Asked Questions (FAQs)
    • Documentation
    • Support Request Form
    • Uninstall Products
    • Find my license key
    • Blog
    • Videos
  • About Us
    • Enquiry Form
    • End User License Agreement
    • Privacy Policy

Exporting from Active Directory to a Database

Below are some example connection strings you can use in AD Bulk Users when you want to export from Active Directory to a SQL Server, Azure SQL or Oracle Database.


SQL Server:

Server=myServerAddress;Database=myDataBase;User Id=myUsername; Password=myPassword;


If you want to export your AD data to a SQL Database in Microsoft Azure then use a connection string similar to examples below. For AD Bulk Export to successfully connect you will need to allow the public IP address you’re trying to connect from in the Azure Portal. To do this first authenticate to the Azure Portal, click on SQL Databases, click on Servers, click on the name of the Server you wish to connect to and click on Configure. Click on ‘Add to the allowed IP addresses’ to add your current IP address and click ‘Save’. You can read more about Azure SQL Firewall rules here.

Azure SQL Server:

Server=tcp:[serverName].database.windows.net;Database=myDataBase;
User ID=[LoginForDb]@[serverName];Password=myPassword;Trusted_Connection=False;
Encrypt=True;

Another Azure SQL Server example:

Server=tcp:dovestones.database.windows.net,1433;Initial Catalog=AzureTestDB;Persist Security Info=False;User ID=azuredbtestuser;Password=Pip7322j**a;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30

Oracle Database:

Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.0.4)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=PROD)));User Id=OrclDBUser;Password=****;

 

Footer

Dovestones Software

Copyright 2005 – 2023 © Infoopia Inc.
All rights reserved.

Registered office:

Infoopia Inc.
PO Box 93383
Newmarket Ontario
L3X 1A3
Canada

Phone (voice mail):
Toll-Free 1.877.335.8909
Outside of US/Canada +1.647.478.8078

Our Newsletter

Subscribe to our newsletter to receive the latest updates. You can review our privacy policy here.