--- title: DeviceInstanceService CSP description: Learn how the DeviceInstanceService configuration service provider (CSP) provides some device inventory information that could be useful for an enterprise. ms.assetid: f113b6bb-6ce1-45ad-b725-1b6610721e2d ms.reviewer: manager: dansimp ms.author: dansimp ms.topic: article ms.prod: w10 ms.technology: windows author: manikadhiman ms.date: 06/26/2017 --- # DeviceInstanceService CSP The DeviceInstanceService configuration service provider provides some device inventory information that could be useful for an enterprise. Additionally, this CSP supports querying two different phone numbers in the case of dual SIM. The URIs for SIM 1 and SIM 2 are ./Vendor/MSFT/DeviceInstanceService/Identity/Identity1 and ./Vendor/MSFT/DeviceInstanceService/Identity/Identity2 respectively. > **Note**   Stop using DeviceInstanceService CSP and use the updated [DeviceStatus CSP](devicestatus-csp.md) instead. The DeviceInstance CSP is only supported in Windows 10 Mobile. The following diagram shows the DeviceInstanceService configuration service provider in tree format. ![provisioning\-csp\-deviceinstanceservice.](images/provisioning-csp-deviceinstanceservice.png) **Roaming** A boolean value that specifies the roaming status of the device. In dual SIM mode when the device supports two different phone numbers, querying SIM 1 explicitly with ./Vendor/MSFT/DeviceInstanceService/Identify1/Roaming is functionally equivalent to using ./Vendor/MSFT/DeviceInstanceService/Roaming. Supported operation is **Get**. Returns **True** if the device is roaming; otherwise **False**. **PhoneNumber** A string that represents the phone number of the device. In case of dual SIM mode when the device supports two different phone numbers, querying SIM 1 explicitly with ./Vendor/MSFT/DeviceInstanceService/Identify1/PhoneNumber is functionally equivalent to using ./Vendor/MSFT/DeviceInstanceService/PhoneNumber. Value type is chr. Supported operation is **Get**. **IMEI** A string the represents the International Mobile Station Equipment Identity (IMEI) of the device. In case of dual SIM mode when the device supports two different phone numbers, querying SIM 1 explicitly with ./Vendor/MSFT/DeviceInstanceService/Identify1/IMEI is functionally equivalent to using ./Vendor/MSFT/DeviceInstanceService/IMEI. Value type is chr. Supported operation is **Get**. **IMSI** A string that represents the first six digits of device IMSI number (Mobile Country/region Code, Mobile Network Code) of the device. In case of dual SIM mode when the device supports two different phone numbers, querying SIM 1 explicitly with ./Vendor/MSFT/DeviceInstanceService/Identify1/IMSI is functionally equivalent to using ./Vendor/MSFT/DeviceInstanceService/IMSI. Value type is chr. Supported operation is **Get**. **Identity** The parent node to group per SIM specific information in case of dual SIM mode. **Identity1** The parent node to group SIM1 specific information in case of dual SIM mode. **Identity2** The parent node to group SIM2 specific information in case of dual SIM mode. ## Examples The following sample shows how to query roaming status and phone number on the device. ```xml 2 ./Vendor/MSFT/DeviceInstanceService/Roaming ./Vendor/MSFT/DeviceInstanceService/PhoneNumber ``` Response from the phone. ```xml 3 1 2 ./Vendor/MSFT/DeviceInstanceService/Roaming bool false ./Vendor/MSFT/DeviceInstanceService/PhoneNumber +14254458055 ``` ## Related topics [Configuration service provider reference](configuration-service-provider-reference.md)