简体   繁体   中英

iOS Configuration Profile Expiration

We are building iOS OTA Enrollment system in our IT. After reading Apple docs, i would not find reference how to set an expiration date on the Configuration Profile installed on the device.

My motivation is to create expiration date on profiles that i am going to install based on the device owner (they have to login before i install it)

Is there a way to control how long the Configuration Profile is valid for?

The configuration Profile has 2 keys:

RemovalDate
DurationUntilRemoval

Which takes a date or duration in seconds respectively, which when satisfied, will remove the profile. But maybe that wasn't what you're looking for?

The Configuration Profile supports the key "PayloadExpirationDate".

You can set the expiration date in the profile, and after the expiration, a new button inside the profile will appear to update the profile manually.

You can see the documentation in the following link: https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html

Also, the Apple documentation "Over-the-Air Profile Delivery Concepts" says

Upon receiving the final encrypted profile, the device installs it. Reconfiguration occurs automatically if the profile expires or if a VPN connection attempt fails.

However, I wasn't able to update the profile, not manually and not automatically.

据我所知,没有办法控制到期日。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM