Identity Lifecycle Manager ForumForum to discuss Microsoft Identity Lifecycle Manager (ILM)© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 09:01:26 Z98ce9535-87fb-415c-9e60-72582ef7228fhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/bebedc66-7814-4a16-b395-1219a3111fechttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/bebedc66-7814-4a16-b395-1219a3111fecMartha LiEshttp://social.technet.microsoft.com/Profile/en-US/?user=Martha%20LiEsSilent ILM Hotfix Installation<p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="font-family:Arial;font-size:x-small">Hi all,</span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="font-family:Arial;font-size:x-small">I’m trying to do a complete silent installation of ILM 2007 FP1 + hotfix. </span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="font-family:Arial;font-size:x-small">For the ILM installation I use msiexec.exe</span><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt"> using a command line. <span style=""> </span>ILM is installed correctly.</span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt">Now I need to install the hotfix (KB946797) which is a .msp file. During the installation I must enter the service account password, but I didn’t <span style=""> </span>find how to pass this parameter to my command msiexec.</span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt">For the moment I tried with <strong>msiexec.exe / q / p “c:/setup/ILM_2007_FP1_ENT_KB946797.msp” <span style=""> </span>/Lime “c: / log / log.txt” <span style=""> </span>servicepassword = MyPassword</strong></span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt">But apparently the password parameter is not correctly passed, because I have the following error :</span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt"><em>Microsoft Identity Integration Server - Error 25001.The Microsoft Identity Integration Server FP1 setup wizard can not validate the information for service account, password, or domain or local computer. Verify the information entered is correct, and then try again.</em></span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="font-family:Arial;font-size:x-small">I appreciate any help. </span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="font-family:Arial;font-size:x-small">Martha</span></p> <p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Calibri','sans-serif';color:black;font-size:11pt"> </span></p>Mon, 23 Nov 2009 15:49:27 Z2009-11-25T09:01:26Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/8421018a-b8f2-4be2-ba4f-4a536e78c260http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/8421018a-b8f2-4be2-ba4f-4a536e78c260AllenFirouzhttp://social.technet.microsoft.com/Profile/en-US/?user=AllenFirouzLive@edu MA setup error<font size=2><span style="font-family:Arial">So I have read and read the guide for Live@edu implementation.  While well versed in AD/Exchange, etc, my knowledge is limited on IIS implementation so I need some help please:<br><br>AD is stood up and working like a clock.<br>SQL and ILM are installed with no errors.<br>When I try to import the XML configuration file that Microsoft provided for ILM, I get the error [<span style="font-style:italic">Unable to create the management agent from this file.  Object reference not set to an instance of an object</span>].<br><br>The guide completely passes over the setup and configuration of ILM and this is the part that I need the most help with.  If anyone has this implemented and has a short cheat-sheet, I would be most grateful.  I have my XML file and PFX file all ready, but not quite sure the process I need to follow to get them implemented.<br><br>HELP!  Deadline approaching and the nerves are getting a little jingly!<br><br>-Allen<br></span></font>Mon, 21 Jul 2008 20:28:04 Z2009-11-24T22:29:47Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/219784a4-0c56-4081-8c14-0df13a5962b5http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/219784a4-0c56-4081-8c14-0df13a5962b5Gareth14http://social.technet.microsoft.com/Profile/en-US/?user=Gareth14Append date to log fileIm using MASequenceConfiguration to sequence and run (at present manually) some of my MA's.  In this config gui there is a box that says where the system should write the log file, the problem is that it seems to overwrite the contents of this file eachtime the sequence is run.  So is it possible to either tell ILM to append the current date to the end of the log file or create a new one each time?<br/> <br/> ThanksThu, 12 Nov 2009 12:22:40 Z2009-11-24T11:31:02Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/250199b7-e14f-4b9a-b525-88f4f466c1e7http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/250199b7-e14f-4b9a-b525-88f4f466c1e7Samir Bencouscoushttp://social.technet.microsoft.com/Profile/en-US/?user=Samir%20Bencouscousstopped-parsing-errors in Import phase of an Oracle management Agent<p>Hello all,<br/><br/>I am using ILM 2007 (v3.3.118.0) on Windows 2003 SP2 and the metaverse DB is on a SQL Server 2005 SP3 remote server.<br/><br/>The import run step of an Oracle management agent has stopped working a few days ago and I don't understand why.<br/>The import starts but it never finish. When I enable the log file option &quot;Resume run from existing log file&quot;, I get the error <strong>stopped-parsing-errors</strong>.<br/><br/>I don't see anything wrong in the log file data. Can someone help me please with some suggestions on how to debug such error?<br/><br/>Thank you,<br/><br/>Regards,<br/>Sam</p>Fri, 20 Nov 2009 15:05:40 Z2009-11-24T10:33:21Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/2a9e9b89-7450-4d42-9fb8-7bce9caed514http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/2a9e9b89-7450-4d42-9fb8-7bce9caed514Victor Mituhttp://social.technet.microsoft.com/Profile/en-US/?user=Victor%20MituILM 2007 and Windows 2008 Server (AD and CA)Hi.<br/><br/>i have several questions related to ILM 2007:<br/><br/>- Does ILM 2007 (not ILM2) support Active Directory built on 2008 Domain Controllers?<br/>- Does ILM 2007 (not ILM2) support Microsoft Certification Authority from Windows 2008 Enterprise Server? [Most important question]<br/>- (not related to ILM 2007 but in the same CA area): Windows 2008 is OCSP-enabled. Are some clients/softwares to be installed on the Domain machines in order to verify certificates via OCSP?: for example RSA Validation Manager (OCSP-enable) works with RSA Validation Clients (installed on the Domain computers) in order to real-time check the state of the Certificate. <br/><br/>The topology is the following: i need clustering between 2 CA servers using networked HSMs. This can be done only with 2008 Server but, the Smart Cards and their software do not have support for ILM2. (they provide support only for ILM 2007).<br/><br/>Thank you for your support.Tue, 24 Nov 2009 07:49:37 Z2009-11-24T08:43:39Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/94b4fdd5-023c-4515-800f-f80a94d9fdc0http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/94b4fdd5-023c-4515-800f-f80a94d9fdc0busbarhttp://social.technet.microsoft.com/Profile/en-US/?user=busbarMore extension-entry-point-not-implementedHello,<br/>I am playing with ILM 2007 FP1 for learning more about ILM, the scenario as listed in technet works for me, However I want to know do some attribute flow using coding in order to learn more <br/>I have used the same scenario as synchronizing SQL data to AD, just modified the description attribute to have advanced and flow rule name of (flowmaps), then placed the following code:<br/><span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Public</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Sub</span></span><span style="font-size:x-small"> MapAttributesForImport(</span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> FlowRuleName </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">String</span></span><span style="font-size:x-small">, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> csentry </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> CSEntry, </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">ByVal</span></span><span style="font-size:x-small"> mventry </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">As</span></span><span style="font-size:x-small"> MVEntry) </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Implements</span></span><span style="font-size:x-small"> IMASynchronization.MapAttributesForImport<font size=2> <p> </p> </font></span></p> <p><span style="color:#008000;font-size:x-small"><span style="color:#008000;font-size:x-small">' TODO: write your import attribute flow code</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Select</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Case</span></span><span style="font-size:x-small"> FlowRuleName<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Case</span></span><span style="font-size:x-small"> </span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;flowmaps&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#008000;font-size:x-small"><span style="color:#008000;font-size:x-small">' TODO: remove the following statement and add your scripted import attribute flow here</span></span></p> <span style="font-size:x-small"><font size=2> <p>mventry(</p> </font></span> <p><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;description&quot;</span></span><span style="font-size:x-small">).Value = </span><span style="color:#a31515;font-size:x-small"><span style="color:#a31515;font-size:x-small">&quot;123&quot;</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Throw</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">New</span></span><span style="font-size:x-small"> EntryPointNotImplementedException()<font size=2> <p> </p> </font></span></p> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Case</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Else</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#008000;font-size:x-small"><span style="color:#008000;font-size:x-small">' TODO: remove the following statement and add your default script here</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">Throw</span></span><span style="font-size:x-small"> </span><span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small">New</span></span><span style="font-size:x-small"> EntryPointNotImplementedException()<br/><br/>I am testing how the development works and trying simple things first, but everythime I run the full sync run profile I get the following error:<br/>extension-entry-point-not-implemented<br/><br/>I have some questions to ask:<br/>- I have description field populated in the MV entries, how I can null them, I am trying mventry(&quot;description&quot;).delete and mventry(&quot;description&quot;).values.clear with no luck.<br/>- what is wrong with my code.<br/>- how I can populate attribute that doesn't exist in the original CD, for example I use attributes that comes from the SQL CD which is the samaccountname and description, If I want to populate the upn or the phone number &quot;as example&quot; in the mv, how I can do that the problem that in the MA I can choose to flow data that exists in the SQL, and SQL might not have upn for example so how I can configure it.<br/><br/>thanks and sorry for the lame questions.</span></p><hr class="sig">Regards, Mahmoud MagdySun, 15 Nov 2009 09:49:07 Z2009-11-23T05:55:43Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/bf9e3563-b724-4509-ae16-901ba17e57d2http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/bf9e3563-b724-4509-ae16-901ba17e57d2Flybohttp://social.technet.microsoft.com/Profile/en-US/?user=FlyboILM/OpenLdapIs there way to configure the OpenLDAPPasswordExtension to not send send password changes in clear text?<br/>After a long time posting to the forums I finally got ILM working where we can use ctrl-alt-del to change a password and synch with OpenLDAP only to find that it puts the new password in LDAP in plain text. Any ideas?<br/>Thanks.Fri, 13 Nov 2009 17:39:00 Z2009-11-22T17:44:48Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e648fafc-c941-4363-afc6-72130965433ehttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e648fafc-c941-4363-afc6-72130965433eAniziYohttp://social.technet.microsoft.com/Profile/en-US/?user=AniziYoMoving Oracle database to local ILM server<p><span style="font-family:'Verdana','sans-serif';color:black;font-size:8pt">Hi,<br/><br/>I have moved the oracle database to the locale ILM test server, when I run the importing from oracle it gives an error that &quot;failed-connection&quot;.<br/>by the way the tnsnames.ora is changed and the ODBC testing is success also when I configure the MA the names of the columns are showing.<br/><br/>any idea's :)</span></p>Wed, 11 Nov 2009 11:51:02 Z2009-11-22T16:52:57Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/c9f1f843-b901-4cb7-a1cc-47e18f840e3chttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/c9f1f843-b901-4cb7-a1cc-47e18f840e3calatmcchttp://social.technet.microsoft.com/Profile/en-US/?user=alatmcc Exchange Mailbox Provisioning for Existing Users Clarification?Because of the way workflow works here, we will just about always be using ILM (ILM 2007) to provision exchange accounts well after we have already provisioned the AD account.<br/> <br/> I've read Carol's excellent notes here as well as the other items I could find about Exchange mailbox provisioning.  (Thanks!)<br/> <br/> But I'm still a little fuzzy about what exactly is going on with the exchange account/mailbox creation.  I wonder if someone please confirm that my understanding below is correct?<br/> <br/> Scenario 1: For Exchange 2003 or 2003/2007 hybrid: (our current environment)<br/> <br/> 1) Leave &quot;Enable Exchange 2007 Provisioning&quot; unchecked.<br/> <br/> 2) When an existing AD user needs a mailbox,  use flow rules to set the four required Exchange attributes in the AD MA.<br/> <br/> 3) RUS updates Exchange with the AD attributes.  And Exchange creates the mailbox for the user when the first Exchange activity takes place for the user.<br/> <br/> <br/> Scenario 2: For an Exchange 2007-only environment (soon)<br/> <br/> 1) Set &quot;Enable Exchange 2007 Provisioning&quot; to checked.<br/> <br/> 2) When an existing user needs a mailbox,  use flow rules to set the four required exchange attributes in the AD MA.<br/> <br/> 3) On Export, the AD MA calls the Exchange powershell utilities when it detects changes in the exchange attributes to complete the creation of the Exchange mailbox.  (Or maybe the Exchange 2007 powershell utils are called by ILM only when a new AD user also needs to be created?)<br/> <br/> If someone could clear this up for me I would really appreciate it.<br/> <br/> Thanks,<br/> <br/> AlThu, 12 Nov 2009 19:30:02 Z2009-11-20T17:29:56Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dd6309a4-4b23-43ff-a03d-5867a7a390ddhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dd6309a4-4b23-43ff-a03d-5867a7a390ddFelixRaccahttp://social.technet.microsoft.com/Profile/en-US/?user=FelixRaccaKeysrtroke Dynamics as a second factor of authenticationI had the privilege of listening yesterday to somebody that the FBI catalogues as a &quot;Computer Enthusiast&quot;. This person has hacked into 4 of the 10 largest banks in the U.S.<br/> The way he did it is by finding the user id and pwd of bank employees using methods that range from keyloggers, sniffers, and physhing to  social engineering and root kits.<br/> After hearing his conference it became clear to me that given the layered nature of pc software (whatever the operating system) key recognition it at one of the highest levels (as well as key-up and key-down events).<br/> I've been hearing a lot about MicroSoft's new pressure detection keyboard and how it could become an answer to this problem as well as a means to create reliable keystroke-dynamics based second factor authentication.<br/> I would like some more clarification on MS strategy on this point, given that I have a strong impression that more than 95% of enterprise security breaches are achieved through user id and password theft. With a second fractor as the one described above, this woudl be reduced dramatically (providing that the laptop or desktop's layered software is bypassed at when taking the biometric measures.<br/> Could somebody please explain what the strategy is in this respect?<br/> Thx<br/> FelixThu, 19 Nov 2009 04:47:14 Z2009-11-19T05:29:39Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/f7db18a8-f249-436c-911c-2a73ea021ad6http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/f7db18a8-f249-436c-911c-2a73ea021ad6Ed Bellhttp://social.technet.microsoft.com/Profile/en-US/?user=Ed%20BellDual AD forest, dual Exchange org scenarioWe acquired a company a while back who had their own AD forest and were using Exchange.  We are now trying to integrate them.  We need for the time being to keep their infrastructure seperate but we would like to be able to sync our e-mail address books and calendar free busy.<br/><br/>We are both in Exchange 2007, so will use the 'availability' service for calendar sync; the question is how best to sync the address books.<br/><br/>Currently we run ILM 2007, FP 1 in Forest A, but not in Forest B.  We could set up a second AD MA to manage Forest B, but what then is the best way to resolve the address book issue?  I understand that we shouldn't run GAL Sync on the MIIS system with the AD MA('s); though we could run it on a seperate system.  But is that the best way?<br/><br/>If we were to provision to both forests, could we instead set up provisioning such that users in Forest A would get an e-mail mailbox in Forest A and a Contact in Forest B (and vice versa?)  Or is there a third and better way?<br/><br/>Thanks.<hr class="sig">Ed Bell - Specialist, Network Services, ConvergysWed, 18 Nov 2009 21:01:11 Z2009-11-18T23:03:47Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/d912cc28-86d6-4beb-9d6d-0bd41c5f1ffehttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/d912cc28-86d6-4beb-9d6d-0bd41c5f1ffevphohttp://social.technet.microsoft.com/Profile/en-US/?user=vphoUnexpected error during synchronization cycle in ILM 2007 build 3.3.1118.2Hello everybody,<br/> <br/> I've just got some problems about ILM synchronization while the joining process is performed by extension rule.<br/> <br/> ILM has been installed on the vmware that runs Windows Server 2k3 EE R2. At the beginning, the build version was 3.3.118.0. <br/> In order to get supported by Microsoft for virtual environment, i've patched it by applying the hotfix KB KB946797 (build version 3.3.1087.2) and KB969742 (build version 3.3.1118.02)<br/> I've scheduled the delta synchronization cycle every 1/2 hour from Monday to Friday and supervised the stability of the patched version.<br/> Everything was going fine until a couple of days ago, The synchronization has been crashed by an unexpected error. I've found in the EventViewer the following error messages:<br/> <br/> Source: MIIServer EventID: 6301<br/> <br/> The server encountered an unexpected error in the synchronization engine:<br/>  <br/>  &quot;BAIL: MMS(3292): clrhost.cpp(597): 0x80131604 <br/> BAIL: MMS(3292): scripthostloader.cpp(401): 0x80131604 <br/> BAIL: MMS(3292): scriptmanagerimpl.cpp(990): 0x80131604 <br/> BAIL: MMS(3292): scriptmanagerimpl.cpp(1014): 0x80131604 <br/> BAIL: MMS(1840): scriptmanagerimpl.cpp(450): 0x80131604 <br/> BAIL: MMS(1840): scriptmanagerimpl.cpp(6687): 0x80131604 <br/> BAIL: MMS(1840): ScriptManager.h(246): 0x80131604 <br/> BAIL: MMS(1840): ScriptManager.h(440): 0x80131604 <br/> BAIL: MMS(1840): joinam.cpp(281): 0x80131604 <br/> BAIL: MMS(1840): amexec.cpp(1022): 0x80131604 <br/> BAIL: MMS(1840): join.cpp(664): 0x80131604 <br/> BAIL: MMS(1840): join.cpp(410): 0x80131604 <br/> ERR: MMS(1840): join.cpp(437): Join: failed with error 0x80131604<br/> ERR: MMS(1840): synccoreimp.cpp(480): 0x80131604 - join failed 0x80131604<br/> BAIL: MMS(1840): synccoreimp.cpp(481): 0x80131604 <br/> BAIL: MMS(1840): synccoreimp.cpp(342): 0x80131604 <br/> BAIL: MMS(1840): synccoreimp.cpp(5970): 0x80131604 <br/> BAIL: MMS(1840): synccoreimp.cpp(2218): 0x80131604 <br/> ERR: MMS(1840): synccoreimp.cpp(2240): 0x80131604 - CS to MV to CS synchronization failed 0x80131604:<br/> BAIL: MMS(1840): synccoreimp.cpp(2076): 0x80131604 <br/> ERR: MMS(1840): syncmonitor.cpp(2502): SE: Rollback SQL transaction for: 0x80131604<br/> MMS(1840): SE: CS image begin<br/> MMS(1840): &lt;cs-object cs-dn=&quot;&quot; id=&quot;{A8A6DD6D-2FAC-4EAB-8651-56924F1C608F}&quot; object-type=&quot;Person&quot;&gt;<br/> ...    <br/> [sorry, info confidential]<br/> ...   <br/>  &lt;synchronized-hologram&gt;<br/>  &lt;/synchronized-hologram&gt;<br/>  &lt;anchor encoding=&quot;base64&quot;&gt;1nFLAPNwJcEDKm9EzNJmfx9bOAASciXB&lt;/anchor&gt;<br/>  &lt;connector&gt;0&lt;/connector&gt;<br/>  &lt;connector-state&gt;normal&lt;/connector-state&gt;<br/>  &lt;seen-by-import&gt;1&lt;/seen-by-import&gt;<br/>  &lt;rebuild-in-progress&gt;0&lt;/rebuild-in-progress&gt;<br/>  &lt;obsoletion&gt;0&lt;/obsoletion&gt;<br/>  &lt;need-full-sync&gt;0&lt;/need-full-sync&gt;<br/>  &lt;placeholder-parent&gt;0&lt;/placeholder-parent&gt;<br/>  &lt;placeholder-link&gt;0&lt;/placeholder-link&gt;<br/>  &lt;placeholder-delete&gt;0&lt;/placeholder-delete&gt;<br/>  &lt;pending&gt;1&lt;/pending&gt;<br/>  &lt;ref-retry&gt;0&lt;/ref-retry&gt;<br/>  &lt;rename-retry&gt;0&lt;/rename-retry&gt;<br/>  &lt;sequencers&gt;<br/>   &lt;current&gt;<br/>    &lt;batch-number&gt;0&lt;/batch-number&gt;<br/>    &lt;sequence-number&gt;0&lt;/sequence-number&gt;<br/>   &lt;/current&gt;<br/>   &lt;unapplied&gt;<br/>    &lt;batch-number&gt;0&lt;/batch-number&gt;<br/>    &lt;sequence-number&gt;0&lt;/sequence-number&gt;<br/>   &lt;/unapplied&gt;<br/>   &lt;original&gt;<br/>    &lt;batch-number&gt;0&lt;/batch-number&gt;<br/>    &lt;sequence-number&gt;0&lt;/sequence-number&gt;<br/>   &lt;/original&gt;<br/>  &lt;/sequencers&gt;<br/>  &lt;import-delta-operation&gt;add&lt;/import-delta-operation&gt;<br/>  &lt;export-delta-operation&gt;none&lt;/export-delta-operation&gt;<br/>  &lt;pending-ref-delete&gt;0&lt;/pending-ref-delete&gt;<br/>  &lt;ma-id&gt;{42F7766B-2130-4374-A0AD-9F8B7261F762}&lt;/ma-id&gt;<br/>  &lt;ma-name&gt;BU SITA DOMINO MA&lt;/ma-name&gt;<br/>  &lt;partition-id&gt;{1B140F1C-4D50-471F-BE7B-3A66F761B510}&lt;/partition-id&gt;<br/>  &lt;last-import-delta-time&gt;2009-10-30 14:04:33.953&lt;/last-import-delta-time&gt;<br/> &lt;/cs-object&gt;<br/> <br/> MMS(1840): SE: CS image end<br/> Microsoft Identity Integration Server 3.3.1118.2&quot;<br/> <br/> and i've got just after the second error message: &quot;.NET Runtime 2.0 Error&quot; EventID 1000<br/> <br/> Faulting application miiserver.exe, version 3.3.1118.2, stamp 4a417000, faulting module miiserver.exe, version 3.3.1118.2, stamp 4a417000, debug? 1, fault address 0x0014d64e.<br/> <br/> <br/> <br/> It seems that the error occured while the joining was performed. In fact, i used a extension rule to define the join, but the code is very simple and i don't have any idea why it could lead to this unexpected error. <br/> <br/> Here is the code:<br/> <br/> protected override void ProtectedMapAttributesForJoin(string FlowRuleName, CSEntry csentry, ref ValueCollection values)<br/>         {<br/>             switch (FlowRuleName)<br/>             {<br/>                 case &quot;JoinByMail&quot;:<br/>                     string mail = csentry[&quot;InternetAddress&quot;].Value.ToLower();<br/>                     values.Add(mail);<br/>                     break;<br/> <br/>                 default:<br/>                     throw new EntryPointNotImplementedException();<br/>             }<br/>         }<br/> <br/> <br/> At this stade, i 've tried to play a review on the error entry but everything went fine. I've tried also to run in debug mode but everything was ok.<br/> After, i've been waiting for the next scheduled synchronization, and it performed correctly without error.<br/> Today, i've got the same error, it's seems that the error is not persistent and somehow randomly that why i have no idea what the problem is.<br/> I wonder if it was a bug of the patch version or what?<br/> <br/> Any help would be greatly appreciated.<br/> <br/> ThanksThu, 12 Nov 2009 16:28:48 Z2009-11-18T16:47:32Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/511d8ddd-d5d0-42f3-b927-0c6c7e217311http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/511d8ddd-d5d0-42f3-b927-0c6c7e217311KMSKhttp://social.technet.microsoft.com/Profile/en-US/?user=KMSKSynchronization of two AD domains<span style="font-size:x-small;color:#0000ff;font-family:Palatino Linotype"> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">Hi,</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">I have a different requirement rather challenge in synchronizing two AD domains as described below.</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt"> </span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">I have old domain AD1 and new domain AD2 in the same enterprise. Majority (80%) of the users are migrated to AD2. Due to some application dependency we ought to live with AD1. Because of this all users of a department are still logging on to old domain AD1 still. Now we would like to make the users to login to the new domain keeping the dependency of old domain (AD1) in background and seamless to new users joining this department.</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">With this requirement our initial thought is to go for MIIS with old domain as slave AD</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">Catch here is due to another application dependency we cannot have same user id in both the domains. I mean if we have 'user1' in AD2, it should be 'user1-AD1' in the old domain AD1 but with the same password as in AD2. We cannot have samaccountname as 'user1' in both the domains.</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt"> </span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">While I install and explore MIIS 2003, can someone guide me if this is possible at all</span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt"> </span><span style="font-size:18pt;color:black;font-family:'Times New Roman'"></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="font-size:14pt">Thank you</span></p> </span>Sun, 15 Nov 2009 20:58:13 Z2009-11-19T20:30:34Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dbccc8dc-66b9-42db-9861-78bb21fa51a4http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dbccc8dc-66b9-42db-9861-78bb21fa51a4Paul Adarehttp://social.technet.microsoft.com/Profile/en-US/?user=Paul%20AdareCLM - Use One Time Secrets but Do Not Distribute Them?So this has been eating at me since I first started working with idNexus. There is an option when configuring OTS' to create them but to not distribute them. For the life of me I've not been able to figure out a use case for this option. Can anyone on the product team provide an explanation of when this option would be used?<br/><br/>Thanks!<hr class="sig">Paul Adare CTO IdentIT Inc. ILM MVPTue, 17 Nov 2009 14:39:27 Z2009-11-17T21:55:36Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e3c01b18-ce40-44d2-ad60-85e49ba7731ehttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e3c01b18-ce40-44d2-ad60-85e49ba7731eJosh Rickardhttp://social.technet.microsoft.com/Profile/en-US/?user=Josh%20RickardManaging tables that don't auto-incrementI need to provision records to an Oracle table that has a primary key that is <strong>not</strong> setup to auto-increment (and no, I can't change it!).  I know that is generally frowned upon to be doing inserts/calling stored procs in your provisioning code, so what is the best solution here?  Operational MA?  I'm not really an Oracle person, but my other thought was to use a before_insert trigger that would fill in the id if it was null.  Not sure if that would work or not.  Anyways, how have you folks solved this problem in your projects?Tue, 17 Nov 2009 02:55:16 Z2009-11-17T13:07:14Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/ae6d67cf-44c8-4f31-aff1-2566e795562bhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/ae6d67cf-44c8-4f31-aff1-2566e795562bEnayathullahttp://social.technet.microsoft.com/Profile/en-US/?user=EnayathullaError in CLM<table class=MsoNormalTable style="margin-left:3.4pt;width:99.62%" border=0 cellpadding=0 width="99%"> <tbody> <tr> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt" colspan=2> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">Please note the following information and contact your system administrator: </span></span></p> </td> </tr> <tr> <span><br/>Erro details:</span> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt"> <p class=MsoNormal> </p> </td> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt"> </span></span></p> </td> </tr> <tr> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt" colspan=2> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">No mapping between account names and security IDs was done</span></span></p> </td> </tr> <tr> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt" valign=top> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt"><span class=MsoHyperlink><span style="text-decoration:underline"><span style="color:#0000ff">Technical Details</span></span></span></span></span></p> </td> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt"> </span></span></p> </td> </tr> <tr> <td style="padding-right:1.5pt;padding-left:1.5pt;padding-bottom:1.5pt;padding-top:1.5pt" colspan=2> <table class=MsoNormalTable border=0 cellpadding=0> <tbody> <tr> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">Type:</span></span></p> </td> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">System.ComponentModel.Win32Exception</span></span></p> </td> </tr> <tr> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">Source:</span></span></p> </td> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt"> </span></span></p> </td> </tr> <tr> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">Stack Trace:</span></span></p> </td> <td style="padding-right:0.75pt;padding-left:0.75pt;padding-bottom:0.75pt;padding-top:0.75pt"> <p class=MsoNormal><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt"> </span></span></p> </td> </tr> </tbody> </table> <p class=MsoNormal> </p> </td> </tr> <tr style="height:12.75pt" height=17> <td style="height:12.75pt;padding:1.5pt" colspan=2 height=17> <p><span style="font-size:small;font-family:Times New Roman"><span style="font-size:12pt">Go to Certificate Home Page<br/><br/>: We are facing this erros while search the user certificate details in CLM and downloading the certificate.<br/><br/>Please help me to get this resolved....</span></span></p> </td> </tr> </tbody> </table>Tue, 17 Nov 2009 08:24:29 Z2009-11-17T08:24:30Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5dfd2263-9df0-4f1c-b864-7c9ddf313e48http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5dfd2263-9df0-4f1c-b864-7c9ddf313e48umbhttp://social.technet.microsoft.com/Profile/en-US/?user=umbgroupwiseIs it possible to use ILM for synchronizing the GAL with groupwise accounts? We currently have Exchange 2007 however we keep an Exchange 2003 running the groupwise connector so that we can import Groupwise acounts as contacts for our GAL. We use GalSync to import other AD forest contacts and are wondering if this could be use with Groupwise.<br/><br/>Thanks,<hr class="sig">JoeWed, 11 Nov 2009 15:58:03 Z2009-11-16T17:14:49Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/ad8509a3-0e39-4a61-bd6a-4dbd8cccb6a1http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/ad8509a3-0e39-4a61-bd6a-4dbd8cccb6a1Jakub P.http://social.technet.microsoft.com/Profile/en-US/?user=Jakub%20P.Firewall ports needed for PCNS to workHi,<br/><br/>Can somebody provide all ports I need to open on externall firewalls between MIIS and DCs to get PCNS working?<br/>Now I receive error <em>The password change notification target could not be contacted</em>.<br/><br/>Looking on documentation for PCNS there are some ports (<span style="font-family:'Times New Roman','serif';color:#1f497d;font-size:12pt">57500-57520, 135) </span>but without directions so I have opened them bi-directional but still have the same issue.<br/><br/>I'm sure my configuration of MIIS is OK cause on DC without firewall PCNS works fine.<br/>So what ports and in which way should be open?Thu, 12 Nov 2009 11:22:33 Z2009-11-16T17:10:33Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/4bcce9fa-ddc2-4ca8-bd67-ebf47a34404chttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/4bcce9fa-ddc2-4ca8-bd67-ebf47a34404cRoysovickhttp://social.technet.microsoft.com/Profile/en-US/?user=RoysovickSmartcard logon to ILM works, but after that, ILM functions give access_denied<p align=left>Hi.</p> <p align=left> </p> <p align=left>I'm working with IML 2007 FP1. When using ILM with user/password for authentication, it works as expected. Then, I disable user/password authentication and enable smartcard logon only for the CLM virtual directory on IIS. The users can effectively log on into ILM using their smartcard, but, when they try to use ILM options, that's when the problem arises. It gives kind of an access-denied error. </p> <p align=left> </p> <p align=left>Steps executed:</p> <p align=left> </p> <p align=left>1. User cert is mapped to user account in AD using NameMappings for the corresponding accounts.</p> <p align=left>2. On CLM IIS virtual directory: &quot;require client certificates&quot; and &quot;enable client certificate mappings&quot; are both enabled.</p> <p align=left>3. &quot;Enable the windows directory service mapper&quot; is enabled on the IIS machine running ILM.</p> <p align=left>4. On CLM IIS virtual directory: all authentications are disabled, except the certs features mentioned.</p> <p align=left> </p> <p align=left>The users can log on into ILM using their smartcards. The username is shown on ILM interface as the user expected (i.e. domain\username). But then, the users try to use ILM and they get access-denied.</p> <p align=left> </p> <p align=left>So, it seems to me is an authorization/impersonation or user rights problem. What I don't understand is why this is happening with the smartcard logon only. The very same user, using username/password, has no problems at all.</p> <p align=left> </p> <p align=left>Any thoughts?</p>Mon, 07 Jul 2008 18:20:27 Z2009-11-16T13:37:50Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5a3debe3-ac07-494d-bb8d-c7ade4057e57http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5a3debe3-ac07-494d-bb8d-c7ade4057e57Justin892009http://social.technet.microsoft.com/Profile/en-US/?user=Justin892009Reconnecting Mailboxes in a BulkHello Folks<br/><br/>A situation exists where the mailboxes are in a disconnected state because of an accidental deletion of an OU containing users across a trusted forest. After this mishap, Forest A(Where OU Container existed) did an authoritative restore of the users.<br/><br/>In Forest B(Where Mailbox Database existed) the list of users were retrieved, created and reconnection of the mailboxes were done manually for 100+ users using the exchange management console.<br/><br/>Type of Mailboxes: Linked Mailbox<br/>Topology: Exchange Resource Forest Topology<br/><br/>I was curious to know if we can write a script to automate the reconnection process?<br/><br/>Regards<br/>JustinMon, 16 Nov 2009 11:09:30 Z2009-11-16T12:54:06Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/c6fd61db-2b3e-4e7e-bcc2-2dd5c58f7e68http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/c6fd61db-2b3e-4e7e-bcc2-2dd5c58f7e68yillhttp://social.technet.microsoft.com/Profile/en-US/?user=yillCreate DB user with ILMI have a newbie question regarding provisioning with ILM 2007 Feature Pack 1 which i have downloaded as 180 day trial from Microsoft to test things out.<br/> <br/> <strong>Is it possible to create a DB user and assign him a DB role in Oracle DB 9 with ILM 2007?</strong> <br/> The user then can normally log in to the DB and can do all the stuff his role entitles him to...<br/> <br/> If not is that mybe possible for Microsoft SQL server 2005 ???<br/> <br/> <br/> Thank you very much for your answers.Thu, 12 Nov 2009 11:26:22 Z2009-11-16T07:54:02Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/de5fb225-fd85-41d9-a983-b82efa30cf44http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/de5fb225-fd85-41d9-a983-b82efa30cf44ammarhasayenhttp://social.technet.microsoft.com/Profile/en-US/?user=ammarhasayenfriendly name for certificates issues by CLMI have profile template that issues signing certificates to the users. but i want the friendly name of the certificates issued appears as the subject name of the ceritifcate , how can i do this?<hr class="sig">ammarhasayenSat, 14 Nov 2009 18:23:52 Z2009-11-15T08:42:08Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b24b887d-593b-4243-bf99-0f3c25f2006ahttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b24b887d-593b-4243-bf99-0f3c25f2006aFlybohttp://social.technet.microsoft.com/Profile/en-US/?user=FlyboMissing a dll for OpenLdap<p>Here is my setup:<br/><br/><br/>This is ILM 2007 Enterprise Edition<br/>Version 3.3.118.0<br/>I am not sure what type of license was used but I believe it was part of a volume licensing agreement..<br/>The Sql server is on the same box and is 2005<br/>Here is the version/build info:<br/>Microsoft SQL Server Management Studio      9.00.4035.00<br/>Microsoft Analysis Services Client Tools      2005.090.4035.00<br/>Microsoft Data Access Components (MDAC)      2000.086.3959.00 (srv03_sp2_rtm.070216-1710)<br/>Microsoft MSXML      2.6 3.0 4.0 6.0 <br/>Microsoft Internet Explorer      7.0.5730.13<br/>Microsoft .NET Framework      2.0.50727.3082<br/>Operating System      5.2.3790<br/><br/>Ilm is connected to AD 2003 Schema and OpenLdap.<br/>We have configured MA for AD and OpenLdap.<br/><br/>Here is my goal.<br/>To sync password changes in Ad to OpenLdap.<br/>When a user does a Ctrl-Alt-Del to change their pw we want it to be synced to Openldap.<br/>I have both the ADMA and OpenLDAP MA configured and working.</p> <p>When I try to change a password in AD and have it synch with OpenLDAP I receive the following error:<br/><br/><span style="font-size:x-small"> <p>Event Type: Warning</p> <p>Event Source: MIIServer</p> <p>Event Category: Password Synchronization</p> <p>Event ID: 6901</p> <p>Date: 11/12/2009</p> <p>Time: 2:06:38 PM</p> <p>User: N/A</p> <p>Computer: MCBILM1</p> <p>Description:</p> <p>A password synchronization set operation has failed in a target connected data source.</p> <p> </p> <p>Additional information:</p> <p>Tracking ID: {5388C8E8-5482-420F-B172-3FED08FE2952}</p> <p>Reference ID: {B18AD1CA-1C66-4FBC-9F6C-B7801B55726A}</p> <p>Target Object GUID: {362663FE-1EF1-4CBD-9860-AA3791E17B81}</p> <p>Target DN: uid=xxxxxxxx,ou=xxxxxxx,dc=xxxxxxx,dc=xxx</p> <p>Target MA Name: OpenLdap</p> <p>Retry Count: 8</p> <p>ErrorCode: 0x80230727</p> <p>ErrorString: (The specified extension could not be found.)</p> </span></p> <p>I believe this is referring to the OpenLDAPPasswordExtension.dll which does not appear to be on my system although it is supposed to be installed with the OpenLdap XMA setup. Any ideas where I can get this dll?</p>Thu, 12 Nov 2009 20:31:16 Z2009-11-14T01:05:01Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/7507042a-c0c2-44e4-96d2-f774aa96841ehttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/7507042a-c0c2-44e4-96d2-f774aa96841eDean Guentherhttp://social.technet.microsoft.com/Profile/en-US/?user=Dean%20GuentherQuestion on performance expectations<pre>We recently upgraded from MIIS 2003 to ILM 2007 and we are finding <br /> that most things are running considerably slower than they used to. <br /> The Group Populator is incredibly faster with ILM 2007. <br /> But the whole daily processing is slower. About 150% - 200% slower. <br /> I'm thinking that perhaps we have sized our systems too small, <br /> but would appreciate some help in determining what we do next. On the older system we were running the Exchange Labs v2 Management Agent and standard MIIS 2003 SP2 On the newer system we are running the newer Outlook Live (Exchange Labs) v3 Management Agent, which makes heavy use of Power Shell. Also the ILM 2007 that is installed on the new system is not the out of the box ILM. It was modified by Microsoft specifically for working with Outlook Live. On the ILM 2007 system, while a daily run is going on, <br /> I have noticed memory consumption of 90% - 97% utilization. The CPU is only at about 1%-10% utilization across all processors together. So the CPUs seem to be handling it just fine, but there is a lot of page faulting going on. The miisserver is typically a 70-90 meg working set. But when the Outlook Live MA runs, the miisserver working set swells to over 500 megs. SQL server is typically a 1.7 gig working set and doesn't change much in size.. These two are doing most of the work. Here are the systems: Old System MIIS 2003 SP2 (standard build) Windows 2003 3.6ghz Xeon dual hyperthreaded processors (looks like 4) 3.5 gig ram SQL 2000 dual contollers each with 256 meg cache three mirrored raid 1 sets for OS, logs, data 2 - 300 gig disk mirrors 2 - 146 gig disk mirrors 4 - 72 gig disk mirrors New System ILM 2007 (special build from Microsoft for Outlook Live) Windows 2008 32 bit mode 2.33 ghz Xeon dual quad core processors (looks like 8) 4.0 gig ram SQL 2005 single controller with 512 meg cache three mirrored raid 1 sets for OS, logs, data 2 - 146 gig disk mirrors 4 - 146 gig disk mirrors 2 - 146 gig disk mirrors If I add more memory to the ILM 2007 system, how well will it be utilized? Eg, can I get SQL to have a very large working set over 2 gigs? I had heard from someone that more than 4 gigs of memory would not really help the miisserver. is that true? All help and ideas appreciated </pre>Mon, 12 Oct 2009 21:57:31 Z2009-11-13T19:18:40Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/cc579e44-3a2a-4576-a8c5-ca5a770a8a51http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/cc579e44-3a2a-4576-a8c5-ca5a770a8a51Warlock_321http://social.technet.microsoft.com/Profile/en-US/?user=Warlock_321Using IIFP "GALSync" on Multiple Sites with Multiple users with Multiple email addresses per user<p>Hi guys,<br/><br/>I guess I am just a bit confsed and I hope you can help a little. Here is the scenario I hope you can help.<br/><br/>Lets get into it. <br/><br/>domain1 <br/><br/>Users in this domain have email addresses:<br/>@domain1.com &lt;default SMTP address&gt;<br/>@aquired1.com<br/>@aquired2.com<br/><br/>domain2<br/>GALSync has run and syncd.<br/>The details that have come across however if you look in the contact that is created. The follwoing is evident:<br/>@aquired2.com will be set under the Exchange general tab so it would try and route mail to that address not to the default<br/><br/>Things you will need to know is there is a mail marshal system in place on both domain. They reference DNS internally so mx records are internal to domain1. External mx records for aquire2.com no longer exist.<br/><br/>Internal SMTP connectors have been configured on both are using domain1.com on domain2's address space then vice versa for domain1.<br/><br/>Why does the GALSync change addresses? Should it not keep the default SMTP address in the Exchange General tab<br/><br/>The main issue is that mails are getting bounced back.</p>Fri, 13 Nov 2009 01:18:07 Z2009-11-13T01:18:08Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/62e56690-df50-4727-ac46-4a210842350dhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/62e56690-df50-4727-ac46-4a210842350dsrindahttp://social.technet.microsoft.com/Profile/en-US/?user=srindaQuery Active Directory for Terminal Services Profile PathHello, I would like to know how to query Active Directory for all user accounts who have the Terminal Services Profile Path and/or the Terminal Services Home Folder fields populated.  When I perform a Custom Search, these fields do not appear in the drop-down list under &quot;User&quot;.  Is there an LDAP query for this?  Thank you.Tue, 01 Sep 2009 20:48:07 Z2009-11-12T18:07:12Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/19beb92f-9307-4cd7-86c8-08c5de5ed1cahttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/19beb92f-9307-4cd7-86c8-08c5de5ed1caAndre van der Westhuizenhttp://social.technet.microsoft.com/Profile/en-US/?user=Andre%20van%20der%20WesthuizenPCNSSVC Start and then stop with the following a event id 7000 errorI have installed PCNS on 2 WIN 2k3 Domain Controllers with no problem, I have configure PCNS and SPN and it is working for those two domain controllers. I have installed PCNS on a third Win 2k3 DC. The installation was successfull and after the restart the service (pcnssvc) did not start on this DC. I have manually started the pcnsvc service but it stops after a few seconds. I have checked the eventviewer and have found this error:<br/><br/> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Event Type:<span style="">          </span>Error</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Event Source:<span style="">       </span>PCNSSVC</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Event Category:<span style="">  </span>Unexpected Error </span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Event ID:<span style="">              </span>7000</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Date:<span style="">                      </span>11/11/2009</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Time:<span style="">                     </span>10:43:32 PM</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">User:<span style="">                       </span>N/A</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Computer:<span style="">            </span>MS3</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Description:</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">An unexpected error occurred. service.cpp (766): The target principal name is incorrect.</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman"> </span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman"> </span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">Data:</span></span></p> <p><span style="font-size:10pt"><span style="font-family:Times New Roman">0000: 22 03 09 80<span style="">               </span>&quot;..&#128;<span style="">    <br/></span></span><br/>I would like to resolve the issue but I don't know were to look for the problem as I can't find anything regarding this error on the net.</span></p>Wed, 11 Nov 2009 19:11:51 Z2009-11-12T16:53:04Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/96f59498-5b67-47ab-844d-9509e2079226http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/96f59498-5b67-47ab-844d-9509e2079226Andre van der Westhuizenhttp://social.technet.microsoft.com/Profile/en-US/?user=Andre%20van%20der%20WesthuizenPCNS state that has successfully installed on two 2K8 64bit DC, but when I restart the DC's PCNSSVC is not part of the services.I have successfully installed and configured PCNS on 2 WIN 2k3 32bit DCs. I have run the command &quot;msiexec /a &quot;Microsoft ....&quot; successfully on two WIN2k8 DCs. The setup process start and ask me were do I want to install PCNS. If I select &quot;c:\&quot; or &quot;C:\Program Files&quot; it will create a new folder &quot;Program Files 64&quot; and then create the PCNS folder with the files &quot;pcnscfg and pcnsvc&quot;. I will restart the DCs but the PCNSVC is not part of services when the DCs have restarted.Wed, 11 Nov 2009 19:20:26 Z2009-11-12T08:12:22Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b851f0bf-765f-4843-aee1-02c4208a44cbhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b851f0bf-765f-4843-aee1-02c4208a44cbMessengers MCPhttp://social.technet.microsoft.com/Profile/en-US/?user=Messengers%20%20%20%20%20%20MCPILMHI ,<br/>Is it possible to do synchronization between the useraccounts other than ILM i.e like by <span style="font-size:12pt;font-family:'Times New Roman','serif'">Extending Schema to store Child account details,or any other ways via active directory??<br/><br/>Please let me know any documents if exist on this.<br/><br/>Thanks in Adv,<br/>Crew.</span>Sun, 08 Nov 2009 09:49:26 Z2009-11-11T11:17:21Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/9256a6d1-21ac-43ee-a2c6-d86754cf7d08http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/9256a6d1-21ac-43ee-a2c6-d86754cf7d08Mika Urgenstolernhttp://social.technet.microsoft.com/Profile/en-US/?user=Mika%20UrgenstolernMIIS and .Net framework versions (unexpected errors).<span style="font-size:10pt">I have the problem described below:</span> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"><br/> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">I had working MIIS (MIIS 2003 enterprise version 3.0.692.0) and it was all good.</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">The extension etc were developed in Microsoft visual basic .net 2003 environment version 7.1.3088 and Microsoft .net framework 1.1 version 1.1.4322 sp1 (data taken from the about info)</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">The sync and provision don't work right now – I get unexpected errors when I get and I cannot debug and find the exact place it thrown)</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">I am sure it's because I have installed dot net framework version 3.5 since I had to have a web service running on the same machine that needs framework 3.5</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">Now the questions:</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">1. Am I correct and this is the problem?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">2. What version of .net framework MIIS 2003 enterprise version 3.0.692.0 needs to work with?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">3. can I have few .net frameworks on the same machine and have the MIIS associate and working with specific .net framework (version 2?) and the web service to work with different version (3.5)?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">I have a thread regarding this but its regarding different version of MIIS:</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/b4f30f09-1724-41f4-8a07-9a53b61bb2ac</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">4. How this can be done? Please be specific regarding the steps and operations.</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">Thank you all.</span></p>Wed, 11 Nov 2009 09:08:37 Z2009-11-11T09:49:54Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/1da028e7-bfac-48a6-a07c-774799402773http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/1da028e7-bfac-48a6-a07c-774799402773Mika Urgenstolernhttp://social.technet.microsoft.com/Profile/en-US/?user=Mika%20UrgenstolernDatabase files - no space in c drive problem.<span style="font-size:10pt">Hello all,</span> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">I have installed MIIS on drive C:\ and now I have very small free space on this drive. This MIIS is in production.</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">I have found the following thread:</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"><a href="identitylifecyclemanager/thread/db90e453-d54b-4c4d-9d8e-a6e0c232cbd6">http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/db90e453-d54b-4c4d-9d8e-a6e0c232cbd6</a> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">My questions:</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">1. Can I keep the MIIS installation on drive c and somehow make the log file created/updated in another drive? </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">2. And If I can do that what I need to do with those 2 files (Found in c\program files\Microsoft Identity Integration Server\data ) - </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">MicrosoftIdentityIntegrationServer_log.LDF and MicrosoftIdentityIntegrationServer.mdf ?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">3. if I can't have it that way - what is my best option? Clearing run history and shrinking the database? How can I decrease the size of those 2 files?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">4. if I need to uninstall and install it again in another drive how can I recover to the same situation (data, MAs, sync etc in my current miis)?</span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt"> </span></p> <p class=MsoNormal style="text-align:left;direction:ltr;unicode-bidi:embed"><span style="font-size:10pt">Thank you.</span></p>Mon, 09 Nov 2009 10:02:16 Z2009-11-11T08:53:05Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5d4fc32c-8729-4884-9b8b-b2dd4b9f45ffhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5d4fc32c-8729-4884-9b8b-b2dd4b9f45ffMessengers MCPhttp://social.technet.microsoft.com/Profile/en-US/?user=Messengers%20%20%20%20%20%20MCPILMHi ,<br/>I have 3 applications on three data base servers :XY,YZ and ZX to access this applications i have three differnt user names and password.<br/>Can any one suggest the best possible to use single user name and single password for differnt applications on differnt servers.<br/><br/>Regards<br/>CrewSun, 08 Nov 2009 11:31:06 Z2009-11-10T18:02:29Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5af3ded5-ce93-48b0-b6d1-63db1a46913dhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/5af3ded5-ce93-48b0-b6d1-63db1a46913dGareth14http://social.technet.microsoft.com/Profile/en-US/?user=Gareth14Disconnector doesn't rejoinHi all,<br/> <br/> Im new to ILM so my guess is i've missed something obvious here but I really can't figure it out.  So...<br/> <br/> I have a SQL MA that imports data from the HR system, this data is then pushed out to an AD MA and another different SQL MA, I have an anchor set in the SQL MA which is the employeeId and direct join rulles for this.  <br/> <br/> When a staff member is no longer returned from the HR system I have configured the Deprovision method in both MA's to do some simple housekeeping work and to then return DeprovisionAction.Disconnect.  When I do a search in the HR connector space the object has disapeared, and in the other 2 MA's the object is still there with the connector value set to False and Explicit value also set to false, a search in the metaverse does not return an object for the user.  I think this so far all seems to be correct, right?<br/> <br/> Now if I do another import from the HR SQL MA and the staff member reappears the object is created in the HR connector space only, when I try to run a sync I then start getting errors.  The SQL MA throws an extension-dll-exception which basically says that the DN already exists (the Dn is the employeeID). <br/> <br/> How do I get ILM to join the disconnectors in the AD and 2nd SQL MA to the &quot;new&quot; object just imported in the HR MA?<br/> <br/> Hope this all makes sense.<br/> <br/> Thanks for any helpMon, 09 Nov 2009 11:46:51 Z2009-11-10T11:51:28Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/79b33a43-9ca5-4c30-accc-8c7339d88715http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/79b33a43-9ca5-4c30-accc-8c7339d88715Flybohttp://social.technet.microsoft.com/Profile/en-US/?user=FlyboILM 2007 AD MA not synchingHere is my setup:<br/><br/><br/>This is ILM 2007 Enterprise Edition<br/>Version 3.3.118.0<br/>I am not sure what type of license was used but I believe it was part of a volume licensing agreement..<br/>The Sql server is on the same box and is 2005<br/>Here is the version/build info:<br/>Microsoft SQL Server Management Studio      9.00.4035.00<br/>Microsoft Analysis Services Client Tools      2005.090.4035.00<br/>Microsoft Data Access Components (MDAC)      2000.086.3959.00 (srv03_sp2_rtm.070216-1710)<br/>Microsoft MSXML      2.6 3.0 4.0 6.0 <br/>Microsoft Internet Explorer      7.0.5730.13<br/>Microsoft .NET Framework      2.0.50727.3082<br/>Operating System      5.2.3790<br/><br/>Ilm is connected to AD 2003 Schema and OpenLdap.<br/>We have configured MA for AD and OpenLdap.<br/><br/>Here is my goal.<br/>To sync password changes in Ad to OpenLdap.<br/>When a user does a Ctrl-Alt-Del to change their pw we want it to be synced to Openldap.<br/>I am having a problem getting the sync to work with my AD MA. The import works but not the sync.<br/>Originally we had this working but could not get the Openldap piece to work. Now we have the Ldap piece working but MY AD MA sync fails. During our troubleshooting of the original issue it appears that something was changed and I cannot figure out what.<br/>When I try running a Full Import and Full Sync on the AD MA I get the following error:<br/><span style="font-size:x-small"> <p>The management agent &quot;NewAdMA&quot; failed on run profile &quot;Full Sync&quot; because the extension &quot;OpenLDAPXMA.dll&quot; does not contain a class implementing the required (IMVSynchronization or IMASynchronization) interface in the assembly.</p> </span>I am not using the OpenLdapXMA for the Ad MA. I am using it for the Openldap MA.<br/>Do I need to use an extension on the AD MA. <br/>Keeping in mind that we are only looking to sync passwords could anyone list what I should be configuring on the AD MA for:<br/>Attributes<br/>Connector Filter<br/>Join and Projection Rules <br/>Attribute Flow<br/>Deprovisioning<br/>Extensions<br/><br/>Also, Do I need to use an OpenLdapPasswordExtension.dll<br/>I have seen this mentioned in several articles one of which shows it being installed with the OpenldapXMA but I cannot find it on my system.<br/>The other pieces seem to work as far as sending the pcns notifications to ILM but obviously we error out at that point because it is not syncing.<br/>Any help would be greatly appreciated.<br/><span style="font-size:x-small"> <p> </p> </span><br/><br/>Thu, 29 Oct 2009 14:33:17 Z2009-11-09T20:38:31Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/1c9918dd-4e29-4bf7-bfd6-3827b477648fhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/1c9918dd-4e29-4bf7-bfd6-3827b477648fhvphttp://social.technet.microsoft.com/Profile/en-US/?user=hvpEvaluate MIIS SP2 for Ctrl-Alt-Del Password resetHi,<br><br>We are trying to evaluate MIIS for ctrl-alt-del password change sync to our SSO system.<br>I installed MIIS with SP1. But ctrl-alt-del password synsc doesn't seems to work.<br>Is this feature available in MIIS SP2? If so, how can I get an evaluation copy of SP2?<br>This feature is important for us beofre we make the purchase decision.<br><br>Thanks<br>Prashanth<br><br>Fri, 02 Feb 2007 21:55:02 Z2009-11-09T18:57:29Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e0ed57e3-7b62-4d9f-a6f5-f295257b5bdchttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/e0ed57e3-7b62-4d9f-a6f5-f295257b5bdccovehttp://social.technet.microsoft.com/Profile/en-US/?user=coveDeprovisionAll() doesn't call deprovision methods on all connectors?Hi folks,<br/> <br/> During an account rename I need to disconnect all of the CSentrys connected to an MVentry so that the join rules can be reevaluated and re-join correctly. However when I call DeprovisionAll() (i.e. mventry.ConnectedMAs.DeprovisionAll()), one of the MAs that uses references does not get disconnected. The deprovision rule for that MA is &quot;Stage a delete on the object for the next export run&quot;.<br/> <br/> Any ideas?<br/> <br/> Thanks,<br/> <br/> cs<br/>Mon, 02 Nov 2009 19:29:54 Z2009-11-09T17:22:53Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/f8ad045d-7252-4cd1-a189-d704a8f99129http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/f8ad045d-7252-4cd1-a189-d704a8f99129CarolWhttp://social.technet.microsoft.com/Profile/en-US/?user=CarolWManaging Exchange 2000/2003/2007 with ILM 2007<p>This article covers the management of Exchange-enabled objects using the native Active Directory Management Agent that is included with ILM 2007 FP1.</p> <p>The managed object types discussed are Users, Contacts, Groups and Dynamic Distribution Lists. The article also covers the special cases of adding mailboxes to existing accounts, and supporting a Resource Forest. Where extra steps are required for Exchange 2007 this has been highlighted.</p> <p>It is assumed that the reader is comfortable with the concepts of Provisioning code and Advanced attribute flow rules.</p> <h2 style="color:#365F91">Permissions</h2> <p>The service account used in the connection properties of the Management Agent must have sufficient rights to execute the required changes in AD.</p> <p>Typically a Domain Admin account will be used, but if this is not permitted in your environment you will need to do some testing. The minimum permissions required are:</p> <ul> <li><a href="http://support.microsoft.com/kb/303972">Replicate Directory Changes</a></li> <li>Rights to create/delete/modify objects in the specific OUs</li> <li>Exchange Administrator (2003) or Exchange Recipient Administrator (2007)</li> </ul> <h2 style="color:#365F91">Users</h2> <h3 style="color:#365F91">Provisioning Mail Users</h3> <h4 style="color:#365F91">Exchange 2000/2003</h4> Provisioning a mail user is most simply done using the <a href="http://msdn.microsoft.com/en-us/library/ms696038(VS.85).aspx">CreateMailbox</a> method of the <a href="http://msdn.microsoft.com/en-us/library/ms696074(VS.85).aspx">ExchangeUtils</a> class. This method will create a new user account, and populate the necessary mail attributes for you. <p>See the code sample <span style="text-decoration:underline">Create a User with a Mailbox</span> at the end of this document for an example of the provisioning code.</p> <h4 style="color:#365F91">Mixed Exchange 2003 and 2007</h4> In a mixed environment the RUS still runs so Exchange 2003 methods may be used. Make sure that you do <strong>not</strong> tick the “Enable Exchange 2007 provisioning” box in the Management Agent configuration. <h4 style="color:#365F91">Exchange 2007</h4> <p>The same code will work when provisioning to Exchange 2007, however there are some extra requirements for the ILM server:</p> <ul> <li>ILM 2007 FP1 or later</li> <li>Powershell</li> <li>Exchange 2007 Management Tools</li> <li>Latest rollup packs on Exchange and ILM servers</li> </ul> <p>In addition you must tick Enable Exchange 2007 provisioning on the Extensions tab of the Management Agent.</p> <h4 style="color:#365F91">Adding a Mailbox to an existing User</h4> <p>Sometimes you may need to create a mailbox for an existing account. As the account already exists this is not actually a provisioning task, and is therefore handled with export flow rules.</p> <p>All you need to do is to populate the following attributes, in addition to the basic user attributes:</p> <ul> <li>displayName – if not already set</li> <li>mailNickname – with the local part of the email address (the bit before the “@”)</li> <li>homeMDB – with the DN of the mail store</li> <li>mDBUseDefaults – set to “True” to use the default quota settings</li> </ul> <h3 style="color:#365F91">Special Mailbox Types</h3> <p>Exchange 2007 includes some extra mailbox types:</p> <ul> <li>Room Mailbox,</li> <li>Equipment Mailbox,</li> <li>Linked Mailbox.</li> </ul> <p>The Linked Mailbox is covered in the <span style="text-decoration:underline">Resource Forest</span> section below.</p> <p>The Room and Equipment mailboxes are currently not supported by ILM 2007 provisioning. The only reliable method is to create a User Mailbox using ILM 2007, and then use the set-mailbox cmdlet to change the mailbox type.</p> <h4 style="color:#365F91">Troubleshooting</h4> <h5 style="color:#365F91">Export Errors</h5> <p>The most common problems with provisioning Exchange users will relate to permissions. Make sure that the account used by the MA to connect to AD has permission to create Exchange users. Also make sure you have the latest service packs and rollups on the Exchange and ILM servers – at least SP1 RU9.</p> <h5 style="color:#365F91">Where’s the Mailbox?</h5> Exchange does not create the actual mailbox until it is opened or something is sent to it, therefore it is completely normal for no new mailboxes to be listed directly after the ILM export. <p>To confirm if the user is really mail-enabled:</p> <ul> <li>In Exchange 2003, check that the user’s Exchange tabs have appeared in the Exchange-enhanced version of AD Users &amp; Computers.</li> <li>In Exchange 2007, use the get-user cmdlet to confirm the user’s object type is “UserMailbox”, or check that they appear as a Recipient in the Management Console.</li> </ul> <h5 style="color:#365F91">Exchange 2007 and Global Catalog targeting</h5> <p>There is a known problem with Exchange 2007 provisioning and AD replication delays. On the MA’s Configure Directory Partitions tab you can hard-code the name of a preferred domain controller. Enter the name of the nearest Global Catalog to ensure that both the user creation and the mailbox creation are performed in the same place.</p> <table style="width:100%" border=0 cellspacing=0 cellpadding=0> <tbody> <tr> <th style="text-align:left;background-color:#C0C0C0"><img src="http://apfhrw.bay.livefilestore.com/y1pCed6u9dxDV3LOdzgtYt8xFaDWmIf_thMiOiFb3SmUARdxwIei5b6sPCHGruZWYphrJEU8j2BZEd51ZoAkp_ONkG8moMODvLC/Note.gif" alt=note>Note </th> </tr> <tr> <td style="background-color:#F0F0F0">Use the Resource Kit utility nltest to find Global Catalog servers: <br/><em>nltest /DSGETDC:mydomain.com /GC</em> <br/></td> </tr> </tbody> </table> <p> </p> <h3 style="color:#365F91">Modifying Mail Users</h3> <p>You can change a user’s Exchange related attributes using export flow rules.</p> <p>The following table is not exhaustive. If you wish to automate an Exchange modification the best thing to do is make the change manually and then inspect the attribute changes using ADSIEdit. <br/>In this way you can discover which attributes you need to create flow rules for, and the types of value you should flow.</p> <table border=0> <tbody> <tr> <th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Attribute</th><th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Function</th><th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Comments</th> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">altRecipient</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Used in forwarding – the DN or the mail-enabled object to forward all mail to.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">When forwarding mail to an external account you must create a Contact object in this Exchange organization.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">deliverAndRedirect</td> <td style="text-align:left;padding-left:5px;padding-right:5px">If forwarding is enabled, set to TRUE to deliver to both the mailbox and the forwarding address.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Use in combination with altRecipient.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">extensionAttributen</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Free-use string attributes where you can store any data you like.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Be consistent. If extensionAttribute4 is being used for star sign, then make sure it is only ever used for that.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">homeMDB</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Location of the mailbox.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Do NOT change once it has been set. If you need to move the mailbox use Exchange admin utilities.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mail</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The user’s primary email address.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">If changing the address you should also change mailNickname and the “SMTP:” value of proxyAddresses.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mailNickname</td> <td style="text-align:left;padding-left:5px;padding-right:5px">This should match the local part of the primary email address.</td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mDBUseDefaults</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Use the default quota for the mail store.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Set to False if setting an individual limit.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mDBStorageQuota</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The “Warning” limit Expressed in Kbytes.</td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mDBOverQuotaLimit</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The “Block Send” limit Expressed in Kbytes.</td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mDBOverHardQuotaLimit</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The “Block Send &amp; Receive” limit</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Expressed in Kbytes.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">msExchHideFromAddressLists</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Set to “True” to hide from the GAL.</td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">msExchMailboxGuid</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The unique identifier of the mailbox</td> <td style="text-align:left;padding-left:5px;padding-right:5px">DON’T CHANGE THIS! It can be useful to flow this back into the Metaverse if you need to test that the mailbox was created.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">proxyAddresses</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Multivalue attribute holding all possible email addresses for this account</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The capital “SMTP:” address is the primary. The other “smtp:” addresses act as aliases.</td> </tr> </tbody> </table> <p> </p> <h3 style="color:#365F91">Resource Forest</h3> <p>In a Resource Forest scenario the following accounts are needed:</p> <ol> <li>An enabled user account in the Account Forest.</li> <li>A disabled account in the Resource Forest with an attached mailbox. </li> </ol> <p>The account creation in the two forests and the mailbox linking are simple enough to achieve with ILM. A provisioning code sample has been included at the end of this document under <span style="text-decoration:underline">Create Account Forest and Resource Forest Accounts</span>.</p> <p>The difficulty comes with the permissions assignment piece of the puzzle – it is necessary for the user’s account to have the <strong>Full Access</strong> and <strong>Send As</strong> rights to the mailbox. This is not something that is possible with the native Active Directory MA.</p> <p>While there are several ways to solve the permissions-assignment problem, the typical way is to run a script after the export step. The script might simply trawl AD looking for accounts to update or it could read details from the ILM export log and target the new accounts.</p> <p>While outside the scope of this document, the following resources have been included for reference:</p> <ol> <li>A <a href="http://support.microsoft.com/kb/310866/en-us">Microsoft technote</a> showing how to Script Exchange 2000/2003 mailbox permissions, </li> <li>A PowerShell script for Exchange 2007 has been included in the Code section at the end of this article. </li> </ol> <h2 style="color:#365F91">Contacts</h2> <p>Contacts are used for two primary functions in Exchange, both of which can be automated with ILM:</p> <ol> <li>Adding organization-wide contacts to the Global Address List. <br/>ILM could be used to import information from a CRM system and automatically create the contact object.</li> <li>As a way to forward mail from a mailbox within the organization. <br/>Some organizations (such as universities) allow users to forward their mail to another address. As long as ILM has the information about the forwarding request (perhaps entered by the user in a self-service portal) it can be configured to create the contact and set up the forwarding. </li> </ol> <h3 style="color:#365F91">Provisioning</h3> <p>Contacts may be provisioned very simply using the <a href="http://msdn.microsoft.com/en-us/library/ms696036(VS.85).aspx">CreateMailEnabledContact</a> method from the ExchangeUtils class. <br/>See the code sample <span style="text-decoration:underline">Create a Contact</span> at the end of this document for an example of the provisioning code.</p> <h3 style="color:#365F91">Modifying</h3> <table border=0> <tbody> <tr> <th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Attribute</th><th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Function</th><th style="background-color:#d4d0c8;text-align:center;padding-left:5px;padding-right:5px;font-weight:bold">Comments</th> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">mail</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The contact’s email address.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">If changing the address you should also change targetAddress and the “SMTP:” value of proxyAddresses.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">msExchHideFromAddressLists</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Set to “True” to hide from the GAL.</td> <td style="text-align:left;padding-left:5px;padding-right:5px"> </td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">proxyAddresses</td> <td style="text-align:left;padding-left:5px;padding-right:5px">Multivalue attribute holding all possible email addresses that will forward via the contact.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">To work the contact needs an alias using “smtp:” in the local domain. The “SMTP:” address should match mail and targetAddress.</td> </tr> <tr> <td style="text-align:left;padding-left:5px;padding-right:5px">targetAddress</td> <td style="text-align:left;padding-left:5px;padding-right:5px">The email address that mail sent to this contact will be forwarded to.</td> <td style="text-align:left;padding-left:5px;padding-right:5px">One address only.</td> </tr> </tbody> </table> <p> </p> <h2 style="color:#365F91">Distribution List</h2> <p>There are three types of Distribution list in Exchange:</p> <ol> <li>Groups of type Distribution</li> <li>Groups of type Security that have an email address</li> <li>Dynamic distribution lists.</li> </ol> <p>All three types can be created and managed with ILM, but the processes will differ.</p> <h3 style="color:#365F91">Distribution Groups</h3> <p>To provision a standard Distribution Group use the <a href="http://msdn.microsoft.com/en-us/library/ms696024(VS.85).aspx">CreateDistributionList</a> method of the <a href="http://msdn.microsoft.com/en-us/library/ms696074(VS.85).aspx">ExchangeUtils</a> class. See <span style="text-decoration:underline">Create a Distribution List</span> at the end of this document for a code sample.</p> <p>The main modification you will do with groups is to update the membership list. Group population is outside the scope of this document, though it is worth looking into Group Populator and Multi-Value tables.</p> <h3 style="color:#365F91">Security Groups with Email Address</h3> <p>It is possible to mail-enable a Security group, allowing it to then also act as a distribution list.</p> <p>Provisioning such a group is a simple matter of creating a security group and adding the mail address. See <span style="text-decoration:underline">Create a Mail-Enabled Security Group</span> under Code Samples at the end of this document.</p> <h3 style="color:#365F91">Dynamic Distribution Lists</h3> <p>You may also use ILM to provision Dynamic Distribution Lists. All you need to do is to create an object of type msExchDynamicDistributionList and add values to the following attributes:</p> <ul> <li>displayName</li> <li>mailNickname</li> <li>msExchDynamicDLFilter</li> <li>msExchDynamicDLBaseDN</li> </ul> <p>See <span style="text-decoration:underline">Create a Dynamic Distribution List</span> under Code Samples at the end of this document.</p> <h2 style="color:#365F91">Code Samples</h2> <h3 style="color:#365F91">Create a User with a Mailbox</h3> <p>This MVExtension code is in addition to export flow rules to the user object type on the following attributes:</p> <ul> <li>displayName</li> <li>givenName</li> <li>sAMAccountName</li> <li>sn</li> <li>userPrincipalName</li> </ul> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Const ADS_UF_NORMAL_ACCOUNT As Integer = &amp;H200 Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim homeMDB As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;person&quot; MA = mventry.ConnectedMAs(&quot;MYDOMAIN&quot;) If &lt;test that account should exist&gt; AndAlso MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;sn&quot;).Value &amp; &quot;, &quot; &amp; mventry(&quot;givenName&quot;).Value dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=Users,OU=MyOrg, &quot; _ &amp; &quot;dc=mydomain,dc=local&quot;) mailNickname = mventry(&quot;mailNickname&quot;).Value ' The following line assumes MDB, SG and MailServer have been ' populated for the user in the Metaverse. homeMDB = &quot;CN=&amp; mventry(&quot;MDB&quot;).StringValue _ &amp; &quot;,CN=&quot; &amp; mventry(&quot;SG&quot;).StringValue _ &amp; &quot;,CN=InformationStore,CN=&quot; &amp; mventry(&quot;MailServer&quot;).StringValue _ &amp; &quot;,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT)&quot; _ &amp; &quot;,CN=Administrative Groups,CN=First Organization&quot; _ &amp; &quot;,CN=Microsoft Exchange,CN=Services,CN=Configuration&quot; _ &amp; &quot;,DC=mydomain,DC=local&quot; csentry = ExchangeUtils.CreateMailbox(MA, dn, mailNickname, homeMDB) csentry.DN = dn csentry(&quot;unicodePwd&quot;).Values.Add(&quot;FirstP@ssw0rd&quot;) csentry(&quot;userAccountControl&quot;).IntegerValue = ADS_UF_NORMAL_ACCOUNT csentry.CommitNewConnector() End If End Select End Sub </pre> <h3 style="color:#365F91">Create Account Forest Accounts and Resource Forest Accounts</h3> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Const ADS_UF_NORMAL_ACCOUNT As Integer = &amp;H200 Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim homeMDB As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;person&quot; 'Create Account Forest account - no mailbox MA = mventry.ConnectedMAs(&quot;AccountForest&quot;) If MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;sn&quot;).StringValue _ &amp; &quot;, &quot; &amp; mventry(&quot;givenName&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=Users,OU=MyOrg, &quot; _ &amp; &quot;dc=accountdomain,dc=local&quot;) csentry = MA.Connectors.StartNewConnector(&quot;user&quot;) csentry.DN = dn csentry(&quot;unicodePwd&quot;).Values.Add(&quot;FirstP@ssw0rd&quot;) csentry(&quot;userAccountControl&quot;).IntegerValue = ADS_UF_NORMAL_ACCOUNT csentry.CommitNewConnector() End If 'Create disabled account and mailbox in Resource forest. ' This can only be done once the objectSID from the account domain ' is available. Create a metaverse Binary attribute called SID ' and flow objectSid -&gt; SID. ' The account is disabled because no password is set. Alternatively set ' a random password and disable using userAccountControl. MA = mventry.ConnectedMAs(&quot;ResourceForest&quot;) If MA.Connectors.Count = 0 AndAlso mventry(&quot;SID&quot;).IsPresent Then rdn = &quot;CN=&quot; &amp; mventry(&quot;displayName&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=LinkedMailboxes,OU=MyOrg, &quot; _ &amp; &quot;dc=resourcedomain,dc=local&quot;) mailNickname = mventry(&quot;mailNickname&quot;).StringValue homeMDB = &quot;CN=&quot; &amp; mventry(&quot;MDB&quot;).StringValue _ &amp; &quot;,CN=&quot; &amp; mventry(&quot;SG&quot;).StringValue _ &amp; &quot;,CN=InformationStore,CN=&quot; &amp; mventry(&quot;MailServer&quot;).StringValue _ &amp; &quot;,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT)&quot; _ &amp; &quot;,CN=Administrative Groups,CN=First Organization&quot; _ &amp; &quot;,CN=Microsoft Exchange,CN=Services,CN=Configuration&quot; _ &amp; &quot;,DC=mydomain,DC=local&quot; csentry = ExchangeUtils.CreateMailbox(MA, dn, mailNickname, homeMDB) csentry.DN = dn csentry(&quot;msExchMasterAccountSid&quot;).BinaryValue = mventry(&quot;SID&quot;).BinaryValue 'The following setting is optional but can help with tracking the mailbox user. csentry(&quot;extensionAttribute1&quot;).Value = &quot;accountdomain\&quot; _ &amp; mventry(&quot;uid&quot;).StringValue csentry.CommitNewConnector() End If End Select End Sub </pre> <h3 style="color:#365F91">Assign Resource Mailbox Permissions – Exchange 2007, powershell</h3> <p>The following script assigns the FullAccess and SendAs permissions to a resource forest mailbox. <br/>The resource forest account needs to have the domain\username of the user’s actual account written to extensionAttribute1, as per the provisioning code above.</p> <pre>$Filter = &quot;(&amp;(ObjectCategory=user)(extensionAttribute1=*))&quot; $Searcher = New-Object System.DirectoryServices.DirectorySearcher($Filter) $Searcher.Findall() | Foreach-Object -Process { $alias = [string]$_.properties.item(&quot;mailNickname&quot;) $user = [string]$_.properties.item(&quot;extensionAttribute1&quot;) Add-MailboxPermission -Identity $alias -AccessRights FullAccess, SendAs -User $user } </pre> <h3 style="color:#365F91">Create a Contact</h3> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;person&quot; MA = mventry.ConnectedMAs(&quot;MYDOMAIN&quot;) If MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;displayName&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=Contacts,OU=MyOrg, &quot; _ &amp; &quot;dc=mydomain,dc=local&quot;) mail = mventry(&quot;mail&quot;).StringValue 'The mailNickname is only for internal Exchange purposes. 'You could just as easily use an id number from the source data. mailNickname = mventry(&quot;mail&quot;).Value.Split(&quot;@&quot;)(0) csentry = ExchangeUtils.CreateMailEnabledContact(MA, dn, mailNickname, mail) csentry.DN = dn csentry.CommitNewConnector() End If End Select End Sub </pre> <h3 style="color:#365F91">Create a Distribution List</h3> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;group&quot; MA = mventry.ConnectedMAs(&quot;MYDOMAIN&quot;) If MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;cn&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=Groups,OU=MyOrg, &quot; _ &amp;&quot;dc=mydomain,dc=local&quot;) mailNickname = mventry(&quot;mailNickname&quot;).StringValue csentry = ExchangeUtils.CreateDistributionlist(MA, dn, mailNickname) csentry.DN = dn csentry.CommitNewConnector() End If End Select End Sub </pre> <h3 style="color:#365F91">Create a Mail-Enabled Security Group</h3> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;group&quot; MA = mventry.ConnectedMAs(&quot;MYDOMAIN&quot;) If MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;cn&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=Groups,OU=MyOrg, &quot; _ &amp; &quot;dc=mydomain,dc=local&quot;) mailNickname = mventry(&quot;mailNickname&quot;).StringValue csentry = MA.Connectors.StartNewConnector(&quot;group&quot;) csentry(&quot;groupType&quot;).Value = -2147483640 'Universal Security csentry(&quot;displayName&quot;).Value = mventry(&quot;cn&quot;).StringValue csentry(&quot;mailNickname&quot;).Value = mailNickname csentry.DN = dn csentry.CommitNewConnector() End If End Select End Sub </pre> <h3 style="color:#365F91">Create a Dynamic Distribution List</h3> <p>This MVExtension code snippet creates Department DDLs. <br/>The department names have been imported into department objects in the Metaverse. <br/>The users’ department attribute matches exactly the department names.</p> <pre>Public Sub Provision(ByVal mventry As MVEntry) Implements IMVSynchronization.Provision Dim csentry As CSEntry Dim MA As ConnectedMA Dim dn As ReferenceValue Dim rdn As String Dim mailNickname As String Dim mail As String Select Case mventry.ObjectType Case &quot;department&quot; MA = mventry.ConnectedMAs(&quot;MYDOMAIN&quot;) If MA.Connectors.Count = 0 Then rdn = &quot;CN=&quot; &amp; mventry(&quot;cn&quot;).StringValue dn = MA.EscapeDNComponent(rdn).Concat(&quot;OU=DDLs,OU=MyOrg, &quot; _ &amp; &quot;dc=mydomain,dc=local&quot;) mailNickname = mventry(&quot;mailNickname&quot;).StringValue csentry = MA.Connectors.StartNewConnector(&quot;msExchDynamicDistributionList&quot;) csentry.DN = dn csentry(&quot;displayName&quot;).Value = mventry(&quot;cn&quot;).StringValue csentry(&quot;mailNickname&quot;).Value = mailNickname 'The following filter selects users whose department equals the DDL cn csentry(&quot;msExchDynamicDLFilter&quot;).Value = &quot;(&amp;(!cn=SystemMailbox{*})&quot; _ &amp; &quot;(&amp;(&amp;(&amp;(&amp; (mailnickname=*)&quot; _ &amp; &quot;(| (&amp;(objectCategory=person)(objectClass=user)&quot; _ &amp; &quot;(|(homeMDB=*)(msExchHomeServerName=*))) )))&quot; _ &amp; &quot;(objectCategory=user)(department=&quot; _ &amp; mventry(&quot;cn&quot;).StringValue &amp; &quot;))))&quot; csentry(&quot;msExchDynamicDLBaseDN&quot;).Value = &quot;OU=Groups,OU=MyOrg, &quot; _ &amp; &quot;dc=mydomain,dc=local&quot; csentry.CommitNewConnector() End If End Select End Sub </pre> <p> </p> <h2 style="color:#365F91">ILM Forum Threads</h2> <ul> <li><a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/be387815-89ef-40cc-b063-91c9a5cb0e69/">Provisioning Exchange 2007 with ILM 2007</a></li> <li><a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dd7f2cfe-6bd2-4d99-b933-5356a5576e15/">ILM With FP1 and Exchange 2007</a></li> <li><a href="http://social.technet.microsoft.com/Forums/en-CA/identitylifecyclemanager/thread/8c172bab-042f-45b7-ba73-14a8a27b9f0c">Exchange 2007 'Shared' Mailbox Provisioning with ExchangeUtils</a></li> <li><a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/20485235-cd87-4550-a912-d6340bd8f8a0/">Attribute List for Exchnage 2003</a></li> </ul> <p> </p> <h2 style="color:#365F91">About the Author</h2> <p>Carol Wapshere has been working in IT since 1990, and has since worked in many different organizations, across four different countries. She started out in Netware then moved into Microsoft server products, picking up an assortment of skills in other non-Microsoft systems along the way. She first started working with MIIS in 2005 and loved how it could be used to tie together disparate systems, bringing in much-needed order, and making lots of tedious jobs just disappear.</p> <p>Thanks to Markus Vilcinskas and Peter Geelan for their help with this document.</p><hr class="sig">http://www.wapshere.com/missmiisSun, 08 Nov 2009 14:08:13 Z2009-11-17T02:32:02Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/167ce3da-2fc1-48e1-9bfc-d03a9675f54dhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/167ce3da-2fc1-48e1-9bfc-d03a9675f54dvitalefhttp://social.technet.microsoft.com/Profile/en-US/?user=vitalefILM is trying to re-provision Live@Edu accounts into the cloud that already exist in Exchange Labs.<p>I was wondering if someone can provide guidance, solutions or assistance regarding the following error.  The error is logged repeatedly from accounts that have already been provisioned.<br/>Thank you for your time and consideration.<br/><br/>Event Type: Error<br/>Event Source: MIIServer<br/>Event Category: Server <br/>Event ID: 6801<br/>Date:  6/8/2009<br/>Time:  3:51:47 PM<br/>User:  N/A<br/>Computer: server<br/>Description:<br/>The extensible extension returned an unsupported error in MIIS.<br/> The stack trace is:<br/> <br/> &quot;Microsoft.MetadirectoryServices.ExtensibleExtensionException: [ERROR] The name &quot;<a href="mailto:user@live.example.ca">user@live.example.ca</a>&quot; is already being used. Please try another name.</p> <p>   at Microsoft.Exchange.XmaConnector.XmaExceptionManager.ReportErrorToILM(String errorMessage, ILMExceptionType errorType)<br/>   at Microsoft.Exchange.XmaConnector.EmwsDataProvider.ExceptionHandlingWrapper(ParameterlessMethod method)<br/>   at Microsoft.Exchange.XmaConnector.EmwsDataProvider.NewSyncMailbox(Dictionary`2 csentry)<br/>   at Microsoft.Exchange.XmaConnector.XmaExportExLabs.Add(Dictionary`2 Entry)<br/>   at Microsoft.Exchange.XmaConnector.MAExtension.IlmMAExtension.ExportEntry(ModificationType modificationType, String[] changedAttributes, CSEntry csentry)<br/>Microsoft Identity Integration Server 3.3.0118.0&quot;</p> <p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br/></p>Mon, 08 Jun 2009 20:29:07 Z2009-11-09T15:17:49Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/06f7524b-017d-4a0a-866b-1973432e2517http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/06f7524b-017d-4a0a-866b-1973432e2517Messengers MCPhttp://social.technet.microsoft.com/Profile/en-US/?user=Messengers%20%20%20%20%20%20MCPILM and ADHI ,<br/>Is it possible to do synchronization between the useraccounts other than ILM i.e like by <span style="font-size:12pt;font-family:'Times New Roman','serif'">Extending Schema to store Child account details,or any other ways via active directory??<br/><br/>Please let me know any documents if exist on this.</span>Sun, 08 Nov 2009 09:50:42 Z2009-11-08T10:08:14Zhttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/a109ea2d-a61a-483c-97c8-8a680ce77e2ehttp://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/a109ea2d-a61a-483c-97c8-8a680ce77e2eTim Macaulayhttp://social.technet.microsoft.com/Profile/en-US/?user=Tim%20MacaulayDatabase Management for the ILM Synchronization backend database<p>The purpose of this article is to provide information to assist in making a strategic plan to maintain the backend MicrosoftIdentityIntegrationServer SQL database.<br/>The articles focuses on providing key factors to review when making a database maintenance plan, as well as providing some good practices to follow in your environment.<br/>As you know, the backend is a Microsoft SQL Server database.</p> <p>Since each ILM configuration is different within each company, there is no documentation pertaining to</p> <ol> <li>How often to re-index the tables</li> <li>When to re-index the tables</li> <li>When to backup the MicrosoftIdentityIntegrationServer database</li> </ol> <p>These business rules need to be set from within the company based on their business needs.</p> <h2 style="color:#365f91">Key Factors</h2> <p>Here are the key factors that you can utilize when attempting to make these decisions:</p> <ul> <li><strong>Execution of Run Profiles:</strong> How often are you doing imports, synchronizations, and exports? This is important, because for each run you are adding a record to the run history.</li> <li><strong>Size of Run History:</strong> You can determine this by looking in the lower right while viewing the operations tab. A good recommendation is to keep this as small as possible. Something in the hundreds.</li> <li><strong>Number of Management Agents:</strong> This matters because it can increase the number of records going into the run history for each execution. For example, if you have three management agents, then for each import you will have three records, for each synchronization you will have three records, for each export you will have three records, for each confirming import you will have three records. So for each cycle with three management agents, you could be looking at twelve records in the run history. Then if you run it twice a day, it will become 24 records a day.</li> <li><strong>Backing Up:</strong> How much data are you willing to lose?</li> </ul> <p> </p> <h2 style="color:#365f91">Good Practices</h2> <p>In this section, you find a list of good practices for maintaining a healthy MIIS database.<br/>Affected areas are:</p> <ul> <li>Clear Run History</li> <li>Backing up back-end data</li> <li>Re-Building Table Indexes</li> <li>Updating Statistics</li> <li>Autogrow</li> <li>Shrink Database</li> <li>Database Files</li> </ul> <p> </p> <h3 style="color:#365f91">Clear Run History</h3>   <p>You will see a performance decrease the larger the run history table is.<br/>Therefore, it is a good practice to implement a process that clears the run history on a nightly basis.<br/>You can automate this task by using the command-line tool MIISClearRunHistory provided in the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d3c7bd7a-e8d5-43cf-ad4d-4f1f0ae00d79">MIIS 2003 Resource Kit</a>. <br/>In addition to this, you can also find a related script in the <a href="http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/dcfe6a74-6deb-471c-ae16-d18bfe8f39d4">ILM ScriptBox</a>.</p>   <h3 style="color:#365f91">Backing up back-end data</h3> <p>A good practice for the backe-end data is to do a nightly backup of the MicrosoftIdentityIntegrationServer database.<br/>This will assist in recovering data in case of a data disaster.</p> <p>You can find a good overview about the different type of SQL Server backups and the process of building a good backup – restore strategy in <a href="http://msdn.microsoft.com/en-us/library/aa196685(SQL.80).aspx">Backing Up and Restoring Databases</a>.</p> <p>If the database is in “Full Recovery” model, one backup strategy is to do a Full backup once a week, and do daily transaction log backups.<br/>Depending on the size of the transaction logs and available disk space more than one transaction log should be done each day.<br/>Another option is to do a Full backup, Differential backup and transaction log backups to allow even quicker data recovery.</p> <p>Here are some good resources for Backing up and Restoring Databases in SQL Server:</p> <ul> <li>SQL 2000 - <a href="http://msdn.microsoft.com/en-us/library/cc966495.aspx">SQL Server 2000 Backup and Restore</a></li> <li>SQL 2005 - <a href="http://msdn.microsoft.com/en-us/library/ms187048(SQL.90).aspx">Backing Up and Restoring Databases in SQL Server</a></li> <li>SQL 2008 - <a href="http://msdn.microsoft.com/en-us/library/ms187048.aspx">Backing Up and Restoring Databases in SQL Server</a></li> </ul> <p> </p> <h3 style="color:#365f91">Re-Building Table Indexes</h3> <p>A good practice from a SQL Server stand-point, is to do weekly re-build of indexes or if the indexes are more than 30% fragmented.<br/>You can utilize SQL Server commands like <a href="http://msdn.microsoft.com/en-us/library/aa258803(SQL.80).aspx">DBCC ShowContig</a> or <a href="http://msdn.microsoft.com/en-us/library/aa258821(SQL.80).aspx">DBCC Show_Statistics</a> to see how the indexes look. <br/>I would recommend reviewing the information in the MSDN articles to understand what you are seeing when you run these commands.</p> <p> In a new Query window in Query Analyzer, you would execute the <a href="http://msdn.microsoft.com/en-us/library/aa258828(SQL.80).aspx">DBCC DBREINDEX</a>.<br/>You will need to do that for each table in the MicrosoftIdentityIntegrationServer database.</p> <p>DBCC SHOWCONTIG and DBCC SHOW_STATISTICS are two different commands and report different information:</p> <ul> <li>DBCC SHOWCONTIG is to look at fragmentation of indexes and data (also being removed from the product in the future and sys.dm_db_index_physical_stats should be used instead in SQL 2005 and higher).</li> <li>DBCC SHOW_STATISTICS is great for showing current statistics for an index. </li> </ul> <p>You can find more details on this in the <a href="http://msdn.microsoft.com/en-us/library/cc966523.aspx">Microsoft SQL Server 2000 Index Defragmentation Best Practices</a>.</p> <h3 style="color:#365f91">Updating Statistics</h3> <p>Statistics are the most important component for the Query optimizer to make the best execution plan.<br/>Without good statistics data will likely not be returned in the quickest duration.<br/>Here is a link on statistics and the optimizer:</p> <ul> <li><strong>SQL 2000 -</strong> <a href="http://msdn.microsoft.com/en-us/library/aa902688(SQL.80).aspx">Statistics Used by the Query Optimizer in Microsoft SQL Server 2000</a></li> <li><strong>SQL 2005 -</strong> <a href="http://msdn.microsoft.com/en-us/library/cc966419.aspx">Statistics Used by the Query Optimizer in Microsoft SQL Server 2005</a> </li> <li><strong>SQL 2008 -</strong> <a href="http://msdn.microsoft.com/en-us/library/dd535534.aspx">Statistics Used by the Query Optimizer in Microsoft SQL Server 2008</a>  </li> <li><a href="http://msdn.microsoft.com/en-us/library/aa933134(SQL.80).aspx">Statistical Information</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/ms190397(SQL.90).aspx">Index Statistics (2005)</a></li> </ul> <p>Updating Statistics is a good practice to get into on a nightly basis.<br/>You can find more details about this topic in <a href="http://msdn.microsoft.com/en-us/library/aa260645(SQL.80).aspx">Update Statistics</a>.</p> <h3 style="color:#365f91">Autogrow</h3> <p>It is a good practice to set the autogrow to MB rather than 10%. An example would be something like 100MB.</p> <h3 style="color:#365f91">Shrink Database</h3> <p>You really only need to do this in the case of emergencies.</p> <h3 style="color:#365f91">Database Files</h3> <p>In a SQL Server database there are three files related database files:</p> <ol> <li>The MDF file</li> <li>The LDF file</li> <li>The TempDB file</li> </ol> <p>It is a good practice to place these files on separate drive partitions.</p> <h2 style="color:#365f91">Hypothetical Database Maintenance Plan</h2> <p>Building a database maintenance plan is something that needs to be done within the company’s business rules.<br/>I have outlined below a hypothetical database maintenance plan for the MicrosoftIdentityIntegrationServer database.<br/>The outline provides a snapshot of what a maintenance plan looks like, and gives you a guide to base your database maintenance plan.</p> <ul> <li>Daily after your runs for the day: <ul> <li>Clear Run History</li> <li>Update Statistics</li> <li>Differential Database Backup</li> <li>DBCC ShowContig</li> <li>Transaction Log backups need to be run multiple times a day</li> </ul> </li> <li>Weekly <ul> <li>Rebuild Indexes</li> <li>Full Database Backup</li> </ul> </li> </ul> <p> </p> <h2 style="color:#365f91">Distaster Recovery Scenario</h2> <p>A few months ago I as working with a customer who had not done any type of maintenance on the backend MicrosoftIdentityIntegrationServer SQL database.<br/>In light of this, we found ourselves in a crisis and had to come up with a recovery process.<br/>We were able to put together valuable information that assisted in resolving the customer’s issue.<br/>As a result, I have compiled a list of steps we used to help get through the crisis.</p> <ol> <li>Delete the connector space <ol> <li>Backup the Management Agent first <ol> <li>Click Management Agents</li> <li>Select the Management Agent in question</li> <li>From the Actions menu select Export Management Agent</li> <li>Save it to an easy to remember location and name it accordingly</li> </ol></li> <li>From the Actions menu select Delete</li> <li>You will receive a dialog with two radio buttons</li> <li>Choose the top Radio Button “Delete Connector Space Only”</li> <li>Click OK</li> </ol></li> <li>Re-Index the MicrosoftIdentityIntegrationServer Tables <ul> <li>In a new Query window in Query Analyzer, you would execute the DBCC DBREINDEX</li> <li><a href="http://msdn.microsoft.com/en-us/library/aa258828(SQL.80).aspx">DBCC DBREINDEX</a> </li> <li>You will need to do that for each table in the MicrosoftIdentityIntegrationServer database</li> </ul> </li> <li>Full Import</li> <li>Full Synchronization</li> </ol> <p> </p> <h2 style="color:#365f91">Additional Resources</h2> <p>You can find a collection of tips, tricks, and advices from the SQL Server Query Optimization Team in the related <a href="http://blogs.msdn.com/queryoptteam/">blog</a>. </p> <h2 style="color:#365f91">About the Author</h2> <p>I am a Microsoft Senior Support Engineer and have been at Microsoft for the last 9+ years. <br/>For the last 1.5 years. I have been working with the Developer Support Identity &amp; Access team. <br/>As part of this support team, I have had the privilege of working with several customers in very unique customizations of the ILM product. <br/>Previously I spent time on the Developer Support ADSI team allowing me the privilege of working with the ADSI and WMI technologies.</p> <hr class=sig> Timothy P Macaulay, MCSD, MCSD.NET, MCAD, MCPThu, 05 Nov 2009 15:27:58 Z2009-11-17T02:26:45Z