AirWatch Authentication Failure

12.2k views Asked by At

I am working on an iOS App which will be distributed within an enterprise using AirWatch as an MDM Tool.

I have integrated AirWatch iOS SDK in my app, but, I am getting a failure on authentication on both Device and Simulator. I use the same credentials which I used to enroll the device. The error screenshot is below:

App Authentication Failure

My Device is successfully enrolled with AirWatch, see the screenshot below:

Enrollment Successful.

Do I need to setup something in AirWatch Console in order for my app to get authenticated with AirWatch?

Please suggest.

Thanks.

2

There are 2 answers

0
Luca On

@Prathameshr Answer is correct.

Too enable SDK use in the application choose you app, select "edit", click "more" and choose "SDK". See screenshot for details

enter image description here

3
prathameshr On

You have to create SDK Profile first using Airwatch Console and upload your app using that profile on Airwatch console.

From the AirWatch console, select Apps and Profiles > Profiles. Click Add to create a new Profile. Select Platform

and assign this profile to your app while uploading to airwatch console.

For more details refer to Airwatch Resources and iOS SDK Developer Guide