Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8937

Re: enrollment incomplete on automated enrollment policy

$
0
0

Have you tried your code by merging the changes above into your code?

 

 

AfariaServicePolicy.PolicyInfo _newPolicyandroid = newAfariaServicePolicy.PolicyInfo();

should become:

AfariaServicePolicy.PolicyInfo _newPolicyandroid = svc1.GetPolicyInfo(state_android);



and



AfariaServicePolicy.EnrollmentPolicySettingsAndroid_enrollSettandroid = newAfariaServicePolicy.EnrollmentPolicySettingsAndroid(state_android);

should become:

AfariaServicePolicy.EnrollmentPolicySettingsAndroid_enrollSettandroid = (EnrollmentPolicySettingsAndroid)svc1.EnrollmentGetPolicySettings(state_android);

 

 

For the application policy, it is also likely that you have to get the policy settings by calling:

AfariaServicePolicy.AppIndirectlyHostedPolicySettingsAndroidV002 _appInd = svc1.ApplicationGetPolicySettingsV002(policystate);

instead of calling:

AfariaServicePolicy.AppIndirectlyHostedPolicySettingsAndroidV002 _appInd =newAppIndirectlyHostedPolicySettingsAndroidV002();



and


AfariaServicePolicy.PolicyInfo _newPolicyApp = newAfariaServicePolicy.PolicyInfo();

instead of:

AfariaServicePolicy.PolicyInfo _newPolicyApp = svc1.GetPolicyInfo(policystate)



Viewing all articles
Browse latest Browse all 8937

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>