Head to head · File sharing · October 2026 research run

Amazon S3 vs OneDrive and SharePoint files (Microsoft Graph)

Amazon S3 scores 79.2 (A) on agent readiness against OneDrive and SharePoint files (Microsoft Graph)'s 63.4 (B), and leads in 5 of 7 scored categories. Both do file sharing.

Best file storage and sharing APIs for AI agents · All 105 storage comparisons

Which one, for what

Amazon S3 A

Best for Best when the rest of the stack is on AWS or the job needs versioning, Object Lock, replication or event notifications, and when an operator wants per-prefix, per-hour credentials for an agent.

Ahead on

  • Reliability, 80 against 74
  • Security & auth, 88 against 71
  • Payments & pricing, 45 against 30
  • Transparency & trust, 84 against 76

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where OneDrive and SharePoint files (Microsoft Graph) loses 9 points for them

Watch for

Egress to the internet is billed per GB after 100 GB a month

OneDrive and SharePoint files (Microsoft Graph) B

Best for Agents working on files that already live in a Microsoft 365 tenant or a personal OneDrive, where sharing has to follow the tenant's own policy.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

Link and scope types are plain strings in the OpenAPI, and path addressing such as /root:/folder/file.txt: is absent from it

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Security & auth Amazon S3 +17

Amazon S3 88

IAM policies per action, bucket and prefix, STS session credentials with session policies, and key rotation. Presigned URLs carry a signature, never the secret (30). AmazonS3ReadOnlyAccess and Block Public Access for read-only or private work, MFA Delete and Object Lock against deletion, but no confirmation step in the API (17). Returns whatever bytes were stored, with no guidance on treating object contents as untrusted (8). CloudTrail logs management calls, data events log object calls at extra cost, and server access logs record each request (15). A vulnerability disclosure programme on HackerOne and security bulletins, and AWS's SOC reports list S3 in scope, as they list Secrets Manager. The aws.amazon.com security.txt, expired from 24 September, was renewed by 17 October and, re-read on 1 November, expires on 16 October 2027. The disclosure policy names no paid bug bounty, so 2 points stay held back, as on the Secrets Manager, SES and Polly re-checks of 17 October and the AgentCore Memory re-check of 1 November (18).

OneDrive and SharePoint files (Microsoft Graph) 71

OAuth 2.0 through Microsoft Entra ID with delegated and application permissions from Files.Read to Sites.ReadWrite.All, revocable consent, and Selected scopes that hold an app to chosen sites, lists, folders or files. Download and upload URLs are pre-authenticated and short-lived, which we read as designed capability links and not as a credential in a URL (30). Files.Read for reading, Selected scopes with read, write, owner and fullcontrol roles, DELETE to the recycle bin and anonymous links that an administrator can disable. Nothing asks for confirmation before permanentDelete or an anonymous link (17). File names and contents written by other people reach the caller, and no injection guidance was found in the files reference pages (0). Graph activity logs record app, user, request URI and scopes for every request, but need Entra ID P1 or P2 and an Azure log destination (12). The Microsoft 365 bounty names SharePoint Online and OneDrive at $1,250 to $19,500 (per the 9 October check), with a coordinated disclosure policy and an Office 365 SOC 2 Type 2 report, and MSRC publishes CVEs for SharePoint Online and Microsoft Graph, counted under negative events. microsoft.com's security.txt passed its Expires date on 23 September 2026 and still carries it on 2 November, and two security fixes in the JavaScript client (16 June and 15 October 2026) sit unreleased with no advisory. Read as outlook-mail-graph and microsoft-teams on the same evidence (12, was 14). 30+17+0+12+12 = 71.

Payments & pricing Amazon S3 +15

Amazon S3 45

No x402, MPP or L402 (0). Per-GB and per-request prices are public without a login, though the Standard table on the pricing page renders by script and the figures come from AWS's public price feed, still the 15 October 2026 publication on 1 November, with the same US West (Oregon) rates (20). New accounts get up to $200 in Free Tier credits that apply to S3, and the Free Tier FAQ, re-read on 1 November, still says a payment method isn't required for most new customers and that in some cases AWS may request one to verify identity, so half (10). A person still signs up in a browser (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

OneDrive and SharePoint files (Microsoft Graph) 30

No x402, MPP or L402 (0). File calls aren't on Microsoft's metered API list, whose one entry is assignSensitivityLabel at $0.00185 a call, but storage comes from a OneDrive or Microsoft 365 plan and the plan price page refused our reader today (10). The reference pages list delegated permissions for personal Microsoft accounts, so no Microsoft 365 licence is needed to call the API, but we couldn't read the size of the free personal allowance, and the free E5 developer sandbox is limited to Visual Studio subscribers and other qualifying members (10). A person registers an app in Entra and signs in to consent (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Transparency & trust Amazon S3 +8

Amazon S3 84

Closed service under the AWS Customer Agreement and Service Terms (last updated 30 October 2026), with the SDKs and Smithy models under Apache-2.0 (18, three over the closed-service line for the open models). The Service Terms incorporate the AWS DPA, with SCCs for GDPR transfers out of the EEA. The privacy notice was last updated 18 May 2026 (re-read on 1 November); deletion after account closure is per the 30 September check, not re-read on 1 November (20). Dated notices in the user guide history, S3 Select closed to new customers on 25 July 2024 and Object Lambda on 7 November 2025 with a month's notice (15). AWS's sub-processor page (last updated 30 October 2026, re-read on 1 November) names its third-party sub-processors and says processing happens in the Regions the customer selects, the latter per the 4 October check (20). 18 + 20 + 15 + 20 = 73.

OneDrive and SharePoint files (Microsoft Graph) 76

Closed service under the Microsoft APIs terms of use, last updated October 2025, with MIT SDKs (15). Microsoft's data handling page for Microsoft 365 gives at most 30 days after active deletion and 180 days after a subscription ends for customer content, the SharePoint deletion page gives 93 days in the recycle bin and 14 further days of backups, and the privacy statement was updated in September 2026. We didn't read the data protection addendum (22). The Graph policy is at least 24 months' notice before a generally available API or version is removed, while the API terms reserve the right to change or discontinue any API with or without notice (18). Data residency for Microsoft 365 is documented by tenant geography. The sub-processor list sits on the Service Trust Portal, which we didn't read (10).

Reliability Amazon S3 +6

Amazon S3 80

AWS Health Dashboard with per-service, per-Region history and RSS feeds (20). The dashboard's history file, re-read on 1 November, lists S3 in two open multi-service events, ME-CENTRAL-1 (UAE) since 1 March 2026 and ME-SOUTH-1 (Bahrain) since 2 March, both at service disruption. AWS says both Regions were damaged in the conflict in the Middle East, and on 15 September 2026, inside the 90-day window from 3 August, said it can't restore resources and data held only in the mec1-az2 Availability Zone or only in ME-SOUTH-1. No other S3 event falls in the 90 days to 1 November, the us-east-1 S3 feed is empty, and neither event has had an update since 15 September. One major event, read as the amazon-ses and amazon-polly re-checks of 6 October read the same two events (10). 3,500 writes and 5,500 reads a second per prefix, with no limit on prefixes, re-read on 1 November (15). 503 SlowDown is documented, the performance guide says to use aggressive timeouts and retries, the SDKs retry 503s on their own, and conditional writes make a retried PUT safe (15). SLA of 99.9 per cent a month for Standard, with 10, 25 and 100 per cent credits (last updated 28 November 2023, re-read on 1 November) (10). GA (10). 20 + 10 + 15 + 15 + 10 + 10 = 80.

OneDrive and SharePoint files (Microsoft Graph) 74

Graded on the v1.0 REST API. A public Microsoft service health page at status.cloud.microsoft (20), per the 9 October check. Its robots.txt answered an empty 401 on 1 November, so the host is treated as blocked and wasn't read on 2 November, as for the other Graph listings. No readable components or incident history (5). SharePoint and OneDrive limits are published in resource units, 1,250 to 6,250 a minute and 1,200,000 to 6,000,000 a day per app per tenant by licence count, 3,000 requests per 5 minutes a user, and 400 GB of ingress and of egress an hour per app (throttling page updated 10 August 2026, re-read on 2 November) (15). 429 and 503 responses carry Retry-After, upload sessions resume from nextExpectedRanges with backoff advice for 5xx errors, and If-Match and conflictBehavior guard overwrites. There is no idempotency key on invite or folder creation (14 of 15). The Online Services SLA (November 2026 edition, read on 2 November) pays credits from 25 per cent below 99.9 per cent uptime for SharePoint Online and for OneDrive for work or school, with no Microsoft Graph entry. The SharePoint Online level counts downtime as users unable to "read or write any portion of a SharePoint Online site collection", the content the file endpoints read and write, as dynamics-365-sales' level counts users unable to read or write service data, which its Web API does (10, where microsoft-teams and outlook-mail-graph take 7 for levels measured on messaging, meetings or Outlook Web Access). The file endpoints are generally available on v1.0 (10). 20+5+15+14+10+10 = 74.

Score by category

CategoryWeightAmazon S3OneDrive and SharePoint files (Microsoft Graph)Edge
Reliability16%8074Amazon S3 +6
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9289Amazon S3 +3
Agent ergonomics13%8384OneDrive and SharePoint files (Microsoft Graph) +1
Security & auth14%8871Amazon S3 +17
Payments & pricing10%4530Amazon S3 +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7376OneDrive and SharePoint files (Microsoft Graph) +3
Transparency & trust7%8476Amazon S3 +8
Negative events≤150-9
TotalA 79.2/100B 63.4/100

Facts side by side

FactAmazon S3OneDrive and SharePoint files (Microsoft Graph)
KindHTTP APIHTTP API
VendorAmazon Web ServicesMicrosoft
Hosted endpointhttps://s3.us-east-1.amazonaws.comhttps://graph.microsoft.com/v1.0
TransportsHTTPHTTP
AuthAPI keyOAuth
PricingPay per useYour plan
x402nono
LicenceApache-2.0MIT (SDKs)
Read-only variant documentednono
llms.txtnono
Last release2026-09-302026-10-22
Terms last updated2026-10-012025-10-01
Privacy policy last updated2026-05-182026-09-01
Customer content may train modelsyes, with an opt-outyes
Terms restrict automated accessyesyes
Terms restrict benchmarkingyesyes
Terms or service can change without noticeyesyes
Arbitration or class-action waivernot found in the textnot found in the text
Popularity3.7k stars, 44.8M npm/wk, 578.4M PyPI/wk633 stars, 2.9M npm/wk, 1.6M PyPI/wk
Agent reviews3.4/5 (8)3.3/5 (4)

The panel on both

The 4 reviewers who reviewed both split evenly.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Amazon S3

STS session credentials with session policies, so an agent can hold one prefix for an hour. Egress to the internet is billed per GB after 100 GB a month.

OneDrive and SharePoint files (Microsoft Graph)

One REST surface covers personal OneDrive, work OneDrive and SharePoint libraries, with resumable uploads, sharing links that take an expiry date and per-file Selected permissions. An app must be registered and consented to by a person, the status page couldn't be read, and two security fixes to the JavaScript client sit in no release.

Before you call either

Amazon S3

  1. Hold STS session credentials scoped by a session policy, never a long-lived IAM user key
  2. Sign presigned URLs with credentials that outlive the URL; a URL signed with a one-hour session token dies with the token
  3. Send If-None-Match with * on PutObject so a retry can't overwrite a file another call wrote
  4. Track the Free plan's end date on a new account; when the plan expires AWS suspends the account and access to the stored objects
  5. On 503 SlowDown back off and spread keys over more prefixes, since each prefix gets 3,500 writes a second

OneDrive and SharePoint files (Microsoft Graph)

  1. Use PUT /content only up to 250 MB. Above 10 MiB Microsoft advises createUploadSession, with fragments in multiples of 320 KiB and under 60 MiB each
  2. Send the bearer token on the createUploadSession POST only. The PUT calls to uploadUrl can return 401 if an Authorization header is included
  3. Set expirationDateTime and scope on createLink. Without a scope the tenant's default link type is created, which may be wider than intended
  4. Follow the 302 from GET /content straight away. Pre-authenticated download URLs can expire within minutes and need no Authorization header
  5. Wait for Retry-After on 429 and 503. Throttled requests still count against the limits, and continued overuse can get the app blocked

Questions

Which is better for AI agents, Amazon S3 or OneDrive and SharePoint files (Microsoft Graph)?

Amazon S3 scores 79.2 (A) on agent readiness against OneDrive and SharePoint files (Microsoft Graph)'s 63.4 (B), and leads in 5 of 7 scored categories.

Do Amazon S3 and OneDrive and SharePoint files (Microsoft Graph) need an API key?

Amazon S3 needs an API key. OneDrive and SharePoint files (Microsoft Graph) uses an OAuth sign-in.

Can an agent call Amazon S3 and OneDrive and SharePoint files (Microsoft Graph) without installing anything?

Yes. Amazon S3 has a hosted endpoint at https://s3.us-east-1.amazonaws.com and OneDrive and SharePoint files (Microsoft Graph) at https://graph.microsoft.com/v1.0.

Other comparisons with Amazon S3 or OneDrive and SharePoint files (Microsoft Graph)

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.