3.1.5.2 Provision Command Errors
The following table specifies the actions a client SHOULD take based upon the value of the Status element that is a child of the Provision element. Status codes greater than 100 are not supported by all protocol versions. For more details, see [MS-ASCMD] section 2.2.2.
Code |
Meaning |
Cause |
Resolution |
---|---|---|---|
1 |
Success. |
The Policies element contains information about security policies. |
Apply the applicable policy. |
2 |
Protocol error. |
Syntax error in the Provision command request. |
Fix syntax in the request and resubmit. |
3 |
An error occurred on the server. |
Server misconfiguration, temporary system issue, or bad item. This is frequently a transient condition. |
Retry. |
139 |
The client cannot fully comply with all requirements of the policy. |
The client returned a value of 2 in the Status child element of the Policy element in a request to the server to acknowledge a policy.<2> The server is configured to not allow clients that cannot fully apply the policy. |
Server administrator intervention is required. |
141 |
The device is not provisionable. |
The client did not submit a policy key value in a request. The server is configured to not allow clients that do not submit a policy key value. |
Include a policy key value in the X-MS-PolicyKey header ([MS-ASHTTP] section 2.2.1.1.2.8) or the Policy key field of the Base64 Encoded Query Value ([MS-ASHTTP] section 2.2.1.1.1.1). |
145 |
The client is externally managed. |
The client returned a value of 4 in the Status child element of the Policy element in a request to the server to acknowledge a policy. The server is configured to not allow externally managed clients. |
The client can issue a new Provision request and apply the policy, overwriting any external provisioning. If this is not possible, server administrator intervention is required. |
The following table specifies the actions a client SHOULD take based upon the value of the Status element that is a child of the Policy element. For details about the Status element as a child of the Policy element, see section 2.2.2.54.1.
Code |
Meaning |
Cause |
Resolution |
---|---|---|---|
1 |
Success. |
The requested policy data is included in the response. |
Apply the policy. |
2 |
Policy not defined. |
No policy of the requested type is defined on the server. |
Stop sending policy information. No policy is implemented. |
3 |
The policy type is unknown. |
The client sent a policy that the server does not recognize. |
Issue a request with the PolicyType element set as specified in section 2.2.2.43. |
4 |
Policy data is corrupt. |
The policy data on the server is corrupt. |
Server administrator intervention is required. |
5 |
Policy key mismatch. |
The client is trying to acknowledge an out-of-date or invalid policy. |
Issue a new Provision request to obtain a valid policy key. |