locked
XML Provisioing on WIndows Phone 8 RRS feed

  • Question

  • I would like whether Windows Phone 8 Supports

    1. XML Provisioning through CAB/cpf file?

    2. Is there any way to send the provisioning XML as part of XAP install file?

    Also where can I find the MDM sample code and custom company app sample for Phone 8?

    Friday, February 1, 2013 6:47 PM

Answers

All replies

  • Hi,

    You can find information about developing company hub app in the below link:

    http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj720571(v=vs.105).aspx

    Regarding XML provisioningWindows Phone SDK 8.0 does not provide any API for processing device configuration XML.

    -Rashmi.

    Friday, February 1, 2013 7:05 PM
  • Hi Rashmi,

    My Wp8 device/emulator is not enrolling. I have checked the response with the example in protocol document. Its matching but the enrollment is not happening.

    Please find the wap-provisioningdoc used below for the enrollment.

    <wap-provisioningdoc version="1.1">
      <characteristic type="CertificateStore">
        <characteristic type="Root">
          <characteristic type="System">
            <characteristic type="xxxxxxxxxx">
              <parm name="EncodedCertificate" value="MIIDuTCCAqGgAwIBAg-------"/>
            </characteristic>
          </characteristic>
        </characteristic>
        <characteristic type="My">
          <characteristic type="User">
            <characteristic type="xxxxxxxx">         
              <parm name="EncodedCertificate" value="MIIF4DCCBMigAwIBAgIKQv-----------"/>       
     </characteristic>
              <characteristic type="PrivateKeyContainer">                   
         <parm name="KeySpec" value="2"/>
                <parm name="ContainerName" value="ConfigMgrEnrollment"/>
                <parm name="ProviderType" value="1"/>
              </characteristic>
          </characteristic>
        </characteristic>
      </characteristic>
      <characteristic type="APPLICATION">
        <characteristic type="APPADDR">
          <parm name="ADDR" value="https://url:8443/WindowsPhone.ashx"/>
     <characteristic type="PORT">
      <parm name="PORTNBR" value="8443"/>
     </characteristic>     
        </characteristic>
        <parm name="APPID" value="w7"/>
        <parm name="PROVIDER-ID" value="SCConfigMgr"/>
        <parm name="NAME" value="ABC"/>
        <parm name="CONNRETRYFREQ" value="6"/>
        <parm name="INITIALBACKOFFTIME" value="30000"/>
        <parm name="MAXBACKOFFTIME" value="120000"/>
        <parm name="BACKCOMPATRETRYDISABLED"/>
        <parm name="DEFAULTENCODING" value="application/vnd.syncml.dm+wbxml"/>
        <parm name="SSLCLIENTCERTSEARCHCRITERIA" value="Subject=CN%3dMDM+Account&amp;Stores=MY%5cUser"/>
        <characteristic type="APPAUTH">
          <parm name="AAUTHLEVEL" value="CLIENT"/>
          <parm name="AAUTHTYPE" value="DIGEST"/>
          <parm name="AAUTHNAME" value="mdmuser"/>
          <parm name="AAUTHSECRET" value="****"/>
          <parm name="AAUTHDATA" value="MTIzNA=="/>
        </characteristic>
        <characteristic type="APPAUTH">
          <parm name="AAUTHLEVEL" value="APPSRV"/>
          <parm name="AAUTHTYPE" value="BASIC"/>
          <parm name="AAUTHNAME" value="mdmuser"/>
          <parm name="AAUTHSECRET" value="*****"/>
        </characteristic>
      </characteristic>
      <characteristic type="Registry">
        <characteristic type="HKLM\Software\Microsoft\Enrollment">
          <parm name="RenewalPeriod" value="42" datatype="integer"/>
        </characteristic>
        <characteristic type="HKLM\Software\Microsoft\Enrollment\OmaDmRetry">
          <parm name="NumRetries" value="8" datatype="integer"/>
          <parm name="RetryInterval" value="15" datatype="integer"/>
          <parm name="AuxNumRetries" value="5" datatype="integer"/>
          <parm name="AuxRetryInterval" value="3" datatype="integer"/>
          <parm name="Aux2NumRetries" value="0" datatype="integer"/>
          <parm name="Aux2RetryInterval" value="480" datatype="integer"/>
        </characteristic>
      </characteristic>
      <characteristic type="DMClient">
        <characteristic type="Provider">
          <characteristic type="TestMDMServer">
            <parm name="EntDeviceName" value="Administrator_WindowsPhone" datatype="string"/>
          </characteristic>
        </characteristic>
      </characteristic>
    </wap-provisioningdoc>

    Please help

    Thanks

    JK


    • Edited by JiiWinJS Monday, April 29, 2013 6:16 AM
    Thursday, April 25, 2013 12:24 PM