locked
Win10 MDM Microsoft account Password Policy not Work RRS feed

  • Question

  • Hi guys:.

      When I use microsoft account, I replace MinDevicePasswordLength from 8 to 5. The client response 200. But When I reset the password the actual password. The policy shows that the current minimun password length is 8. But  I use syncml xml to get the current password policy, it shows that the current minimun password length is 5. The procedure is below.

    Session 1, Message 1

    Request:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>61</SessionID>
        <MsgID>1</MsgID>
        <Target>
          <LocURI>https://win.linyiheng.cn:8004/Win_Demo/Windows/server</LocURI>
        </Target>
        <Source>
          <LocURI>2B6BB1A73B3DE645B448E6BC6D213318</LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Alert>
          <CmdID>2</CmdID>
          <Data>1201</Data>
        </Alert>
        <Alert>
          <CmdID>3</CmdID>
          <Data>1224</Data>
          <Item>
            <Meta>
              <Type xmlns="syncml:metinf">com.microsoft/MDM/LoginStatus</Type>
            </Meta>
            <Data>user</Data>
          </Item>
        </Alert>
        <Replace>
          <CmdID>4</CmdID>
          <Item>
            <Source>
              <LocURI>./DevInfo/DevId</LocURI>
            </Source>
            <Data>2B6BB1A73B3DE645B448E6BC6D213318</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Man</LocURI>
            </Source>
            <Data>Microsoft Corporation</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Mod</LocURI>
            </Source>
            <Data>Surface Pro 3</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/DmV</LocURI>
            </Source>
            <Data>1.3</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Lang</LocURI>
            </Source>
            <Data>zh-CN</Data>
          </Item>
        </Replace>
        <Final/>
      </SyncBody>
    </SyncML>

    Response:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>61</SessionID>
        <MsgID>1</MsgID>
        <Target>
          <LocURI><![CDATA[2B6BB1A73B3DE645B448E6BC6D213318]]></LocURI>
        </Target>
        <Source>
          <LocURI><![CDATA[https://win.linyiheng.cn:8004/Win_Demo/Windows/server]]></LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Replace>
          <CmdID>4</CmdID>
          <Item>
            <Target>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Target>
            <Meta>
              <Format xmlns="syncml:metinf">int</Format>
            </Meta>
            <Data>5</Data>
          </Item>
        </Replace>
        <Get>
          <CmdID>5</CmdID>
          <Item>
            <Target>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Target>
          </Item>
        </Get>
        <Final/>
      </SyncBody>
    </SyncML>

    Session 1, Message 2

    Request:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>61</SessionID>
        <MsgID>2</MsgID>
        <Target>
          <LocURI>https://win.linyiheng.cn:8004/Win_Demo/Windows/server</LocURI>
        </Target>
        <Source>
          <LocURI>2B6BB1A73B3DE645B448E6BC6D213318</LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Status>
          <CmdID>2</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>4</CmdRef>
          <Cmd>Replace</Cmd>
          <Data>200</Data>
        </Status>
        <Status>
          <CmdID>3</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>5</CmdRef>
          <Cmd>Get</Cmd>
          <Data>200</Data>
        </Status>
        <Results>
          <CmdID>4</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>5</CmdRef>
          <Item>
            <Source>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Source>
            <Meta>
              <Format xmlns="syncml:metinf">int</Format>
            </Meta>
            <Data>5</Data>
          </Item>
        </Results>
        <Final/>
      </SyncBody>
    </SyncML>

    Response:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>61</SessionID>
        <MsgID>2</MsgID>
        <Target>
          <LocURI><![CDATA[2B6BB1A73B3DE645B448E6BC6D213318]]></LocURI>
        </Target>
        <Source>
          <LocURI><![CDATA[https://win.linyiheng.cn:8004/Win_Demo/Windows/server]]></LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>2</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Final/>
      </SyncBody>
    </SyncML>

    Session 2, Message 1

    Request:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>62</SessionID>
        <MsgID>1</MsgID>
        <Target>
          <LocURI>https://win.linyiheng.cn:8004/Win_Demo/Windows/server</LocURI>
        </Target>
        <Source>
          <LocURI>2B6BB1A73B3DE645B448E6BC6D213318</LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Alert>
          <CmdID>2</CmdID>
          <Data>1201</Data>
        </Alert>
        <Alert>
          <CmdID>3</CmdID>
          <Data>1224</Data>
          <Item>
            <Meta>
              <Type xmlns="syncml:metinf">com.microsoft/MDM/LoginStatus</Type>
            </Meta>
            <Data>user</Data>
          </Item>
        </Alert>
        <Replace>
          <CmdID>4</CmdID>
          <Item>
            <Source>
              <LocURI>./DevInfo/DevId</LocURI>
            </Source>
            <Data>2B6BB1A73B3DE645B448E6BC6D213318</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Man</LocURI>
            </Source>
            <Data>Microsoft Corporation</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Mod</LocURI>
            </Source>
            <Data>Surface Pro 3</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/DmV</LocURI>
            </Source>
            <Data>1.3</Data>
          </Item>
          <Item>
            <Source>
              <LocURI>./DevInfo/Lang</LocURI>
            </Source>
            <Data>zh-CN</Data>
          </Item>
        </Replace>
        <Final/>
      </SyncBody>
    </SyncML>

    Response:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>62</SessionID>
        <MsgID>1</MsgID>
        <Target>
          <LocURI><![CDATA[2B6BB1A73B3DE645B448E6BC6D213318]]></LocURI>
        </Target>
        <Source>
          <LocURI><![CDATA[https://win.linyiheng.cn:8004/Win_Demo/Windows/server]]></LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Replace>
          <CmdID>4</CmdID>
          <Item>
            <Target>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Target>
            <Meta>
              <Format xmlns="syncml:metinf">int</Format>
            </Meta>
            <Data>10</Data>
          </Item>
        </Replace>
        <Get>
          <CmdID>5</CmdID>
          <Item>
            <Target>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Target>
          </Item>
        </Get>
        <Final/>
      </SyncBody>
    </SyncML>

    Session 2, Message 2

    Request:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>62</SessionID>
        <MsgID>2</MsgID>
        <Target>
          <LocURI>https://win.linyiheng.cn:8004/Win_Demo/Windows/server</LocURI>
        </Target>
        <Source>
          <LocURI>2B6BB1A73B3DE645B448E6BC6D213318</LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Status>
          <CmdID>2</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>4</CmdRef>
          <Cmd>Replace</Cmd>
          <Data>500</Data>
        </Status>
        <Status>
          <CmdID>3</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>5</CmdRef>
          <Cmd>Get</Cmd>
          <Data>200</Data>
        </Status>
        <Results>
          <CmdID>4</CmdID>
          <MsgRef>1</MsgRef>
          <CmdRef>5</CmdRef>
          <Item>
            <Source>
              <LocURI>./Vendor/MSFT/Policy/Config/DeviceLock/MinDevicePasswordLength</LocURI>
            </Source>
            <Meta>
              <Format xmlns="syncml:metinf">int</Format>
            </Meta>
            <Data>5</Data>
          </Item>
        </Results>
        <Final/>
      </SyncBody>
    </SyncML>

    Response:

    <?xml version="1.0"?>
    <SyncML xmlns="SYNCML:SYNCML1.2">
      <SyncHdr>
        <VerDTD>1.2</VerDTD>
        <VerProto>DM/1.2</VerProto>
        <SessionID>62</SessionID>
        <MsgID>2</MsgID>
        <Target>
          <LocURI><![CDATA[2B6BB1A73B3DE645B448E6BC6D213318]]></LocURI>
        </Target>
        <Source>
          <LocURI><![CDATA[https://win.linyiheng.cn:8004/Win_Demo/Windows/server]]></LocURI>
        </Source>
      </SyncHdr>
      <SyncBody>
        <Status>
          <CmdID>1</CmdID>
          <MsgRef>2</MsgRef>
          <CmdRef>0</CmdRef>
          <Cmd>SyncHdr</Cmd>
          <Data>200</Data>
        </Status>
        <Final/>
      </SyncBody>
    </SyncML>



    • Edited by 林毅衡 Friday, September 11, 2015 2:57 AM
    Friday, September 11, 2015 2:55 AM