BAM email Alert Subscription: How to change the 'FROM' email.

Hi All,

BAM alerts allow you to set and subscribe to the specifc conditions set in the query. Once you are ready to execute a query against the BAM activity and if Notification Services are installed, SET ALERT button in the BAM page gets enabled and you can set the ALERT for the given query conditions. It also allows you to subscribe these ALERTS either using file subscription or by using email subscription. Once the email alert subscription is set you will see that alert email comes  FROM  BAM@microsoft.com. and now you need to change this to BAM@YOURCOMPANY.COM. Please follow the below setps to achieve this.

Step 1:  Retrieve the current BAMAlerts Application Definition File (ADF)

 
1.       On the Start menu, point to All Programs, point to Microsoft SQL Server 2005, point to Notification Services, and then click Notification Services Command Prompt to open a Notification Services Command Prompt window.
2.       C:\Program Files\Microsoft BizTalk Server 2006\Tracking>cscript ProcessBamNSFiles.vbs -Get config.xml adf.xml <database_server> BAMPrimaryImport
 
Step 2: Modify Application Definition File (ADF)
 
1.       Copy adf.xml to adf_backup.xml
2.       Change SMTP from info: from ‘BAM@Microsoft.com’ to <your_desired_email address>’.
4.       Save adf.xml
 
Step 3:  Update the current BAMAlert Application Definition File (ADF)
 
1.       C:\Program Files\Microsoft BizTalk Server 2006\Tracking>cscript ProcessBamNSFiles.vbs -Update config.xml adf.xml <database_server> BAMPrimaryImport

 

Hope this should be helpful.

Regards, Vishnu

 

«February»
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
28123456
78910111213