When trying to deploy BAM activity into a new BizTalk Environment:
- C:\Program Files (x86)\Microsoft BizTalk Server …\Tracking>bm.exe deploy-all -DefinitionFile:BAM.SMSExpress.xls
It happened to me the following error:
“Microsoft (R) Business Activity Monitoring Utility Version 3.9.469.0
Copyright (C) Microsoft Corporation. All rights reserved.
Using ‘BAMPrimaryImport’ BAM Primary Import database on server ‘BTS2010LAB01’…
Deploying Activity… Done.
Deploying View… ERROR: The BAM deployment failed.
The BAM Star Schema database has not been configured. Run bm.exe setup-databases to configure the database.”
📝 One-Minute Brief
When deploying BAM activities, you may encounter an error stating the Star Schema database is not configured. This typically happens because the BAM Analysis (OLAP) features were not fully enabled or configured during the BizTalk Configuration Wizard.
Cause
- One of the possible causes of the problem is that Analysis Services from BAM aggregations were not configured.
Solution
- Open BizTalk Server Configuration Console. (All Programs ➤ Microsoft BizTalk Server … ➤ BizTalk Server Configuration).
- Select the option BAM Tools in the left menu and check the option Enable Analysis Services for BAM Aggregations.
- Configure the BAM Analysis Database and the BAM Star Schema Database.

- Click Apply Configuration.
- On the Summary screen, click Next.

- On the completed screen, click Finish.
Once the Star Schema is configured, your bm.exe deploy command should run successfully. If you still encounter issues, double-check that the SQL Server Analysis Services service is actually started on the target server.
Great it worked for me.
Thank you!!!!