Hello, Thanks for the details! The Profiles API should indeed return the same number of entires as the Provisioning API since every user should have an associated profile. Since it is working with the provisioning API, have you tried retrieving the single profiles with which you are having issues?
If you know the usernames that are not returned by the Profiles API, please try sending a GET request to an URL that looks like: https://www.google.com/m8/feeds/profiles/domain/<DOMAIN>/full/<USERNAME> If this fails, it should come with a more detailed error message than not having the profile returned when trying to retrieve the entire list of profiles. Best, Alain On Thu, Oct 20, 2011 at 9:50 AM, Marcelo Iturbe <[email protected]>wrote: > > Just to clarify, these are 6 individual google apps domains (not add-on > domains). > > Our role is to sincronize the GALs between them and enrich the users > information using the profile API. > > What seems to be the issue is that for some domains, the number of profiles > retrieved is less than the number of accounts. Which should not be the case. > > Regards > > | Marcelo Iturbe | Managing Partner | Tigabytes Chile | Google Enterprise > Partner | > | T: 562 946 0600 | www.tigabytes.com | > | We just do Google | > > > > > On 18 October 2011 12:26, Alain Vongsouvanh <[email protected]> wrote: > >> Hello, >> >> I am sorry but I'm not sure I understand your issue. You have Google Apps >> domain configured with 6 domains and your application wants to retrieve User >> Profiles for all domains, is that correct? >> As I understand, you run your application on each domain and print the >> number of Profiles retrieved from domain A to domain F (which is more than 6 >> domains). >> >> What is the expected result and what do you get instead? Is the issue >> coming from domain F which sometimes return 173 Profiles, and sometimes 337? >> Do you have issues with domains A through G? >> >> Thanks! >> Alain >> >> On Mon, Oct 17, 2011 at 9:10 PM, fabouru <[email protected]> wrote: >> >>> Dear, >>> >>> I'm having problems with provisioning api, when I´m trying to obtain >>> all the users from a domain, the particularity of this domain is that >>> was configured as Multi Domains, in this case it supposed to be 6 >>> domains configured (I said "supposed" because we don't have access to >>> admin panel, the client is not one of ours in Gapps) >>> >>> When I call the get method >>> >>> https://www.google.com/m8/feeds/profiles/domain/" + domainURL + "/ >>> full" >>> + "?xoauth_requestor_id=" + domainAdmin >>> + "&start-index=" + startIndex >>> + "&max-results=" + maxResults >>> + "&v=3.0"; >>> >>> In the code, I have obtained: >>> >>> domain A => 339 user profiles >>> domain B => 76 >>> domain C => 1169 >>> domain D => 19 >>> domain E => 6352 >>> domain F => 57 >>> domain G => 37 >>> domain F => sometimes I've got 173 ... others 337 >>> >>> I do not know why this happens, we think that could be something about >>> "partially created account" >>> >>> I'm accessing this domain with one of our test domains to get the >>> contacts (if this is relevant), If is neccesary more info I can tell >>> in PM. >>> >>> This case Is very urgent to solve... regards! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html >>> >> >> >> >> -- >> Alain Vongsouvanh | Developer Programs Engineer >> > > -- Alain Vongsouvanh | Developer Programs Engineer -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
