nicolas18
Contributor
Contributor

credential XML for enrolment with adb command

Hello,

i would like to use this command to pass credentials in HUB.

adb shell am broadcast -a com.airwatch.agent.action.IMPORT_CREDENTIAL_XML -e file /sdcard/credentials.bin --user 0

it works well with the credentials.bin but I would like to do it with an xml.  I guess its possible given the name of the command.

Someone knows the format of this xml?  

thanks

Labels (1)
DanielDS85
Contributor
Contributor

Did you find anything about your question?
I'm in same case, I wanted to know because it could be useful if I can add the extra "useUEMAuthentication".
For the moment I have no choice, I must enroll legacy using old hub 20.03, because this version use UEM Authentication by default.

Reply
0 Kudos
nicolas18
Contributor
Contributor

Hello, no sadly. we enter credential manually for these cases. or generate QRcode to fill Hub textfields. 

I didn't find the full automation I was looking for

Reply
0 Kudos
DanielDS85
Contributor
Contributor

thanks for your answer and good idea to fill fields with QRcode.

I tried to reverse engineer the credentials.bin but no success

Reply
0 Kudos