Hi Julian,
I checked both things you asked, and they were both ok - the user I'm
using is an Administrator, and the provisioning API is active.
However, I found that I wasn't writing the domain name right...
So I changed that and thought that that will solve the problem, but it
didn't.
Now instead of getting an "Invalid Credentials" exception, I get the
following exception:
"Execution of request failed:
https://www.google.com/a/feeds/mail.clickit.ort.org.il/user/2.0
".
I couldn't find any info on dealing with this error, could you please
help me?
Thank you,
Lea
On Feb 20, 3:07 pm, "Julian (Google)" <[EMAIL PROTECTED]> wrote:
> Hi Lea,
>
> Could you check if the user you are using is an Admistrator and you
> have the Provisioning API active?
>
> This can be done at the Control Panel > User Accounts > Settings >
> Enable provisioning API.
>
> The AppsService constructor should take care of the authentication.
>
> Julian.
>
> On Feb 19, 9:33 am, leac <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > We have a Google Apps Education edition, and I would like to use the
> > provisioning API in order to create a new user. I'm using the .NET
> > library.
>
> > This is the code I'm writing:
>
> > AppsService service = new AppsService("mail.clickit.org.il",
> > "[EMAIL PROTECTED]", "myPaswd");
> > userEntry = service.CreateUser("blabla", "Bla", "Bla",
> > "albalb");
>
> > And I get an "Invalid Credentials" exception.
> > 1) I'm running from localhost - is that a problem?
> > 2) Am I supposed to create an authentication before I run these
> > commands?
>
> > Thank you,
> > Lea
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---