Title: fix(microsoft-excel): decide SharePoint site discovery consent model · Issue #7197 · simstudioai/sim · GitHub
Open Graph Title: fix(microsoft-excel): decide SharePoint site discovery consent model · Issue #7197 · simstudioai/sim
X Title: fix(microsoft-excel): decide SharePoint site discovery consent model · Issue #7197 · simstudioai/sim
Description: Summary Microsoft Excel credentials can now be recognized by the SharePoint site selector, but the existing Excel OAuth consent does not authorize Microsoft Graph site search. Graph site search requires Sites.Read.All. Sim’s Excel connec...
Open Graph Description: Summary Microsoft Excel credentials can now be recognized by the SharePoint site selector, but the existing Excel OAuth consent does not authorize Microsoft Graph site search. Graph site search req...
X Description: Summary Microsoft Excel credentials can now be recognized by the SharePoint site selector, but the existing Excel OAuth consent does not authorize Microsoft Graph site search. Graph site search req...
Opengraph URL: https://github.com/simstudioai/sim/issues/7197
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fix(microsoft-excel): decide SharePoint site discovery consent model","articleBody":"## Summary\n\nMicrosoft Excel credentials can now be recognized by the SharePoint site selector, but the existing Excel OAuth consent does not authorize Microsoft Graph site search.\n\nGraph site search requires `Sites.Read.All`. Sim’s Excel connection currently requests file permissions only, so an ordinary existing Excel credential should be expected to receive a `403`. The endpoint also does not support delegated personal Microsoft accounts.\n\nThis is a pre-existing consent-model limitation, not a selector transport or credential-binding bug.\n\n## Decision needed\n\nChoose and implement one supported model:\n\n1. Add `Sites.Read.All` to the standard Excel consent and require existing users to reconnect/reconsent.\n2. Add conditional or incremental consent when SharePoint site discovery is requested.\n3. Require a separate SharePoint credential for site discovery and narrow the Excel selector compatibility accordingly.\n\nThe decision should account for least privilege, reconnect UX, existing credentials, and personal-account behavior.\n\n## Acceptance criteria\n\n- The supported Excel/SharePoint credential model is documented.\n- OAuth scopes, reconnect/reconsent behavior, and selector credential binding agree.\n- Unsupported credentials receive a clear product-level error.\n- Focused permission/binding tests and live work-or-school tenant validation are added.\n- Existing Excel file operations continue to work.\n\n## Reference\n\nMicrosoft Graph site search requires `Sites.Read.All` and does not support delegated personal Microsoft accounts:\n\nhttps://learn.microsoft.com/en-us/graph/api/site-search?tabs=http&view=graph-rest-1.0\n","author":{"url":"https://github.com/BillLeoutsakosvl346","@type":"Person","name":"BillLeoutsakosvl346"},"datePublished":"2026-08-28T03:51:03Z","url":"https://github.com/simstudioai/sim/issues/7197"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29ba45d5-6fe9-afc7-cb78-1132c4f242c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C794:1EFDE9:2E35D6:40675C:6AFB3387 |
| html-safe-nonce | a399e91abcb359dddff9c35554a7670f9de5241859c710f920d85f86a2e31f6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzk0OjFFRkRFOToyRTM1RDY6NDA2NzVDOjZBRkIzMzg3IiwidmlzaXRvcl9pZCI6IjE1MzI0Mjk0ODk2MDA2NzI2NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a7185b3a9e72a4e61dcf6b478f2d6a4f650373916fe1e8fb2001a0b4faebd1fe |
| hovercard-subject-tag | issue:5274519400 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/7197/issue_layout |
| twitter:image | https://opengraph.githubassets.com/676aef4f9416848508b3cb68fa3bee4ef102b157c8ea0b3f6710091325c2446e/simstudioai/sim/issues/7197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/676aef4f9416848508b3cb68fa3bee4ef102b157c8ea0b3f6710091325c2446e/simstudioai/sim/issues/7197 |
| og:image:alt | Summary Microsoft Excel credentials can now be recognized by the SharePoint site selector, but the existing Excel OAuth consent does not authorize Microsoft Graph site search. Graph site search req... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BillLeoutsakosvl346 |
| hostname | github.com |
| expected-hostname | github.com |
| None | efe184de15c1d8c1107a340cfc27bf7187b458dc07687ee1fa51f035148fb3d1 |
| turbo-cache-control | no-preview |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f567cf3af46b50a3211fb5dab569a9d6a7b58025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width