There's a new home for Articles. Find Articles on Our Product Support Page.
Good morning everyone! I know this question has been asked over the years, but I thought I would revive the topic. I am currently working on automating the process of building and deploying .pcg files to our server. I am currently on MobiControl 15.4 and all of the devices are Samsung Tab active 2's and 3s. OS versions running from 9 up to OS version 13. I have automated certain parts of the process, i.e leveraging the API to post profiles and packages to the server and setting up pipeline for deployment. The issue I am running into is the actual building of the .pcg. I have researched this form through and through, I have tried using the PkgUtil command line tool. That works fine, however, I need to be able to set certain parameters while building the .pcg file. For example, I need to set the location of where the file is saved and to set the option of 'Do not uninstall the file'. Has anyone had any luck with such a process? I have 10 of thousands of devices to make profiles and packages for. I am looking to automate this process as much as possible. Any and all information and help is greatly appreciated.
Hi, I am wondering if there is any way I can make my profile select the latest package by itself and run it? Meaning, I will update the newer version of the package, and I'm hoping that the profiles which had that package will change to the latest version without me manually change every profile? Thanks
Hey Guys, I try to Automating the Onboarding of my Customers. I want To Automate the creation of a Geofence. But i get the Following Error from Powershell: Invoke-restmethod : { "$type": "ErrorDetails", "ErrorCode": 0, "Message": "Contract validation failed", "Data": [ "geofenceAddRequest.$type: Error parsing value" ], "HelpLink": null}In Zeile:2 Zeichen:7+ Invoke-restmethod -Uri https://$MCFQDN/Mobicontrol/api/geofence ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand I hope you can help Me. Thank You Greeting Daniel __________________________________________________________________________________________________ Code: $json=Get-Content "C:\Users\dobbertind\Documents\Exchange Online\Powershell Scripte\EMM\GeofenceVorlagenew.json" Invoke-restmethod -Uri https://$MCFQDN/Mobicontrol/api/geofences -ContentType "application/json" -Method Post -Body $json -Headers $Header2 Thats The Conent of the File: { "$type": "Geofence", "Name": "test", "Vertices": [ { "$type": "LatLong", "Latitude": 51.48232758114372, "Longitude": 7.321427263198861 }, { "$type": "LatLong", "Latitude": 51.480049150806735, "Longitude": 7.32170621293641 }, { "$type": "LatLong", "Latitude": 51.480690597252305, "Longitude": 7.3271779193267905 }, { "$type": "LatLong", "Latitude": 51.48279528003457, "Longitude": 7.326019205032357 }, { "$type": "LatLong", "Latitude": 51.48249354910483, "Longitude": 7.321678533438556 }, { "$type": "LatLong", "Latitude": 51.48028194457554, "Longitude": 7.322204246405475 }, { "$type": "LatLong", "Latitude": 51.48076970947561, "Longitude": 7.327000036124103 }, { "$type": "LatLong", "Latitude": 51.48260045174229, "Longitude": 7.325680389288776 }, { "$type": "LatLong", "Latitude": 51.48237996477796, "Longitude": 7.322032585028522 }, { "$type": "LatLong", "Latitude": 51.48051580511012, "Longitude": 7.322622671011798 }, { "$type": "LatLong", "Latitude": 51.48091002443958, "Longitude": 7.3265816115177795 }, { "$type": "LatLong", "Latitude": 51.48245346055118, "Longitude": 7.325530185583942 }, { "$type": "LatLong", "Latitude": 51.48215947674761, "Longitude": 7.322279348257892 }, { "$type": "LatLong", "Latitude": 51.48060266728896, "Longitude": 7.322807324514047 }, { "$type": "LatLong", "Latitude": 51.48103697570167, "Longitude": 7.326304925069467 }, { "$type": "LatLong", "Latitude": 51.48234655756915, "Longitude": 7.3253607874962245 }, { "$type": "LatLong", "Latitude": 51.48203921009992, "Longitude": 7.322603476628915 }, { "$type": "LatLong", "Latitude": 51.48080311783952, "Longitude": 7.323107731923715 }, { "$type": "LatLong", "Latitude": 51.48110379201345, "Longitude": 7.326015246495858 }, { "$type": "LatLong", "Latitude": 51.48222629141484, "Longitude": 7.324996007070199 }, { "$type": "LatLong", "Latitude": 51.48193230614682, "Longitude": 7.322946799382821 }, { "$type": "LatLong", "Latitude": 51.48099688586761, "Longitude": 7.323279393300668 }, { "$type": "LatLong", "Latitude": 51.481177289843345, "Longitude": 7.325607550725595 }, { "$type": "LatLong", "Latitude": 51.48205257307644, "Longitude": 7.324759972676889 }, { "$type": "LatLong", "Latitude": 51.48187217256309, "Longitude": 7.32322574912037 }, { "$type": "LatLong", "Latitude": 51.481163926610364, "Longitude": 7.323504698857919 }, { "$type": "LatLong", "Latitude": 51.48124410594958, "Longitude": 7.325103295430795 }, { "$type": "LatLong", "Latitude": 51.481892217099805, "Longitude": 7.324631226644174 }, { "$type": "LatLong", "Latitude": 51.48174522362591, "Longitude": 7.323461783513681 }, { "$type": "LatLong", "Latitude": 51.48123742434335, "Longitude": 7.32371927557911 }, { "$type": "LatLong", "Latitude": 51.48132428514781, "Longitude": 7.324749243840829 }, { "$type": "LatLong", "Latitude": 51.48174522362591, "Longitude": 7.324373734578744 }, { "$type": "LatLong", "Latitude": 51.48162495588576, "Longitude": 7.323611987218515 }, { "$type": "LatLong", "Latitude": 51.4813510115159, "Longitude": 7.323858750447885 }, { "$type": "LatLong", "Latitude": 51.48145028185666, "Longitude": 7.324405921086923 }, { "$type": "LatLong", "Latitude": 51.48157723161486, "Longitude": 7.323837292775766 }, { "$type": "LatLong", "Latitude": 51.482477624526545, "Longitude": 7.321763646515662 }, { "$type": "LatLong", "Latitude": 51.48072037589533, "Longitude": 7.326967132004554 }, { "$type": "LatLong", "Latitude": 51.48272483658168, "Longitude": 7.325958621414954 }, { "$type": "LatLong", "Latitude": 51.48012570227965, "Longitude": 7.321795833023841 }, { "$type": "LatLong", "Latitude": 51.482478472563315, "Longitude": 7.324003249747011 }, { "$type": "LatLong", "Latitude": 51.481046267281435, "Longitude": 7.326575013957322 }, { "$type": "LatLong", "Latitude": 51.48152734244336, "Longitude": 7.322047445140183 }, { "$type": "LatLong", "Latitude": 51.48265651281907, "Longitude": 7.32186505492717 }, { "$type": "LatLong", "Latitude": 51.482589698782164, "Longitude": 7.321285697779953 }, { "$type": "LatLong", "Latitude": 51.48232758114372, "Longitude": 7.321427263198861 } ]}
I'm trying to find SOTI documentation on building a group with the following requirements: 1) Create a net new Device Group for a specific hardware type 2) Create a sub group for each Province in Canada 3) Create further sub groups for each location within each Province 4) Each group location must contain pre-defined Custom Attributes. Location #, language EN or FR etc..... 5) The Device Relocation Rules contain a specific IP address range and target a unique group The above must exist in our Dev, QA and PROD environments. Due to the volume of groups to be created, we are looking to automate this process and avoid creating thousands of manual tasks. I've seen some references to creating this using API calls, however I haven't found anything specific to what we need to create.
We are currently looking into the possibility of automatically sending a message to an Android device. Basically once an event occurs on our ERP system we want to send out a message to the Android device of the user that their request is ready. Is there some way to automate sending messages to users based in defined criteria? And is it possible to integrate this with an Oracle ERP system?
I want to automate assigning 3000 devices on their specific group. I want to do it via rest api with my script.
I am looking for some way how to automate building of multiple .pcg files for our use-case - for us ideal is to integrate it into Jenkins where the whole project and all apps are automatically compiled. Does SOTI's MobiControl Package Studio plan to provide (OR provide but in documentation I found nothing about it) any way of automatiion e.g. command line building access? In my opinion it is interesting, possible and nice to have feature for lots of people here. Thanks for information.
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points