# APN Payload

> This payload can be used to allow a device to connect through a specified Access Point Name.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/configuration-management/what-is-configuration-management/profiles/android-profiles/apn-payload/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

# Description

This payload can be used to allow a device to connect through a specified Access Point Name

:::caution
Important

 

Please check [MDM Features](/capainstaller/the-capainstaller-console/system-administration/what-is-system-administration/mdm-features/) to see if APN is supported by the enrollment type of the device.

NB! If you enrolled as Device Owner, the fields Access Point Name, Authentication type, Mobile country code and

A mobile network code is mandatory.
:::

![](/attachments/capainstaller/1d9492a5-1df6-4934-a27e-b05827a69d03.png)  

## How to configure:

| MANDATORY   | CONFIGURATION             | DESCRIPTION                                                                                                                                                                                                                                                                                                                                                                                 | EXAMPLE                                                                                                                                                        |
|:------------|:--------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Yes         | Access Point Name (APN)   | The name of the Access Point for which to connect.                                                                                                                                                                                                                                                                                                                                          | internet                                                                                                                                                       |
|             | Access Point User name    | This string specifies the user name for this APN. <br/> If the access point needs user authentication, the user name must be written here.                                                                                                                                                                                                                                                  |                                                                                                                                                                |
|             | Access Point Password     | The password for the user for this APN. <br/> If the access point needs authentication, the password must be written here.                                                                                                                                                                                                                                                                  |                                                                                                                                                                |
|             | Proxy Server              | The IP address or URL of the APN proxy. <br/> If access goes through a proxy server, the URL must be given here.                                                                                                                                                                                                                                                                            | http://example.com                                                                                                                                             |
|             | Port                      | The port number for the APN proxy. <br/> If access goes through a proxy server, the proxy server port must be written here.                                                                                                                                                                                                                                                                 | Port number                                                                                                                                                    |
|             | Server                    | This setting references a Wireless Application Protocol (WAP) gateway server for phones that cannot access or render standard websites. <br/> If access goes through a WAP gateway server, the URL must be given here.                                                                                                                                                                      |                                                                                                                                                                |
| Yes         | Authentication type       | Must contain either **PAP**, **CHAP**, or **PAP or CHAP**. Defaults to **None**. <br/>- Not Set<br>- None<br>- PAP<br>- CHAP<br>- PAP or CHAP                                                                                                                                                                                                                                               | PAP or CHAP                                                                                                                                                    |
| Yes         | Mobile country code (MCC) | MCC is used in combination with a mobile network code (MNC) to uniquely identify a mobile network operator (carrier) using the GSM <br/> If the access point needs MCC, it must be written here, otherwise the default sim MCC will be selected.                                                                                                                                            | [Mobile Country Codes](https://en.wikipedia.org/wiki/Mobile_country_code) <br/> 238 for Denmark                                                                |
| Yes         | Mobile network code (MNC) | MNC is used in combination with a mobile country code (MCC) to uniquely identify a mobile network operator (carrier) using the GSM <br/> If the access point needs MNC, it must be written here, otherwise the default sim MNC will be selected.                                                                                                                                            | [National Operators (Denmark)](https://en.wikipedia.org/wiki/Mobile_Network_Codes_in_ITU_region_2xx_(Europe)#Denmark_(Kingdom_of_Denmark)_-_DK) <br/> 01 (TDC) |
|             | MMS port number           | The port used by the MMS proxy. <br/> If access goes through a proxy server, the proxy server port must be written here.                                                                                                                                                                                                                                                                    | Port number                                                                                                                                                    |
|             | MMS proxy address         | Multimedia Messaging Server (MMS) proxy address. This is an HTTP proxy server for MMS traffic. <br/> If access goes through a proxy server, the URL must be given here.                                                                                                                                                                                                                     | <http://example.com>                                                                                                                                           |
|             | MMS server address (MMSC) | MMSC. This is a multimedia messaging service server for MMS traffic. MMS succeeded SMS for sending larger messages with multimedia content, such as pictures or videos. <br/> If access goes through an MMSC server, the URL must be given here.                                                                                                                                            |                                                                                                                                                                |
|             | APN type                  | This setting must match the carrier's intended use for the access point. APN service specifiers must match the wireless carrier's published definitions: <br/>- **MMS**. Multimedia traffic goes through this access point.<br>- **default**. All traffic, including multimedia, goes through this access point.<br>- **supl**. Secure User Plane Location is associated with assisted GPS. | default                                                                                                                                                        |

### Read More

- <http://en.wikipedia.org/wiki/Access_Point_Name>
