3.1.4.1.3.1 DiscoveryRequest

The <DiscoveryRequest> complex type describes the information to send to the server in the <Discover> request element (section 3.1.4.1).

Namespace: http://schemas.microsoft.com/windows/management/2012/01/enrollment

 <xsd:element name="request">
     <xsd:complexType>
             <xsd:all>
                 <xsd:element name="request">
                     <xsd:complexType>
                         <xsd:all>
                             <xsd:element minOccurs="1" maxOccurs="1" name="EmailAddress" type="enroll:EmailAddressType"/>
                             <xsd:element minOccurs="1" maxOccurs="1" name="RequestVersion" type="xsd:decimal"/>
                             <xsd:element minOccurs="1" maxOccurs="1" name="DeviceType" type="enroll:DeviceType"/>
                             <xsd:element minOccurs="1" maxOccurs="1" name="ApplicationVersion" type="enroll:DottedQuadType"/>
                             <xsd:element minOccurs="1" maxOccurs="1" name="OSEdition" type="xsd:unsignedInt"/>
                             <xsd:element name="AuthPolicies">
                                 <xsd:complexType>
                                     <xsd:sequence>
                                         <xsd:element minOccurs="1" maxOccurs="3" name="AuthPolicy" type="enroll:AuthPolicyType"/>
                                     </xsd:sequence>
                                 </xsd:complexType>
                             </xsd:element>
                         </xsd:all>
                     </xsd:complexType>
                 </xsd:element>
             </xsd:all>
     </xsd:complexType> 
 </xsd:element>

EmailAddress: This element supplies the name of the user making the enrollment request. The <EmailAddress> value is used by the DS to identify the ESs to return to the client.

OSEdition: This element specifies the type of OS and MUST be set to the decimal value as an int of the product enumeration defined in section 2.2.9.6.

DeviceType: This element specifies the device type and MAY be set to WindowsPhone or CIMClient_Windows.

RequestVersion: The value MUST be set to 4.0, 3.0, 2.0, or 1.0.

ApplicationVersion: This element specifies the application version and MUST be in the format int.int.int.int.

AuthPolicies: This element contains child AuthPolicy elements.

AuthPolicy: This element specifies the authentication method and MUST be set to Federated, Certificate, or OnPremise.