René's URL Explorer Experiment


Title: Sometimes missing single or multiple Contacts when fetching a Folder of Contacts · Issue #2678 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: Sometimes missing single or multiple Contacts when fetching a Folder of Contacts · Issue #2678 · microsoftgraph/msgraph-sdk-java

X Title: Sometimes missing single or multiple Contacts when fetching a Folder of Contacts · Issue #2678 · microsoftgraph/msgraph-sdk-java

Description: I have written a Module, that should import the Exchange Contacts from Office365 directly in the PBX's addressbook. This has been working for a long time. But from time to time i get a report about a missing contact, that exists in the O...

Open Graph Description: I have written a Module, that should import the Exchange Contacts from Office365 directly in the PBX's addressbook. This has been working for a long time. But from time to time i get a report about...

X Description: I have written a Module, that should import the Exchange Contacts from Office365 directly in the PBX's addressbook. This has been working for a long time. But from time to time i get a report a...

Mail addresses
email@example.com
e.mail@example.com

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sometimes missing single or multiple Contacts when fetching a Folder of Contacts","articleBody":"I have written a Module, that should import the Exchange Contacts from Office365 directly in the PBX's addressbook.\n\nThis has been working for a long time.\nBut from time to time i get a report about a missing contact, that exists in the Office365 Contact folder.\n\nWhat i do exactly:\n\nI use the MS Graph to fetch the Contacts, and dump them into a .csv file, before importing it into the pbx.\nThose missing contacts don't show in the .CSV dump, which means that the contacts wasn't fetched or wasn't written due to some odd reason. \n\nBut if i check the Office365, the contact is there.\n\n- If i trigger the script to fetch all contacts again, the contact still doesn't show up in my csv\n- If i copy the original, missing contact, and trigger the script, the copy shows up in the .csv if i delete the copy the original still won't show up in the .csv if i trigger it again.\n- If i update the existing contact by for example adding \"Test\" to their name, and save, and trigger the script, the contact shows up in the .csv\n\nI use the following code to fetch the contacts:\n\n```\nO365Provider O365P = new O365Provider(TenantID, ClientID, ClientSecret, Scopes, log); //Wrapper for the GraphServiceClient with my custom logger\nGraphServiceClient GSC =  O365P.getGSC();\n\nUser U = GSC.users().byUserId(UserIDorUPN).get();\n\nInteger Amount = GSC.users().byUserId(U.getId()).contacts().count().get();\nlog.debug(\"Amount in Folder: \" + Amount);\n\nList\u003cContact> Contacts = new ArrayList\u003cContact>();\n\nContactCollectionResponse Request= GSC.users().byUserId(U.getId()).contacts().get(requestConfiguration -> {\nrequestConfiguration.queryParameters.top = 100; //Pagination of 100\n});\n\n// This Code is based on the MS example: https://learn.microsoft.com/en-us/graph/sdks/paging?tabs=java\nPageIterator\u003cContact, ContactCollectionResponse> pageIterator = new PageIterator.Builder\u003cContact, ContactCollectionResponse>()\n\t\t\t\t\t\t.client(GSC)\n\t\t\t\t\t\t.collectionPage(Request)\n\t\t\t\t\t\t.collectionPageFactory(ContactCollectionResponse::createFromDiscriminatorValue)\n\t\t\t\t\t\t.requestConfigurator( requestInfo -> {\n\t\t\t\t\t\t\trequestInfo.addQueryParameter(\"%24top\", 100);\n\t\t\t\t\t\t\treturn requestInfo;\n\t\t\t\t\t\t})\n\t\t\t\t        .processPageItemCallback( contact -> {\n\t\t\t\t        \tContacts.add(contact);\n\t\t\t\t           return true;\n\t\t\t\t        }).build();\n\t\t\t\tpageIterator.iterate();\nlog.debug(\"Fetched: \" + Contacts.size() +\" Contacts\");\n```\n\nNow the thing is, most of the time these contacts aren't new, most of them have been existing for a while in the office365 contacts, or even have been migrated there from old exchange servers. In one case i had a newly created contact show the exact issue for a customer.\n\nI cannot pinpoint the source of this issue.\nI might have tought the pagination might be wrong, but i created a Test folder with 2'133 Contacts, and all of them have been dumped to the .csv successfully using this code.\n\n> [2026-10-09T13:43:57,859] [DEBUG] [] [] [O365 Connector MSGraph] Scopes: [https://graph.microsoft.com/.default] \n> [2026-10-09T13:43:57,859] [DEBUG] [] [] [O365 Connector MSGraph] Setting Up Provider... \n> [2026-10-09T13:43:57,859] [DEBUG] [] [] [O365 Connector MSGraph] Looking for: [email@example.com]\n> [2026-10-09T13:43:58,098] [DEBUG] [] [] [O365 Connector MSGraph] [e.mail@example.com] found! \n> [2026-10-09T13:43:58,189] [DEBUG] [] [] [O365 Connector MSGraph] Amount in Folder: 2133 \n> [2026-10-09T13:43:59,791] [DEBUG] [] [] [O365 Connector MSGraph] Fetched: 2133 Contacts \n> [2026-10-09T13:43:59,838] [DEBUG] [] [] [O365 Connector MSGraph] Writing: 2133 Contacts to File: [/path/to/csv.csv] \n> [2026-10-09T13:43:59,838] [DEBUG] [] [] [O365 Connector MSGraph] Writing Header \n> [2026-10-09T13:43:59,858] [DEBUG] [] [] [O365 Connector MSGraph] Done Writing \n\nI'm at a loss how to go about this, and can't find anything useful about this isuse.\n\nAny ideas how to go about this?\n\n//edit: I think it's actually close or the same issue as this: https://stackoverflow.com/questions/70374893/loading-all-contacts-using-the-microsoft-graph-api-sometimes-looses-skips-pages\n\nSincerely\nFabian95qw","author":{"url":"https://github.com/Fabian95qw","@type":"Person","name":"Fabian95qw"},"datePublished":"2026-10-09T11:49:59Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d406af25-7b3a-e16c-da22-161a91b042a7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD5B2:2511F8:A9E3D:E8924:6AF6BACD
html-safe-nonce9ee48117d0521590e5c427ae5e9ff59accc328ead5c368d35d5f49218b84da3f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUIyOjI1MTFGODpBOUUzRDpFODkyNDo2QUY2QkFDRCIsInZpc2l0b3JfaWQiOiIzMzgzOTU2NTE3OTgxMjExNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2865833ee36bbd4b7627318d61d815447727ffb392628c956ed43e34091addc8
hovercard-subject-tagissue:5777609419
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/2678/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fc430990ca4e9f23010d987b38ac0a04a89f71fdf1be11fbbf77f14265980b94/microsoftgraph/msgraph-sdk-java/issues/2678
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fc430990ca4e9f23010d987b38ac0a04a89f71fdf1be11fbbf77f14265980b94/microsoftgraph/msgraph-sdk-java/issues/2678
og:image:altI have written a Module, that should import the Exchange Contacts from Office365 directly in the PBX's addressbook. This has been working for a long time. But from time to time i get a report about...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFabian95qw
hostnamegithub.com
expected-hostnamegithub.com
None8dfae1499400ee498ab0f86538d1c034e6c1b4f51c63ecade775c3b0894e3379
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseee168845eb2be91203b179104ac9977fe4ea69a3
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2678#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2678
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F2678
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Codehttps://github.com/microsoftgraph/msgraph-sdk-java
Issues107 (107)https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests23 (23)https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java/pulse
https://github.com/microsoftgraph/msgraph-sdk-java
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
Sometimes missing single or multiple Contacts when fetching a Folder of Contactshttps://github.com/microsoftgraph/msgraph-sdk-java/issues/2678#top
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
https://github.com/Fabian95qw
Fabian95qwhttps://github.com/Fabian95qw
on Oct 9, 2026https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678#issue-5777609419
https://stackoverflow.com/questions/70374893/loading-all-contacts-using-the-microsoft-graph-api-sometimes-looses-skips-pageshttps://stackoverflow.com/questions/70374893/loading-all-contacts-using-the-microsoft-graph-api-sometimes-looses-skips-pages
Fabian95qwhttps://github.com/Fabian95qw
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
on Oct 9, 2026https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678#event-32871770543
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/2678
status:waiting-for-triageAn issue that is yet to be reviewed or assignedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22status%3Awaiting-for-triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.