Hi,
A question regarding data plan settings displayed for a mobile broadband profile in netsh. First I've provisioned a mobile broadband profile with a plan type 'Fixed', and set a 1000 MB data limit for it, this shows as expected in netsh:
Cost settings
-------------
Cost : Fixed
Congested : No
Approaching Data Limit : No
Over Data Limit : No
Roaming : No
Cost Source : Operator
Plan settings
-------------
Data Limit in Megabytes : 1000
Billing Cycle StartDate : 6th July 2015 0:00:00
Billing Cycle Duration :
Number of months : 1
Billing Cycle Reset : No
After reprovisioning the profile with changed plan setting changing the cost type to Unrestricted, the netsh still shows the previously set data limit:
Cost settings
-------------
Cost : Unrestricted
Congested : No
Approaching Data Limit : No
Over Data Limit : No
Roaming : No
Cost Source : Operator
Plan settings
-------------
Data Limit in Megabytes : 1000
Billing Cycle StartDate : 10th July 2015 0:00:00
Billing Cycle Duration :
Number of months : 1
Billing Cycle Reset : No
Why is that, shouldn't the limit be removed after changing the cost type? I can't see if the limit being visible in netsh affects anything, but it's rather confusing at least.
The data plan provisioning is done using the Windows.Networking.NetworkOperators.ProvisioningAgent class and the relevant XML snippets of the provisioning document look as follows:
<Plans>
<Plan xmlns="http://www.microsoft.com/networking/CarrierControl/Plans/v1" Name="Test data plan">
<Description PlanType="Fixed">
<BillingCycle StartDate="2015-07-05T21:00:00.000Z" Duration="P1MT0M" Resets="false"/>
<DataLimitInMegabytes>1000</DataLimitInMegabytes>
...
</Description>
</Plan>
</Plans>
And for the latter, unrestricted plan:
<Plans>
<Plan xmlns="http://www.microsoft.com/networking/CarrierControl/Plans/v1" Name="Test data plan">
<Description PlanType="Unrestricted">
<BillingCycle StartDate="2015-07-09T21:00:00.000Z" Duration="P1MT0M" Resets="false"/>
...
</Description>
</Plan>
</Plans>
- Edited by tsido 20 hours 31 minutes ago Fixed formatting


