I'm pretty sure as this can be done by scripting.
Example here for Orange(SFR) we got in the past from the support (i don't remember what Toggle MCMR-24460 1 does sry):
writeprivateprofstring APNwriteprivateprofstring APN AccessPointName0 websfrwriteprivateprofstring APN DisplayName0 "SFR_Tablet"writeprivateprofstring APN CountryCode0 208writeprivateprofstring APN NetworkCode0 10writeprivateprofstring APN ServerAddress0writeprivateprofstring APN ProxyServerAddress0writeprivateprofstring APN ProxyPortNumber0writeprivateprofstring APN MmsProxyAddress0writeprivateprofstring APN MmsPortNumber0writeprivateprofstring APN MmsServerAddress0writeprivateprofstring APN AccessPointType0writeprivateprofstring APN AuthType0writeprivateprofstring APN UserName0writesecureprofstring APN Password0writeprivateprofstring APN IsDefault0 1writeprivateprofstring APN count 1writeprivateprofstring APN MvnoType0 0writeprivateprofstring APN MvnoValue0 0apply apn
writeprivateprofstring Toggle MCMR-24460 1restartagent
Hi Rafael,
I made the changes to the script accordingly and tried to test it, but unfortunately, the device didn't come online. Is there any other way we can do this?
(I assume you provided the script/ before it went offline!)
So the script also won't work if you just send it to a TEST device or only when used as a out of contact rule?
In general i think the problem you may more likely investigate is why the device is loosing it's APN configuration.
Which means involving Soti support (if the APN is provided via the MDM) and the manufacturer support.
And the support may be able to assist why the script is not working.
Hi Pranay,
Thanks for posting on SOTI Pulse, Thanks Rafael for responding to the post, your expertise and willingness to help are greatly appreciated!
Have you had an opportunity to test the suggested solutions by Rafael, and has it successfully addressed your query?
If not, or If you have any additional questions or concerns, please don't hesitate to reach out. We're dedicated to providing assistance and support.
Hi Rafael,
Thank you for your time and valuable comments. I found the solution by using another script. Thank you again.