Thursday, April 28, 2016

Android Device Registration on WSO2 Enterprise Mobility Manager


EMM Configs:

Before we proceed we need to make the following config changes

Change the LBHostPortPrefix and ServerUrl values from localhost to server IP at
<EMM_HOME>\repository\conf\cdm-config.xml


Change the host value under generalConfig from localhost to server IP at
<EMM_HOME>\repository\deployment\server\jaggeryapps\emm\config\config.json


Add SMTP configurations:

Add the following code to the axis2.xml which is located at <EMM_HOME>/server/repository/conf/axis2
[1/8/16, 2:06 PM] Milan Perera (milan@wso2.com):<transportSender name="mailto"
                     class="org.apache.axis2.transport.mail.MailTransportSender">
        <parameter name="mail.smtp.from">abc@gmail.com</parameter>
        <parameter name="mail.smtp.user">abcr@gmail.com</parameter>
        <parameter name="mail.smtp.password">abc123</parameter>
        <parameter name="mail.smtp.host">smtp.gmail.com</parameter>

        <parameter name="mail.smtp.port">587</parameter>
        <parameter name="mail.smtp.starttls.enable">true</parameter>
        <parameter name="mail.smtp.auth">true</parameter>
    </transportSender>


Create User

Go to https://<server_ip>:9443/emm














log in to the console (default admin/admin).
Click on Add under USERS
Fill in the information. The last field asks you to enter a user role. If you have a user role you can directly define it here. Creating a role will be discussed in the next section below.















Once you submit an email will be sent to the specified address with the EMM Agent download URL. And also a screen will appear with a QR code that embeds the download URL as well.
















Once this is done you can download the EMM Agent to your mobile device using the URL.

To register agent, follow steps given in [1] below:

[1] https://docs.wso2.com/display/EMM200/End-user+Registering+an+Android+Device


Once you register your device it will show up under Device Management in the EMM Console






By clicking on the view icon under the device you can view all device management options for the device:





No comments:

Post a Comment