<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Mobile Device Manager Support Team Blog : Enrollment</title><link>http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx</link><description>Tags: Enrollment</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SCMDM: Enrollment fails with "Unknown error in Enrollment service: System.ArgumentNullException: Value cannot be null"</title><link>http://blogs.technet.com/mdm/archive/2009/01/05/scmdm-enrollment-fails-with-unknown-error-in-enrollment-service-system-argumentnullexception-value-cannot-be-null.aspx</link><pubDate>Mon, 05 Jan 2009 17:29:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3176553</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3176553.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3176553</wfw:commentRss><description>&lt;P&gt;Here's another MDM enrollment failure issue we ran across recently that's caused by the CA not being available when the SCMDM Enrollment Service starts.&amp;nbsp; Fortunately the solution to this one is pretty easy:&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Issue:&lt;/U&gt;&lt;/STRONG&gt; Enrollment fails and the following event is logged on the Enrollment Server:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#004080&gt;Unknown error in Enrollment service: &lt;BR&gt;System.ArgumentNullException: Value cannot be null. &lt;BR&gt;Parameter name: data &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.CryptoService.ComputeHmac(Byte[] data, Byte[] sessionKey) &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.Authentication.AuthenticateServer(BootstrappingRequest rc) &lt;BR&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Mobile.ManagementServices.EnrollmentServer.Authentication.Authenticate(RequestContext rc)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Cause:&lt;/U&gt;&lt;/STRONG&gt; This can occur if the Certificate Authority (CA) was not running when the SCMDM Enrollment Service started. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Resolution:&lt;/U&gt;&lt;/STRONG&gt; Restart the SCMDM Enrollment Service. &lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;J.C. Hornbeck | Manageability Knowledge Engineer&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3176553" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mdm/archive/tags/Troubleshoot/default.aspx">Troubleshoot</category><category domain="http://blogs.technet.com/mdm/archive/tags/Error/default.aspx">Error</category><category domain="http://blogs.technet.com/mdm/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category><category domain="http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx">Enrollment</category></item><item><title>SCMDM: Enrollment fails if a port other than 443 is used for the Enrollment Service</title><link>http://blogs.technet.com/mdm/archive/2008/12/17/scmdm-enrollment-fails-if-a-port-other-than-443-is-used-for-the-enrollment-service.aspx</link><pubDate>Wed, 17 Dec 2008 16:45:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3170269</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3170269.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3170269</wfw:commentRss><description>&lt;p&gt;Here's another SP1 issue that we came across.&amp;#160; If your server and client logs indicate that Enrollment failed because it could not resolve the Enrollment server URL and you changed the port then this may be your issue:&lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Issue:&lt;/u&gt;&lt;/strong&gt; The server and client logs indicate that enrollment failed because it could not resolve the enrollment server URL. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Cause:&lt;/u&gt;&lt;/strong&gt; Enrollment can fail if PAT (Port Address Translation) is used or if an alternate port other than 443 is used for the Enrollment Service. &lt;/p&gt;  &lt;p&gt;Setup itself does not allow you to specify an alternate port number for the enrollment server when it is installed, so if an alternate port is specified in IIS after installation, and the SCP value for the enrollment server is not changed, then client auto discovery breaks. What happens is that the client is sent back a request to switch to the URI of an enrollment server without the alternate port causing the enrollment to fail. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Resolution:&lt;/u&gt;&lt;/strong&gt; If the port number in IIS is changed to a port other than 443, the SCP value must also be changed. &lt;/p&gt;  &lt;p&gt;To change the SCP value follow these steps: &lt;/p&gt;  &lt;p&gt;1. Launch ADSIEDIT.MSC. &lt;/p&gt;  &lt;p&gt;2. Right click on &amp;#8220;CN=Instance&amp;#8221; to bring up the property dialog box. &lt;/p&gt;  &lt;p&gt;3. Check the &amp;#8216;Show only attributes that have values&amp;#8217; checkbox. &lt;/p&gt;  &lt;p&gt;4. Double click on &amp;#8216;keywords&amp;#8217; attribute. &lt;/p&gt;  &lt;p&gt;5. Change the &amp;#8220;enurl= &amp;#8230;&amp;#8221; value to the new port number. &lt;/p&gt;  &lt;p&gt;========&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;J.C. Hornbeck | Manageability Knowledge Engineer&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3170269" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mdm/archive/tags/Troubleshoot/default.aspx">Troubleshoot</category><category domain="http://blogs.technet.com/mdm/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category><category domain="http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx">Enrollment</category></item><item><title>SCMDM: Set-EnrollmentPermissions returns "Error encountered when delegating container..."</title><link>http://blogs.technet.com/mdm/archive/2008/12/16/scmdm-set-enrollmentpermissions-returns-error-encountered-when-delegating-container.aspx</link><pubDate>Tue, 16 Dec 2008 18:51:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3169742</guid><dc:creator>jchornbe</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mdm/comments/3169742.aspx</comments><wfw:commentRss>http://blogs.technet.com/mdm/commentrss.aspx?PostID=3169742</wfw:commentRss><description>&lt;P&gt;Here's another MDM SP1 issue for you.&amp;nbsp; This one involves the &lt;STRONG&gt;Set-EnrollmentPermissions&lt;/STRONG&gt; command and an error you can receive if SCMDMEnrollmentServers has full permissions on the specified OU:&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Issue:&lt;/U&gt;&lt;/STRONG&gt; When running the &lt;STRONG&gt;Set-EnrollmentPermissions&lt;/STRONG&gt; command you may receive the following error: &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color=#004080&gt;Set-EnrollmentPermissions : Error encountered when delegating container "OU=SCMDM Managed Devices (Instance1),DC=yonaloc,DC=nttest,DC=microsoft,DC=com" permission to Enrollment Server. &lt;BR&gt;At line:1 char:26 &lt;BR&gt;+ Set-EnrollmentPermissions&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; "SCMDM MAnaged Devices (Instance1)"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Cause:&lt;/U&gt;&lt;/STRONG&gt; The Set-EnrollmentPermissions command verifies what permissions SCMDMEnrollmentServers has on the specified OU (i.e. the OU that is passed in the command).&amp;nbsp; There is a known issue in this verification process where it will return false if Full Permissions are enabled.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Resolution:&lt;/U&gt;&lt;/STRONG&gt; Do not enable full permission for SCMDMEnrollmentServers group on the device OU. To workaround this issue delete the SCMDMEnrollmentServers group from Security.&amp;nbsp; To do this follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Run DSA.MSC. &lt;/LI&gt;
&lt;LI&gt;Find the OU where you were trying to set permissions. &lt;/LI&gt;
&lt;LI&gt;Right click on the OU and select Properties. &lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;On the Security tab, click on SCCMEnrollmentServers(&amp;lt;your instance name&amp;gt;) and remove it.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The last step is to run the Set-EnrollmentPermissions command again.&amp;nbsp; This time it should succeed without error.&lt;/P&gt;
&lt;P&gt;========&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;J.C. Hornbeck | Manageability Knowledge Engineer&lt;/STRONG&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3169742" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mdm/archive/tags/Error/default.aspx">Error</category><category domain="http://blogs.technet.com/mdm/archive/tags/SP1/default.aspx">SP1</category><category domain="http://blogs.technet.com/mdm/archive/tags/CM/default.aspx">CM</category><category domain="http://blogs.technet.com/mdm/archive/tags/Enrollment/default.aspx">Enrollment</category></item></channel></rss>