Make sure that the operator profile that you used has the Guest / View Passwords privilege:
Operators with the View Passwords privilege may display the passwords for guest accounts
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Jan 21, 2022 07:33 AM
From: Danny van der Aa
Subject: Clearpass: Not able to retreive Guest Device password via Email
I have entered this request and had a blinking light above my head :).
API Operator didn't have enough permissions. Give him the Super Administrator permissions solved the issue.
------------------------------
Danny van der Aa
Original Message:
Sent: Jan 21, 2022 07:30 AM
From: Danny van der Aa
Subject: Clearpass: Not able to retreive Guest Device password via Email
I am adding a Guest Device (for MPSK) via the API of Clearpass (https://<clearpass_url>/device, also password is added via this call.
After that i am performing another call to send the information to the user (https://clearpass_url>/guest/{guest_id}/sendreceipt/smtp
I receive an email about that the device is added but the password is not in the email.
When i am going to the Guest Module of Clearpass (GUI), and go to the recently added device, and send an email from there, then i receive an email with the password.
Does someone know how to do this via the API?
------------------------------
Danny van der Aa
------------------------------