Quantcast
Viewing all articles
Browse latest Browse all 5932

Using OMA-URI to create custom Wi-Fi profiles for Windows Phone 8.1

Windows Phone 8.1 provides a significant number of features, some of which cannot be configured directly from the Microsoft Intune administration console. To cover these scenarios, we have added a new Intune policy type called Windows Phone OMA-URI Policy which enables you to configure OMA-URI for Windows Phone 8.1. In this blog post, you will learn how to create custom Wi-Fi profiles for Windows Phone 8.1 using OMA-URI and Microsoft Intune.

From the Intune admin console

Let’s say you want to provision a Wi-Fi profile with a Pre-Shared Key (PSK) to all Windows Phone 8.1 users. To do so, you must first connect the desired Wi-Fi using your Windows device.

In the Intune administration console navigate to Policy>Add Policy

Image may be NSFW.
Clik here to view.

 

Create a new Windows Phone OMA-URI Policy:

Image may be NSFW.
Clik here to view.

 

Under OMA-URI Settings click Add.

Setting Name: Enter something short and easy to read – e.g., “my PSK Wi-Fi OMA-URI”

Setting Description: e.g., “Custom Wi-Fi profile to light up PSK for Wi-Fi profiles on Windows Phone 8.1”

Data Type:String (XML)

OMA-URI Location:./Vendor/MSFT/WiFi/Profile/MYPSKWIFI/WlanXml

Data:

http://www.microsoft.com/networking/WLAN/profile/v1">

  MYPSKWIFI

 

   

     4D5950534B57494649

     MYPSKWIFI

   

    false

 

  ESS

  auto

  false

 

   

     

        WPA2PSK

        AES

        false

     

     

        passPhrase

        false

        12345678

     

   

 

Note: the XML above is a sample OMA-URI. Please refer to “How to create an XML file from an existing Wi-Fi connection” section below to get your own customized XML.


Once you have filled in the appropriate fields, your screen should look like this: 

 Image may be NSFW.
Clik here to view.

Click OK to save the policy, then deploy the policy to the required Intune groups.  

 NOTE: To configure Wi-Fi profiles using OMA-URI:

  • Data type must be String (XML)
  • The value for must EXACTLY match the SSID you are connecting to (highlighted above)
  • The value for must be all uppercase – it is case sensitive (highlighted above) 

How to create an XML file from an existing Wi-Fi connection

  1. Use a Windows computer to manually connect to the desired wireless network.
  2. Once you have successfully connected, open the following folder: C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{SOME GUID}
  3. Here you will find an XML profile for each Wi-Fi endpoint you have connected to using this computer. You may have to dig through each XML file to locate the one with matching SSID.
  4. Once you have located the correct XML file, copy and paste this XML into the Data field of the OMA-URI settings page.

Other tips and tricks

  1. To convert a string to HEX use an online tool like this one.
  2. Make sure you capitalize all alphabetic characters in the

   4d5950534b57494649 -> 4d5950534b57494649

Image may be NSFW.
Clik here to view.

Additional resources

I hope you found this blog post helpful. If you are looking for more information about Windows OMA-URI policies in Microsoft Intune, see Use Windows Phone OMA-URI policies to manage device settings with Microsoft Intune in the Microsoft Intune Documentation Library. Also, if you’ve not yet tried out Intune, sign up for a free 30-day trial today.

- Karan Daftary, Program Manager

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 5932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>