locked
Error Executing WiFi CSP and VPN CSP on windows phone 8.1 MDM RRS feed

  • Question

  • Hi Guys,

    I am getting status code 500 while executing VPN and wifi CSP and no other reason why command has failed.

    I tried with example given in Windows phone 8.1 MDM protocol document with providing correct values. But phone is sending status 500 for the same. I have observed one case for VPN CSP. If I try to add only a node i.e giving data for LocURI ./Vendor/MSFT/VPN/myvpn/Server then device could add this node and sends status code as 200 and I can see myvpn getting added in list. then I tried with giving data to other LocURIs such as : ./Vendor/MSFT/VPN/myvpn/TunnelType , ./Vendor/MSFT/VPN/myvpn/Authentication/Method etc as well then device is sending status code 500. Also device is failing to execute example given in doc.

    Same thing is observed when I tried to configure WiFi using standard example given in document.

    I am wondering are the examples given in protocol document even tested ? cause I could see few typo changes in LocURIs for other CSP in updated version of protocol document.

    I am not sure what exactly going wrong.

    Wednesday, August 27, 2014 8:49 AM

All replies

  • For VPN are you using EAPTLS or MSCHAPv2. Let me know and I can try to find working sample.
    Wednesday, August 27, 2014 7:07 PM
  • Thanks for reply,

    I have tested for both types and observed same issue. VPN node is added only when server data is sent to device and fails when sent with rest data and LocURI 

    Here is data that I am using. I am using sample data given in protocol document and have jst replaced values with actual values

    1. Device sends code 200 for following data

    VPN_EAP_TLS

    <SyncBody><Atomic>
          <CmdID>8000</CmdID>
          <Add>
            <CmdID>8001</CmdID>
            <Item>
              <Target>
                <LocURI>./Vendor/MSFT/VPN/EapTls/Server</LocURI>
              </Target>
              <Meta>
                <Format xmlns="syncml:metinf">chr</Format>
              </Meta>
              <Data>test.eapvpn.com</Data>
            </Item>
          </Add></Atomic><Final/></SyncBody>

    2. Device sends 500 for cmdid 8001 and 216 for rest:

    <SyncBody><Atomic>
          <CmdID>8000</CmdID>
          <Add>
            <CmdID>8001</CmdID>
            <Item>
              <Target>
                <LocURI>./Vendor/MSFT/VPN/EapTls/Server</LocURI>
              </Target>
              <Meta>
                <Format xmlns="syncml:metinf">chr</Format>
              </Meta>
              <Data>test.eapvpn.com</Data>
            </Item>
          </Add><Add>
            <CmdID>8002</CmdID>
            <Item>
              <Target>
                <LocURI>./Vendor/MSFT/VPN/myvpn/TunnelType</LocURI>
              </Target>
              <Meta>
                <Format xmlns="syncml:metinf">chr</Format>
              </Meta>
              <Data>IKEv2</Data>
            </Item>
          </Add>
          <Add>
            <CmdID>8004</CmdID>
            <Item>
              <Target>
                <LocURI>./Vendor/MSFT/VPN/myvpn/Authentication/Method</LocURI>
              </Target>
              <Meta>
                <Format xmlns="syncml:metinf">chr</Format>
              </Meta>
              <Data>EAP</Data>
            </Item>
          </Add>
          <Add>
            <CmdID>8005</CmdID>
            <Item>
              <Target>
                <LocURI>./Vendor/MSFT/VPN/myvpn/Authentication/EAP</LocURI>
              </Target>
              <Meta>
                <Format xmlns="syncml:metinf">chr</Format>
              </Meta>
              <Data>
            </Data>
            </Item>
          </Add>
        </Atomic>
      </SyncBody>

    Thursday, August 28, 2014 1:44 PM
  • any updates on this.. ?
    Monday, September 1, 2014 5:48 PM