4.1.1.1 Discovery Example Request Using Federated Authentication
The following snippet demonstrates the call to the Discovery input message using <AuthPolicy> "Federated".
-
<?xml version="1.0"?> <s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope"> <s:Header> <a:Action s:mustUnderstand="1"> http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryService/Discover </a:Action> <a:MessageID>urn:uuid: 748132ec-a575-4329-b01b-6171a9cf8478</a:MessageID> <a:ReplyTo> <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address> </a:ReplyTo> <a:To s:mustUnderstand="1"> https://ENROLLTEST.CONTOSO.COM/EnrollmentServer/Discovery.svc </a:To> </s:Header> <s:Body> <Discover xmlns="http://schemas.microsoft.com/windows/management/2012/01/enrollment/"> <request xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <EmailAddress>user@contoso.com</EmailAddress> <OSEdition>3</OSEdition> <!--New --> <RequestVersion>3.0</RequestVersion> <!-- Updated --> <DeviceType>WindowsPhone</DeviceType> <!--Updated --> <ApplicationVersion>10.0.0.0</ApplicationVersion> <AuthPolicies> <AuthPolicy>Federated</AuthPolicy> </AuthPolicies> </request> </Discover> </s:Body>