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.