Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 12 answers

    Need help integrating SOTI MobiControl into our DevOps pipeline Solved

    Hello everyone, I'm looking to integrate SOTI MobiControl into our DevOps pipeline, specifically aiming to implement CI/CD by uploading an APK file via the POST /packages API. Unfortunately, I've been stuck for several days now and could really use your help. Here's my current script: #!/bin/bash# Fetching the APKcurl -u [USERNAME]:[PASSWORD] -o "/home/[USERNAME]/app_name.apk" "https://nexus.example.com/repository/raw/apk/env_dev/release/app_name.apk"# Setting base variablesbase_url="https://soti.example.com/MobiControl/api"auth="Basic [BASE64_ENCODED_CREDENTIALS]"content_type="multipart/related"content_type2="multipart/related; boundary=content"apk_path="/home/[USERNAME]/app_name.apk"# Getting access tokenaccess_token=$(curl -s -X POST "$base_url/token" \    -H "Authorization: $auth" \    -H "Content-Type: $content_type" \    -d "grant_type=password&username=[USERNAME]&password=[PASSWORD]" \    | jq -r '.access_token')echo "Access Token: $access_token"# Sending application download request to MobiControlcurl -X POST "$base_url/packages" \  -H "Authorization: Bearer $access_token" \  -H "Content-Type: $content_type2" \  -d @- <<EOF--contentContent-Type: application/vnd.android.application.metadata+json{ "DeviceFamily" : "AndroidPlus", "PackageName": "package", "PackageVersion": "1.0"}--contentContent-Type: application/vnd.android.applicationContent-Disposition: attachment; filename="app_name.apk"--content--EOF However, the server returns the following message: "Internal Server Error". For your information, I'm using version: 2024.0.1.1020.Any help would be greatly appreciated!

    SOTI MobiControl
    a year ago
  • 0 votes 1 answer

    Can you deploy app packages in Visual Studio App Center and then deploy them to Soti? Solved

    We're using Azure DevOps and App Center When testing and deploying our apps, now we're looking for a way to automate the process of deploying our apps to our MobiControlled devices. Has anyone tried this? I'd imagine I would maybe have to use the Soti API to update the package but I'm not sure if there is a better way.

    SOTI MobiControl
    5 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points