If you’re trying to build business process flows, use Process Advisor, or use AI Builder in Power Automate, you’re going to need a database established in the intended environment first. If you don’t have a database in the environment yet, you’ll get an error as seen below:
- Business process flow requires a Microsoft Dataverse database. Try a different environment or create a new one to start using business process flow.
- You need a database to use process advisor. Create a database, or switch to an environment that has one.
- AI Builder requires a Dataverse database. Create your database to start using AI models.
In the following sections, I’ll detail how to:
- Switch to a different environment
- Add a database to your current (or any) environment
- Create a new environment with a database
Switch to a different environment
Your organization could already have multiple environments. Always check with your admins before making any uncertain decisions because environments could be used for specific data types, processes, geography compliance restrictions, etc. You may or may not have access to all of your organization’s environments depending on your specific organization’s governance and configuration.
Let’s assume you do have multiple environments and you’ve discussed with your admin or governance team which environments are appropriate for your specific need or project. To switch to a different environment that might have a usable database, click on the name of your current environment in Power Automate in the upper right, then choose the other environment from the side panel.
Add a database to your environment
You may choose to just stay in your current environment and add a database to it. If that’s the case, go ahead and click on Create a database and follow the right side panel’s wizard to complete the process.
You can also add databases via the Power Platform admin center if you can access it.
Create a new environment with a database
Let’s assume your organization hasn’t yet created any additional environments you could use other than the default one that came with your tenant (which obviously doesn’t have a database or you wouldn’t be here 😄). If you don’t want to create the database in the default environment, you may wish to create a new environment with a new database.
Check out this other post for help in creating a new environment that includes a Dataverse database.