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 2 answers

    Modifying a Custom Attribute on an device by API & PS Solved Locked

    I am trying to make an API call to update one device in using the reference ID. I am able to fetch token but having issue when using PUT to update the device. Here is what i tried so far: ### Call API #Module and Configurations API Import-Module -Name "F:\SOTI_API\Mod-MobiControl.psm1" Set-TrustAllCertsPolicy $Token = Get-MCToken $MCFQDN = Get-MCFQDN #Core script $headers = @{} $headers["Authorization"] = "Bearer " + $Token $deviceId = "9c5c8e786faa050100171845214D2417" $AttributeValue = @{} $AttributeValue["customAttributeValue"] = "123" $body = $AttributeValue | ConvertTo-Json #PUT customAttributes Projet $result = Invoke-restmethod -Uri "https://$MCFQDN/mobicontrol/api/devices/$deviceId/customAttributes/Projet" -ContentType "application/json" -Method PUT -Headers $headers -body $body When trying to execute the above, getting below error:Invoke-restmethod : { "$type": "ErrorDetails", "ErrorCode": 0, "Message": "Échec de validation du contrat", "Data": [ "customAttributeValue: Error parsing value" ], "HelpLink": null }Au caractère Ligne:22 : 15+ $result = Invoke-restmethod -Uri "https://$MCFQDN/mobicontrol/api/devices/$d ... Any help is greatly appreciated.  

    SOTI MobiControl
    4 years ago
  • 0 votes 2 answers

    How to use API to create custom Attributes on a group level Solved Locked

    Hello, I'm trying to edit my existing PowerShell script that created the device group but I'm a bit confused on the formatting needed for the custom attribute. For device group creation, I looked at the forums and copied the example of using: $devicegroup = @{} $devicegroup["Name"] = $Name $devicegroup["Path"] = $Path + $Name $devicegroup["Icon"] = "Red" $devicegroup["Kind"] = "Regular" I tried changing it around to try to mimic the json on the API page but not luck, even tried doing: $customAttribute = '{ "Attributes" : [ { "AttributeName":"StoreNumber", "AttributeValue":"1234"}]}' but that is also failing on me. Anyone have any suggestions?

    SOTI MobiControl
    4 years ago
  • 0 votes 2 answers

    Custom Attributes in database Solved Locked

    Hi all, I have created custom attributes (e.g. SIM-PIN, SIM-PUK, ...) and added some information for each device.  Now I want to create a custom report using these custom attributes, but I cant find them in the database at all. Does anyone know the specific tablename?  OS: Microsoft Server 2019 MS SQL Version: 15.0.4123.1 MobiControl Version: 15.3.1.1151 Thanks in advance. Best, Stephan

    SOTI MobiControl
    4 years ago
  • 0 votes 10 answers

    part of IP as custom attribute

    Hi, for our shops we have to set a shop-specific URL and since I don't like to do it for every single shop (90 shops) I was hoping it would be possible to retrieve a part of the ip-address of the device which can be used as part of the url. The second part of the ip-address always stands for the shop number. IP= 10.1.2.251   => SHOP 1 For example =>.  http://soti-XXX/login the XXX should be the second part of the ip-address the android devices are receiving. For example:   IP device: 10.1.1.1. => URL should be http://soti-001/login (always 3 figures, since shopnumbers go from 1 till 99) Is there a simple solution to have this done, with custom attributes and scripting maybe ?

    Android
    4 years ago
  • 0 votes 3 answers

    Custom Attributes in File Sync Rule

    Hi, is there anything to get Custom Attributes working in Filesync Rule (Server File / Folder Name)? Works: %ROOT%\Certificates\ %ROOT%\Certificates\123.cert Doesn't work: %ROOT%\Certificates\%MCCustomData:Store Number%.cert

    Android
    5 years ago
  • 0 votes 2 answers

    Changing registered User of device + Firmware version is not exported correctly

    Hello Soti User,We use Soti Mobicontrol version: 14.3.0.3144 and manage Honeywell CT60 with Android 9 with the latest firmware (HON660-P-88.00.08-(0111)) and Agent 14.3.0.1000 In Mobicontrol we have registered the users with the corresponding device.But now we wanted to change the user again.This is currently not possible. The LDAP AD connection works, we select the new user, click on save. Then click on the "Refresh" icon and the setting is back on the old way. Deleting the settings with the trashcan icon also isnt working there.Is there a known error or a solution for us how to change the users without them returning to the old value?Unfortunately Mobicontol does not read the firmware version correctly. I have installed the 0111 firmware, via remote maintenance this is also shown to me.But Mobicontrol sometimes reads the old version "OEM version 88.00.03-(0032)".Therefore I have created a custom defined attribute "Newest Firmware?"After each update I manually set the value to True. But there are also problems here. In the device overview of many devices it says that the value of the attribute is unknown. But if I click on the device and scroll to the user-defined attributes, it shows me the correct value there. Many thanks and greetingsMaik

    Android
    5 years ago
  • 0 votes 3 answers

    DISPLAY DEVICE PATH OR CUSTOM ATTRIBUTE ON LOCKDOWN

    Our MC is release 14.4. We manage around 3000 devices on 40 different kind of field services. The devices have different lockdown and access according to field services being assigned. It is common a device been transferred to different departments, so they must receive new assignemnets. It is also common the end user to forget to request to transfer the device in MobiControl, keeping the former assignments. When we were running MC 13, in order to avoid devices misplacements, in our lockdown template we have displayed the device path, by including a a reference to an external html file. This external html file  have been transferred by a filesync rule.  Such solution were consuming network band, so we have deactivated it. Is it available on MC release 14.4 any macro or environment variable that we may include on html lockdowntemplate to show which path the device is located, or maybe a custom attribute that may shows its content on lockdown ?  Something similar to %IMEI%

    Android

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