Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Web Services

Reply
Contributor
laeeq
Posts: 17
Registered: ‎02-11-2009
My Device: Not Specified

Re: findMailStoreUsers cant find new users

Hi,

 

Thanks again "Garett " for clarification.

 

I know about the BAS and BAS relationship, was just confused bcoz  u mentioned BAS in your reply.

 

Now its clear.

 

 

Regards,
Laeeq Qazi
Team Lead (Exchange+BES) www.HostingController.com

Contributor
RPS2
Posts: 11
Registered: ‎12-19-2010
My Device: BlackBerry 9000

Re: findMailStoreUsers cant find new users

Has a MailStore Refresh been added to the BES at this time?

Contributor
RPS2
Posts: 11
Registered: ‎12-19-2010
My Device: BlackBerry 9000

Re: findMailStoreUsers cant find new users

I found that when I tried to add a user after deleting the user with the 

disableBlackBerryUserAndDeleteUser

Command.  I found my user data in three tables yet the error message returned was that Email address [email address from prompt] not found in mail store. Could there be an issue with the error message?

 

Retired
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: findMailStoreUsers cant find new users

I haven't been able to reproduce this issue, after deleting the user with the disableBlackBerryUserAndDeleteUser call they are always added back to the BES without error.

 

Do you experience this same issue after deleting the user from the BAS console (deleting their mailstore data) then trying to re-create that same user? Does this happen for every user? What version of BES and could you post the full exact error message?

 

Thanks,

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
RPS2
Posts: 11
Registered: ‎12-19-2010
My Device: BlackBerry 9000

Re: findMailStoreUsers cant find new users

The reason I got the error message is that the MailStoreUserSearchCriteria.isNewUserOnly was set to true.  This meant that when the mail store search came back with an existing email address the error message would occur and the error message came from the code example.

New Member
mstempl
Posts: 1
Registered: ‎10-31-2013
My Device: Developer

Re: findMailStoreUsers cant find new users

Hi Garrett,

 

My issue is exactly the same: I need to create a BES user as soon as the user received an Exchange mailbox but that fails. 

 

As I understand it the BAA is deprecated and the new BWS should be used instead. But I can't find a similar method there. How can I solve that issue?

 

Is there a way to force the update of the cache instead?

 

Thanks in advance!

Martin