Troubleshooting Tip: How to enable Exchange 2007 Provider debug trace?


What Exchange 2007 cmdlets are being executed when I submit a mailbox creation request or a create public folder request or create contact request to the MPS engine? Those who has been working with HMC before know that most of the time, there will be a series of cmdlets being called. So, the next question would be, what arguments are being submitted together with the cmdlet to Exchange servers?


I get asked about this all the time. So, here is how you can enable the Exchange 2007 Provider debug trace so that you can review the event log and find out what cmdlets are being executed and what are the arguments being submitted to the server.


Follow the following steps to enable the Exchange 2007 Provider trace.



  1. Open up C:\Program Files\Microsoft Hosting\Provisioning\Exchange2007Provider.dll.config

  2. Find a key that resembles the following,


    • <add key="LogLevel" value ="1">

  3. Change it to,


    • <add key="LogLevel" value ="5">

  4. Restart the provisioning engine.

Submit your request again, the trace will be logged in the Application event log. You should see a series of events that look like the following,


Event Type: Information
Event Source: Exchange 2007 Provider
Event Category: None
Event ID: 0
Date:  12/1/2008
Time:  4:41:17 PM
User:  N/A
Computer: MPS01
Description:
Procedure='PSCommand.LogCmdletAndParams'
Cmdlet='Set-Mailbox'
Parameters:
Identity='CN=johnc@AlpineSkiHouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=fabrikam,DC=Com'
DomainController='AD01.fabrikam.com'
Alias ='johnc'
EmailAddresses='SMTP:johnc@alpineskihouse.com'
WindowsEmailAddress='johnc@alpineskihouse.com'
EmailAddressPolicyEnabled='False'
HiddenFromAddressListsEnabled='True'
IssueWarningQuota='9000'
MaxReceiveSize='10000'
MaxSendSize='10000'
OfflineAddressBook='CN=AlpineSkiHouse OAL,CN=Offline Address Lists,CN=Address Lists Container,CN=FABRIKAM,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=fabrikam,DC=com'
ProhibitSendQuota='10000'
ProhibitSendReceiveQuota='20000'
RecipientLimits='unlimited'


Please ensure you reverse the changes after that, if not your event log will be flooeded. 


This is applicable to HMC 4.x only.
 

Comments (1)
  1. aw says:

    hai, I just want to tell you that I am just very new to blogs and seriously loved this website. More than likely I’m planning to bookmark your blog post .
    You amazingly come with really good posts. Thanks a lot for sharing your blog Microsoft.

    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Aceh
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bali
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Balikpapan
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bandung
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Banjarmasin
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Banten
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Batam
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bekasi
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bengkulu
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bogor
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bontang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cianjur
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cikarang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cilegon
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cirebon
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Denpasar
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jakarta
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jambi
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jember
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Karawang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kendal
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kudus
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kupang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Lampung
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Madiun
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Makasar
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Malang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Maluku
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Manado
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Medan
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20NTT
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Padang
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20BUMN
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Terbaru
    http://www.lokerjobindo.com
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Serang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Tangerang

Comments are closed.

Skip to main content