Jannick Poulsen
Dec 23, 2016
10:30 am

Knox Cloud SDK - fetch profiles and send push-notification

I am trying to implement Samsung KNOX cloud SDK into our MDM solution.

I have been following the Getting Started guide: https://seap.samsung.com/tutorial/get-started-samsung-knox-cloud-sdk#Act...

To setup the stage for where i am at at the moment, i have gone through these steps by now: 

  • Got Acess to the KNOX Cloud SDK 
  • Created the following keys Cloud REST API KEY, KLM and ELM
  • Implementet the steps from the Getting Started guide into our MDM service
    • This works fine when enrolling the device
    • I get all the responses from the Samsung Enterprise Gateway (SEG) 
  • got acess to SAMSUNG KNOX MOBLIE ENROLLMENT DASHBOARD
    • setup an MDM profile with x509 Certificate, pointing to ur MDM Url, with no Authtentication enabled 
    • add devices, and linked the to an MDM profile

After i create a MDM profile in the SAMSUNG KNOX MOBLIE ENROLLMENT DASHBOARD, and enrolling the devies, i try to fetch the profiles from our MDM service, via the SEG https://eu-segm-api.secb2b.com/v2/profiles (this is the profile url in the json response i recieve on the first enrollment response from the SEG). I am also passing along the X-Knox-Apikey in my request header, and the profileId. 

The json response i get when trying to fetch the profiles, or send a push-notification is this:

{
  "status": "NOT_FOUND",
  "error": {
    "errorDescription": "Profile not found"
  }
}

How do i fetch my MDM profiles, i have the profileId, but when i try to fetch it i just get the above JSON response?  

 

Payal Solanki
Jan 02, 2018
8:49 am

Sorry, I don't have the anwer to your question. But can you tell me that have you created profile on Knox Mobile Enrollement Process explicitly?

If yes what you have mentioned for MDM Agent APK. It seems mandatory while creating profile.

Or if give our MDM server URI(An MDM URI points to the MDM installation of an enterprise. This portal connects to the URL internally to download specific configurations.)

do we need to have this APK still?

Comments

No need of MDM agent APK if you are using cloud SDK. Can someone answer the "Jannick Poulsen" question.

We are also facing the same issue.

Payal SolankiJan 24, 2018 at 2:28 pm

Samsung currently have an issue where new profiles creates in Knox Mobile Enrollment are not being found when POSTing to the notifications endpoint.

So we are getting Profile not found message, everytime we try to send push notification.

Payal SolankiJan 30, 2018 at 9:08 am