How To... Enroll ios Devices in Afaria

Similar documents
How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Budget Control by Cost Center

User Experience in Custom Apps

How To Configure MDM to Work with Oracle ASM-Based Products

USDL XG WP3 SAP use case. Kay Kadner

Intelligent Business Operations Chapter 1: Overview & Strategy

Accounts Receivable. SAP Best Practices

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

How To... Migrate Custom Portal Applications to SAP NetWeaver 7.3

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

SAP Master Data Governance- Hiding fields in the change request User Interface

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

How to Schedule Report Execution and Mailing

SAP Service Tools for Performance Analysis

OData in a Nutshell. August 2011 INTERNAL

Production Subcontracting (External Processing) SAP Best Practices

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Integrating Easy Document Management System in SAP DMS

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

SAP Central Process Scheduling (CPS) 8.0 by Redwood

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

HR400 SAP ERP HCM Payroll Configuration

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

Unified Service Description Language Enabling the Internet of Services

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

Next Generation Digital Banking with SAP

Ariba Network Integration to SAP ECC

Process Archiving using NetWeaver Business Process Management

How to Configure and Trouble Shoot Notification for Process Control 2.5

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

Data Archiving in CRM: a Brief Overview

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

Single Sign-On between SAP Portal and SuccessFactors

Application Lifecycle Management

Configuring Distribution List in Compliant User Provisioning

How To Improve Your Business Process With Sap

How to Create a Support Message in SAP Service Marketplace

Log Analysis Tool for SAP NetWeaver AS Java

Third Party Digital Asset Management Integration

How To... Call BEx Web Applications from SAP BusinessObjects Dashboards (Xcelsius) and vice versa

Enterprise Software - Applications, Technologies and Programming

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

Understanding HR Schema and PCR with an Example

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

Integration of SAP Netweaver User Management with LDAP

SAP Business One for iphone and ipad. Version 1.5.x January 2012

Implementing Outlook Integration for SAP Business One

Sending Additional Files from SAP Netweaver PI to third Party System

AC 10.0 Customizing Workflows for Access Management

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

Performance Best Practices Guide for SAP NetWeaver Portal 7.3

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

CREATING A PURCHASE ORDER STORE RECORD WEB SERVICE

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Consume an External Web Service in a Nutshell with good old ABAP

Installation Checklist

AC 10.0 Business Role Management

Fixed Asset in SAP Business One 9.0

How to configure BusinessObjects Enterprise with Citrix Presentation Server 4.0

Sales Rush Sales Order Processing S01- Lean Baseline Package. SAP Lean Baseline Package Version: V1.500 Country: UK Language: EN Date: February 2006

SAP Best Practices Account and Contact Management (C66) Business Process Documentation

Sample Universe on Microsoft OLAP Cube

Finding the Leak Access Logging for Sensitive Data. SAP Product Management Security

AC 10.0 Centralized Emergency Access

Data Source Enhancement Using User Exit

3 rd party Service Desk interface

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

How To... Integrate Custom Formulas into the Formula Builder

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Posting Messages into XI

GRC 10.0 Pre-Installation

Integration of Universal Worklist into Microsoft Office SharePoint

Mass Maintenance of Procurement Data in SAP

Ten reasons small and midsize enterprises (SMEs) choose SAP to help transform their business. Copyright/Trademark

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

BW Workspaces Use Cases

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

Variable Exit in Sap BI How to Start

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

K in Identify the differences between the universe design tool and the information design tool

Ten reasons to step up to the cloud with SAP Business ByDesign. Copyright/Trademark

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

Run SAP like a Factory

Methodology to Implement SAP Process Integration

BICS Connectivity for Web Intelligence in SAP BI 4.0. John Mrozek / AGS December 01, 2011

Developing Applications for Integration between PI and SAP ERP in Different Network Domains or Landscapes

Migration Guide Remote Support Component 1.0 to SAP Solution Manager 7.1. Target Audience System Administrators Technology Consultants

SAP NetWeaver BRM 7.3

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

BW362. SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Ronald Bueck SBO Product Definition

Roster Configuration (Payroll) in SAP ECC 6.0 Tips & Tricks

Transcription:

SAP How-to Guide SAP Mobility SAP Afaria How To... Enroll ios Devices in Afaria provided by SAP Mobile - Rapid Innovation Group Applicable Releases: SAP Afaria 7 (SP1-SP4) Version 1.0 March 2013

Copyright 2014 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iseries, pseries, xseries, zseries, eserver, z/vm, z/os, i5/os, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, ianywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG. This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence. The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages. SAP How-to Guides are intended to simplify the product implementtation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

Document History Document Version Description 1.10 << Enter your summary of changes in this version >> 1.00 First official release of this guide

Typographic Conventions Type Style Example Text Description Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation Icons Icon Description Caution Note or Important Example Recommendation or Tip Example text Example text Example text <Example text> EXAMPLE TEXT Emphasized words or phrases in body text, graphic titles, and table titles File and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. User entry texts. These are words or characters that you enter in the system exactly as they appear in the documentation. Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. Keys on the keyboard, for example, F2 or ENTER.

Table of Contents 1. Business Scenario... 1 2. Background Information... 1 3. Prerequisites... 1 4. Step-by-Step Procedure... 2 4.1 Configure Afaria Server for Enrollment Codes... 2 4.2 Create a Group for your Device... 3 4.3 Create an Enrollment Policy... 4 4.4 Enrolling your Device... 8 5. Summary... 14 6. Appendix... 15 6.1.1 Enabling Google URL Service... 15 6.1.2 Troubleshooting... 21

1. Business Scenario This document provides an overview of steps that one would need to follow to create enrollment policies for ios devices on SAP Afaria. Enrollment policies are used with either the Self Service Portal (SSP) or when users enroll their own devices by installing AppStore Afaria client and entering enrollment code to connect their devices to the Afaria server. 2. Background Information This H2G describes the steps one would need to follow in order to create an enrollment policy for ios devices. The enrollment policy created in this guide relies on the creation of enrollment codes using third party URL shortening services provided by either TinyURL or Google. The guide is designed to be a starting point and does not prescribe best practice for designing your groups within Afaria or which policies linked to those groups, the groups and policies used here are intended for illustration purposes only. 3. Prerequisites The following are pre-requisites that must be met in order for you to complete the business scenario in this H2G: Installed Afaria 7.0 SP3 or later Access to the SAP Afaria Administrator A test ios device with the SAP Afaria AppStore client installed TinyURL access (free, requires no registration) or Google API key (free, requires registration) March 2014 1

4. Step-by-Step Procedure This H2G provides a basic procedure to follow for creating basic Enrollment Policies for ios. Enrollment policies are the policies created for use in enrolling new devices onto Afaria. In order to create an enrollment policy, you will need to create an enrollment code. An enrollment code is a short code generated by a URL shortening service such as Google or TinyURL and is a translation of a much longer URL. From an end-user perspective, it is far easier to provide them with a short code to use for enrollment instead of having to input things like a server name/ip address, ports, Farm Id etc in order to configure their devices to connect to the Afaria server. This means, that for a user who installs an Apple AppStore Afaria client onto their device they would simply need to enter a short code or enroll via the self-service portal to which the same shortcode has been linked. The purpose of an enrollment policy is then to: Provide the enrollment code To define the connectivity parameters for the client to connect to the server To define the device naming convention (how the device is named in Afaria) Optionally, to define substitution variables (data elements) to be collected during enrollment by means of prompting the user to enter certain values at enrollment time, for example a user name, an Exchange password, a domain etc. Optionally, to define group membership Note It is a requirement for ios enrollment, that the policy is associated with a group (e.g. ios Enrollment Policy linked with ios Static group). 4.1 Configure Afaria Server for Enrollment Codes Before you can create an enrollment policy, you will need to configure your Afaria server to generate enrolment codes (if you have not done so). 1. In Afaria Administrator, navigate to Server > Configuration > Server > Enrollment Code. March 2014 2

2. Enable the URL shortening service you wish to use: a. Select Enable the TinyURL service to enable TinyURL. i. Click Test TinyURL connection to test connectivity. b. Select Enable the Google URL service to enable Google s URL shortening service. i. If prompted, Accept the terms of service. ii. For Google, you will need to enter your google API key, refer to the appendix for instructions on obtaining an API key for this service. Refer to the troubleshooting section at the end of this guide should you experience difficulty in testing the connection to Google or TinyURL. 4.2 Create a Group for your Device Now, we are ready to create a group for our new device. For this guide we will use a Static Group, that is a group which we either add devices to during enrollment (as we are here) or an administrator could manually add a device to this group later. 1. In Afaria Administrator, click Group, New, Static. March 2014 3

2. In Group, enter Default Static ios. 3. In Note, enter Static Group for ios Devices. 4. Click Save to save your new group. 4.3 Create an Enrollment Policy 1. Now, we are ready to create the Enrollment Policy. 2. In Afaria Administrator, click Policy, New, Enrollment, ios. March 2014 4

3. In Policy, enter ios Enrollment Policy. 4. In Description, enter Enrollment Policy for ios. 5. Next, click on General section 6. In the Code section, clieck the + button to add a new short code. 7. Select the URL shortener to use using the radio button to selecttinyurl or Google. March 2014 5

Note With Google APIs you can specity an expiry date for your enrollment code(optional). 8. Click the green checkmark buttton to generate your new code. 9. The new code entry should be displayed in the Code table. A useful tip ist o type the code into the description fiel das shown for quick reference later on. 10. Select the code you generated and click the Inspect button in the toolbar. 11. Notice that the enrollment address to which the shortened URL translates is displayed, this should correspond to your Server s address. Please refer to the appendix at the end of this guide for details on resolving shortcodes outside of Afaria, which is very useful for troubleshooting. Close the Inspector window. March 2014 6

12. Review the remaining settings but leave the defaults in place. Note that by default, the Enrollment Policy is set for the device to connect to the server after installation. Also note that you can optionally set the naming convention for your devices here. 13. Click Group to review the Group settings. 14. From Groups, select the ios Static group you created in the previous step and use the arrows to move the selected group to the Selected Groups box on the right. 15. Click Save to save your enrollment policy. 16. We are now ready to test enrollment on our device, note that we will be enrolling directly, by opening the newly installed Afaria Client on our device and entering the enrollment code when prompted. March 2014 7

4.4 Enrolling your Device 1. Open the Afaria client on your device. 2. You will be prompted to enter an enrollment code, enter the code you generated when creating your enrollment policy. 3. You will be prompted to enter your credentials, enter Username: Valid user name for your domain (student##) Password: Valid password for the user on the domain (Welcome1) March 2014 8

4. Click OK. 5. Click Install in order for Afaria client to start the enrollment process. March 2014 9

6. Click Install Now. March 2014 10

7. Click Install, when prompted to install ROOT CERTIFICATE 8. Once the enrollment process is completed, you should see the following screen on your mobile device. Click Done. March 2014 11

9. The session has completed. Now, let s verify on the device. Go to Settings > General and Click on Profiles, to verify installed profiles. March 2014 12

Another way to verify device enrollment is via the Afaria Administrator. This is a recommended approach since you will not always have the physical device being enrolled in your system. 10. Open Afaria Administrator (http://yourafariaserver/afaria) to confirm the device has enrolled in the Devices page. Another way to test device enrollment is 1. Click on the Device Tab 2. Select your Device 3. Click Lock button 4. Your Device should be locked March 2014 13

5. Summary By the end of this guide you should now be ready to conduct ios device enrollment using Afaria Enrollment Codes. March 2014 14

6. Appendix 6.1.1 Enabling Google URL Service 1. Go to: http://developer.android.com/google/gcm/gs.html and click on "Google APIs Console Page". 2. Log into a valid Google G-mail account. 3. Click Google Cloud Console 4. Click Create Project March 2014 15

5. Input name: My Afaria Project 6. Click Continue on SMS Verification screen March 2014 16

7. Verify your account; input your mobile number to receive text message 8. Input Verification code March 2014 17

9. Once verified, you ll be pe presented with your Project Configuration page. Note the Project Number as you will be required to input in Afaria Server GCM Enrollment. 10. Next click the APIs & auth and scroll to find Google Cloud Messaging for Android and URL Shortner API and turn them ON For tinyurl Enable the "URL Shortener API" For GCM Enable the "Google Cloud Messaging for Android": March 2014 18

11. Next, go to API & auth > Registered apps to register an App that will provide us with Google Enrollment API Key; we will use the browser API Key. 12. Provide a name and select platform (Name: My App Platform Web Application) March 2014 19

13. Click on the My App (under Registered apps) and expand Browser key and note the API KEY (see screen on next page) Note the API KEY as you will be required to input in Afaria Server GCM Enrollment. March 2014 20

14. You will also need Project ID to use with GCM, to obtain the Project ID, you will have to look through the URL address for that page: 6.1.2 Troubleshooting 1. How do I resolve a Google shortened URL? For URLs shortened using Google, you can add '.info' to the end of the URL and this will show a webpage with both the full URL and statistics about it's usage. E.g. http://goo.gl/xxxxxx.info Where XXXXXX is the Google shortened URL (Remember, Afaria will add a 'g' to the beginning of the shortened URL to identify this as Google (as opposed to Tiny which has a 't', so the prefix letter will need to be removed.) 2. How do I resolve a TinyURL shortened URL? For TinyURL shortened URLs, you can navigate to http://tinyurl.com/yourenrollmentcode March 2014 21

Where yourenrollmentcode = your enrollment code as it appears in Afaria minus the leadingletter t which represents a URL shortened with tinyurl in Afaria. Your browser should take you to the enrollment address for your Afaria server, for example: http://yourserveraddress /aips/aipservice.svc/getenrollmentseeddata?id=%7b9e6a88d1- d80e-46f2-a34d-4d091dbdd09f%7d&clienttype=-10 3. How to troubleshoot connectivity? If your connectivity tests to Google or TinyURL fail, check your Afaria server logs for further information. Your Afaria server will need a direct connection to the internet for this to function, your server will need to be able to connect to the web on ports 80 and 443. March 2014 22

March 2014 1

www.sap.com/contactsap http://scn.sap.com/community/mobile http://developers.sap.com/mobile SAP Mobile Platform How-To Guides