When did the phonenumber item among the information that can be obtained by the command 'DeviceInformation Command.command.Queries' stop?

Hello !

Currently, we have customers who use about 5,000 devices. In the case of ios26, the phone number is not acquired overall, and 18.x, 17.x, and 16.x are all acquired in half and not acquired in half.

https://developer.apple.com/documentation/devicemanagement/deviceinformationcommand/command-data.dictionary/queries-data.dictionary

It seems that it is the right behavior not to acquire it on the specification sheet. However, I wonder when it became impossible to acquire. (There are devices that can be acquired and devices that can't be acquired in the same os version.) Will the devices that are being acquired be blocked someday? When it was developed in 2019, it was in a state that could be acquired in full.

I would also like to ask if there is an alternative way to get your phone number.

Thank you.

The PhoneNumber is available in the ServiceSubscription property. Be aware that a device can have more than one phone number.

https://developer.apple.com/documentation/devicemanagement/deviceinformationresponse/queryresponses-data.dictionary/servicesubscriptionproperty

Not all devices know their own phone numbers. This varies by carrier and region.

When did the phonenumber item among the information that can be obtained by the command 'DeviceInformation Command.command.Queries' stop?
 
 
Q