We are going to be looking at how to set up a build-your-own-database (BYODB) in your Microsoft Dynamics 365 Finance and Supply Chain Management (D365 FSCM) cloud hosted tier 1 development VM.
First, go to SSMS and create a new database, VMBYODB.
Then, under Security > Logins, choose to create a new user, byodbadmin. Note the password here as it will be needed later.
Right click this user and select properties. Navigate to User Mapping > VMBYDOB and set the user to have the db_owner role. Additionally, under Server Roles include serveradmin.
Next, open up the D365 front end and navigate to the Data Management Workspace. From here select the “Configure entity export to database” tile.
Create a new record, VMBYODB. Enter the connection string in the following format:
Data Source=serverName;Initial Catalog=databaseName;Integrated Security=False;User ID=userid;Password=***
Make sure to validate the connection after entering the connection string.
After the connection is valid, select “Publish.” Here we can choose which entities we want to publish to our BYODB database. I selected the Customer groups entity and clicked “Publish.” This kicked off a batch process, which when complete, we can see the entity marked as published here.
At this time we can also head back to SSMS and confirm the entity’s staging table is now visible in our VMBYODB database. However, data has not yet been exported so this table contains no records.
To populate our table with data, we need to run an export job. We can set our export job up with the target data format set to our BYODB connection like so:
Then we can run the export job as normal, and upon completion our tables in the VMBYODB database will be populated with our data! We can then set up our export jobs on a recurrence to refresh the data at our desired cadence.
For more D365 F&SCM expert advice, contact us today.
Post originally published here: https://markedcode.com/index.php/2024/01/24/d365-byodb-in-tier-1-dev-vm/
This publication contains general information only and Sikich is not, by means of this publication, rendering accounting, business, financial, investment, legal, tax, or any other professional advice or services. This publication is not a substitute for such professional advice or services, nor should you use it as a basis for any decision, action or omission that may affect you or your business. Before making any decision, taking any action or omitting an action that may affect you or your business, you should consult a qualified professional advisor. In addition, this publication may contain certain content generated by an artificial intelligence (AI) language model. You acknowledge that Sikich shall not be responsible for any loss sustained by you or any person who relies on this publication.
About the Author
Mark Wilson
Mark Wilson is a D365 Technical Solution Architect with a proven record of success in supporting clients through the software development lifecycle. He has a strong emphasis on technical integrations and leading technical workstreams. Mark focuses on a wholistic system architecture approach to allow for all systems used by a client to have optimal performance and business impact.
Sign up for Insights
Join 14,000+ Business executives and decision makers.
Latest Insights
Technology
Choosing Case Management Software: A Strategic Guide for Mid...
June 13, 2025
Azure
CHE Load Balancer Migration for Microsoft Dynamics 365 F&...
June 12, 2025
Information Technology
Is Your Business Down Due to IT Failures?
June 11, 2025
AI
Understanding AI Readiness: What It Means for Your Business
June 10, 2025
Dynamics 365>Dynamics 365 Finance and Supply Chain Management
Smarter Production, Leaner Manufacturing Operations: The Cas...
June 9, 2025
Technology
Validating Generative AI: A Practical Framework for Reliabil...
June 6, 2025
Regulatory, Quality, & Compliance
Unlocking the Value of Compliance-as-a-Service (CaaS)
June 5, 2025
Salesforce
5 Signs Your Private Equity Firm Has Outgrown Excel
June 4, 2025
Article
Has Your Outsourced IT Failed You?
June 3, 2025
Technology
How SMBs Can Simplify Reporting with NetSuite Analytics Ware...
June 2, 2025