How to get ios device capacity using MDM profiling

Based on this document from apple

I am trying to fetch mobile identifier by running provisioning profile on the device.
Here, I am able to get these identifiers: -
But this Identifier i.e. DeviceCapacity is not getting fetch.

Please find below is my code:
Code snippet:
Paste your code snippet by highlighting the code area
Code Block language

<?xml version="1.0" encoding="UTF-8"?> PayloadContent URL{0} DeviceAttributes UDID IMEI ICCID VERSION PRODUCT SERIAL MEID DEVICECAPACITY
<string>Profile Service</string>
<string>This temporary profile will be used to extract your current device's identifiers.</string>
<string>Profile Service</string>

Below is is the code for installing provisioning profile on ios device

Code Block language
var contentDisposition = new System.Net.Mime.ContentDisposition
//FileName = “device-info.mobileconfig”,
FileName = “device-information.mobileconfig”,
Inline = false
var path = Configuration.MobileConfigPath;
logger.LogMessage(“MobileConfigPath” + path, FileLogger.MessageType.Info);
string mobileConfigPlist = System.IO.File.ReadAllText(path);
if (isHeadless)
udi = string.Format("{0}-hls-{1}-{2}-{3}-{4}-{5}-{6}", udi, storeId, StoreType, EnterpriseID,Session[“TechName”],Session[“Capacity”],Session[“Model”]);
var plistWithUdiUrl = mobileConfigPlist.Replace("{0}", udi);
var bytes = getSignedContent(plistWithUdiUrl);
logger.LogMessage(“Signed Content Bytes”, FileLogger.MessageType.Info);
Response.AppendHeader(“Content-Disposition”, contentDisposition.ToString());
Response.AppendHeader(“Cache-Control”, “public, no-store, max-age=0”);
return File(bytes, “application/x-apple-aspen-config”);

As kind of help / suggestion are welcomed

@anilverma087 Do you still have issues with this?