Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
10-21-2013 09:09 AM
I am getting 401 error when I run the sample program. How can I troubleshoot this problem. The user is a BES -enabled AD user and I have assigned Enteripse Administrator to this user. Any insights?
Solved! Go to Solution.
10-21-2013 09:44 AM
The likely cause is using the wrong authenticator. Make sure you are using the AD authenticator when creating your EncocedUsername, using the BAS authenticator will not validate properly and return a 401.
10-21-2013 11:04 PM
I have tried the AD authenticator but no luck. Is it the user name Domain\User?
Here is the encoded name encodedUsername = "15,0,1,3,1,0;Domain\\BESAdmin11110". Is it normal?
10-23-2013 07:51 AM
That looks correct. Are you sure this is an AD user? When you log in to the BAS portal using this user do you specify the domain? Can you perform the same actions through the BAS with this user account as you are trying to perform via BWS?
10-23-2013 08:08 AM
When you log in to the BAS portal using this user do you specify the domain?
Can you perform the same actions through the BAS with this user account as you are trying to perform via BWS?
- Yes. I get the error when calling getUsers. The account is able to manage users in BAS.
10-23-2013 08:15 AM
Can you successfully call the BWS#echo() command? This will help let us know if the account is properly authenticated, the command should be executable by any user that is properly authenticated regardless of BAS permissions.