system
March 26, 2013, 11:22pm
1
(imported topic written by riml)
Hi,
I have created an profile to configure an Exchange Account. Here, the login id for Active directory is not the first part of the e-mail. So during the enrollment, we have created a custom question that will get the login id. So my question is how can we set this login id variable in the Exchange profile?
best regards
riml
system
March 27, 2013, 9:48pm
2
(imported comment written by DTan)
You can use the “enrollment answers” inspectors to fill that in automatically.
See documentation here:
https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/Apple%20iOS%20Inspectors
Assuming you have created a custom question with the id of “email”, you can put something similar to below in the “user” or “email” fields respectively when you are creating the iOS Exchange ActiveSync Configuration Profile on the “iOS Profile Configuration” Dashboard.
{preceding text of first “@” of value of enrollment answer “email”}
or
{value of enrollment answer “email”}
Note: This will not work if you have the profile Encryption on, and below wiki page will provide explanation.
https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/iOS%20Configuration%20Profile%20for%20Exchange%20ActiveSync
system
March 27, 2013, 10:11pm
3
(imported comment written by riml)
Hi DTan,
I have the following code in my fixlet:
UserName
Domain{Value of “CPF”}
Where CPF is my custom inspector. When I apply the fixlet, I get an error. I also tried with {Value of enrollment “CPF”} but I get the same error. Can you help?
best regards
riml
system
March 27, 2013, 10:25pm
4
(imported comment written by DTan)
On the dashboard, I have:
“mycompany” for the domain field
“{value of enrollment answer “email”}” for the email
“{preceding text of first “@” of value of enrollment answer “email”}” for the user field.
and I got the following xml in the action script:
EmailAddress
{value of enrollment answer “email”}
UserName
mycompany{preceding text of first “@” of value of enrollment answer “email”}
If the id for your enrollment answer is “CPF”, you can just simply replace the “email” with “CPF”.
In addition, you are likely getting a relevance substitution because Value of “CPF” is not a known inspector.
system
March 27, 2013, 10:26pm
5
(imported comment written by DTan)
I meant “relevance substitution error” in the previous post.
system
March 27, 2013, 10:34pm
6
(imported comment written by riml)
Hi Dtan,
I have tried that but I always get an error. The only difference from you example is I am using the inspector CPF for the UserName:
UserName
{value of enrollment answer “CPF”}
Is there any log file I can check to see the error?
Best Regards
Riml
system
March 27, 2013, 10:37pm
7
system
March 27, 2013, 10:44pm
8
(imported comment written by riml)
Hi Dtan,
I am getting an error like “Singular Expression refers to nonexistent object.”.
Below is my custom question:
Question: Qual o CPF?
Identifier: CPF
Type: Text
The device I am trying was registered already filling the custom question.
Best Regards
Riml
system
March 27, 2013, 10:49pm
9
(imported comment written by DTan)
Hi Riml,
Can you check your device report on the extender machine at below path or similar, and provide the “enrollment answers” and the “enrollment answer” portion of the json file?
C:\Program Files (x86)\BigFix Enterprise\Management Extender\Plugins\Apple iOS 1\DeviceReports\
-Dawson
system
March 27, 2013, 10:57pm
10
(imported comment written by riml)
Hi Dtan,
In the report file for the device, I can see the follow:
“enrollment answers”: [
{
“id”: “CPF”,
“value”: “782873878373”
}
],
“enrollment answer”: {
| “CPF”: “782873878373”
},
best regards
riml
system
March 27, 2013, 11:18pm
11
(imported comment written by DTan)
For a quick sanity check, can you create a retrieved property for the iOS devices with below relevance?
(id of it, value of it) of enrollment answers
Here are the steps to create the property:
Console Menu -> Tools -> Manage Properties
Click “Add new” button on the upper-right
Put “Enrollment Answer Sanity Check” in the name field, and paste in above into the relevance field.
Click OK
Here are the steps to view the retrieved property (There are many other ways). Make sure the device has checked in after you created the property.
Go to MDM Domain
Mobile Device Inventory -> Apple MDM
Select the device that you tested with
Click on the summary tab on the lower-right pane.
Scroll down to the property (Under the “Custom Properties” Section) that you just created
Please provide the values for above property.
-Dawson
system
March 27, 2013, 11:32pm
12
(imported comment written by riml)
Hi Dawson,
After following your instructions, in the Enrollment Answer Sanity Check field, I can see: CPF, 83738388383
It is the right information. Isn’t it a parser problem? I am running TEM 9.0.
Best Regards
Riml
system
March 28, 2013, 12:04am
13
(imported comment written by DTan)
For TEM 9.0, you need to update your Proxy Agent with Fixlet 191 if you have not done so yet.
From what you’ve provided so far, it seems that you are doing it right.
Once your Proxy Agent is up to date, can you restart the proxy agent service (by the name of “BES Proxy Agent”), and try again to see whether you can reproduce the same error?
system
March 28, 2013, 12:25am
14
(imported comment written by riml)
Hi Dtan,
I have ran the 191 before because we had problems with the proxy plugin connection. The fix was already applied.
best regards
Riml
system
March 28, 2013, 12:39am
15
(imported comment written by DTan)
Hi Riml,
As an alternative to the above relevance (recommended by another developer), can you try below relevance in your Exchange profile?
value of enrollment answers whose (id of it = “CPF”)
Thanks,
-Dawson
system
March 28, 2013, 3:46pm
16
(imported comment written by riml)
Hi Dawson,
It Worked! But Its very strange that the other commands didn’t work. Thanks a lot for your assitance!!!
Best Regards
Riml
system
March 28, 2013, 9:25pm
17
(imported comment written by DTan)
Hi Riml,
Thanks for working with us. I have filed a bug to track down the potential problematic inspector.
-Dawson