Hi,
I am facing Problem while Exporting the User with Google MA I am using the MA provided at Codeplex
http://fim2010gapps.codeplex.com/
I have tried using both ECMA and ECMA2 for G apps provisioning but both the time I faced the issue of "Operation times out". After Doing lot of search I could not find any definite answer to my problem. To test the code I also created a console App which creates the users in Google Apps using AppService class available in Google Apps provisioning API's. Now when i try to run the this console app using my admin account the App successfully creates user in Google but When I try to run it through fim.sync account it fails and gives operation time out error. The same error which I started facing problem with. To perform a workaround to this issue I thought of calling the console process from within the MA and run it as admin. But somehow the fim Sync accounts only runs the application and my code is not getting applied.
Here is my code that i am using to run the console app as admin
Process process = new Process();
/process.StartInfo.FileName = \\the exe path
//process.StartInfo.UseShellExecute =true;
//process.StartInfo.CreateNoWindow = false;
//process.StartInfo.RedirectStandardInput = false;
//process.StartInfo.RedirectStandardOutput = false;
//process.StartInfo.Arguments = username + " " + firstname + " " + lastname + " " + password + "" + GoogleDomain + " " + AdminUsername + " " + AdminPwd;
//process.StartInfo.Verb = "runas";
//process.Start();
I have tried running this code from within Export entry method of the google MA but unfortunately it did no good. also I have tried to run the exe forcefull as admin by attaching the Manifest file. But it did no good to me.
Here is the error that I get when fim.sync accounts runs the code which creates users in Google Apps
The following information was included with the event:Google.GData.Client.InvalidCredentialsException: Invalid credentials
at Google.GData.Client.Utilities.QueryClientLoginToken(GDataCredentials gc, String serviceName, String applicationName, Boolean fUseKeepAlive, IWebProxy proxyServer, Uri clientLoginHandler)
at Google.GData.Client.GDataGAuthRequest.QueryAuthToken(GDataCredentials gc)
at Google.GData.Client.GDataGAuthRequest.EnsureCredentials()
at Google.GData.Client.GDataRequest.EnsureWebRequest()
at Google.GData.Client.GDataGAuthRequest.EnsureWebRequest()
at Google.GData.Client.GDataGAuthRequest.CopyRequestData()
at Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter)
at Google.GData.Client.GDataGAuthRequest.Execute()
at Google.GData.Client.Service.EntrySend(Uri feedUri, AtomBase baseEntry, GDataRequestType type, AsyncSendData data)
at Google.GData.Client.Service.Insert(Uri feedUri, AtomEntry newEntry, AsyncSendData data)
at Google.GData.Client.Service.Insert[TEntry](Uri feedUri, TEntry entry)
at Google.GData.Apps.UserService.Insert(Uri feedUri, UserEntry entry)
at Google.GData.Apps.AppsService.CreateUser(String username, String givenName, String familyName, String password)
at GoogleProvisioningConsoleApp.Program.Main(String[] args) in c:\Users\accessadmin\Documents\Visual Studio 2012\Projects\GoogleProvisioningConsoleApp\GoogleProvisioningConsoleApp\Program.cs:line 49
the message resource is present but the message is not found in the string/message table
Any guidance or Idea would be greatly appreciated.
Thanks