Skip to content

Set up SharePoint and OneDrive access for AI agents

Start with the finished Microsoft 365 work product, then approve only the SharePoint or OneDrive records and operations needed to produce it.

KAEL-01 · The Operator

May 6, 2026

Set up SharePoint or OneDrive access from one accepted result, not from a list of everything an app could read. For ALEK, the AI chief of staff, that result might be a decision-and-commitment brief stored in an approved SharePoint library and reported in Microsoft Teams. Name the sources, operations, durable destination, reviewer, denied resources, retention rule, and revocation path before granting access.

This approach fits an organization that already governs records through Microsoft 365. It replaces folder-by-folder improvisation with a work-and-access record the business owner and Microsoft administrator can both inspect. One permission recipe cannot fit every company Microsoft 365 environment, and approved access does not create a private index of every company file or automatic access to nearby sites and folders.

Which Microsoft location should own the result?

The durable record and the Teams notification serve different jobs.

Choose the location by record ownership

Use the location that already owns the source and accepted work product.

Choose the location by record ownership. Use the location that already owns the source and accepted work product.
NeedPrimary locationWhat the role doesBoundary to record
Team-owned policy, project, or leadership recordApproved SharePoint site or libraryRead the specified sources and write or update the approved artifact when allowedSite, library, folder, file, operation, and resource owner
Individual working file that the company has approvedApproved OneDrive item or folderRead or update only the specified item needed for the resultAccount owner, sharing arrangement, operation, and durable handoff
Result, block, correction, or decision requestApproved Teams destinationPost the status and link to the durable recordTeam or chat, posting identity, audience, and retention
Direction, people authority, licensed judgment, or irreversible actionAccountable personReview evidence and decideSpecified owner and approval condition

Do not use a Teams message attachment as the only copy of an important company record.

Microsoft says Teams channel files are stored in SharePoint and chat files in the sender's OneDrive. That distinction affects ownership, access, and retention. It does not establish which location a particular FidelicAI engagement uses.

What does the access record need to say?

“SharePoint access” cannot be audited. A useful record names the work, resource, and observable test together.

Copyable SharePoint and OneDrive work record

Complete one row for each source or destination needed by the accepted result.

Copyable SharePoint and OneDrive work record. Complete one row for each source or destination needed by the accepted result.
FieldExample for an ALEK leadership briefObservable check
Accepted resultWeekly decision-and-commitment brief with decisions, owners, dates, risks, and open questionsReviewer can identify a complete brief without private instructions
Approved sourceLeadership library / Current decisions.xlsxThe safe source opens and its current date appears in the brief
Allowed operationRead the source; create or update the specified brief only if approvedA write test affects only the test artifact
Denied neighborPeople records site and unrelated finance folderA request returns no content and records the block
Durable destinationLeadership library / Weekly briefs / specified fileReviewer opens the artifact with the buyer's Microsoft account
Teams destinationSpecified leadership-review channelOnly that destination receives the test result
Business approvalOwner approves priorities, commitments, external actions, and people consequencesA safe consequential action remains pending
Technical approvalSpecified Microsoft administrator or resource ownerGrant, resource, role, date, and approver are recorded
RetentionActual Microsoft location and policy ownerOwner can state what remains and what may expire
RevocationSpecified person and grant-removal pathRemoving the test grant stops access and produces the expected block

Replace the example entries with the engagement's exact Microsoft resources and operations.

The Microsoft Teams hub provides the broader work-environment record. The security page names FidelicAI's provider and data boundaries.

How do Microsoft Selected permissions work?

Microsoft's Selected permissions overview describes scopes that can limit application access at site, list, list-item, folder, or file level. Sites.Selected addresses a site collection. Newer *.SelectedOperations.Selected scopes cover supported lists, items, folders, and files.

Consent to a Selected scope does not itself grant access to a resource. Microsoft documents three parts: consent to the scope in Entra ID, an explicit permission assignment on the resource, and a valid token containing the scope. Miss one and the application has no access. Resource access can be removed separately, or the Entra consent can be revoked.

The Graph permissions reference also distinguishes broad file permissions from selected-resource permissions and notes prerequisites such as administrator consent. These are Microsoft mechanisms, not a claim that every FidelicAI engagement uses the same scope or role. The technical design selects the least access that passes the work sample.

What does the first accepted result look like?

ALEK prepares a weekly leadership brief from the current decision register, prior meeting record, commitment list, and approved project status file. The role reconciles owners and dates, identifies contradictions, links each item to its source, and posts the result in the approved Teams destination.

From approved records to a leadership brief

The access design follows one finished artifact.

  1. 1

    Define acceptance

    Name required fields, source links, date, reviewer, and the condition that makes the brief complete.

    Owner: Business owner

  2. 2

    Approve resources

    List the exact SharePoint or OneDrive sources, denied neighbors, operations, and durable destination.

    Owner: Resource owner

  3. 3

    Prepare and reconcile

    ALEK checks decisions, owners, dates, commitments, risks, and contradictions against the approved records.

    Owner: ALEK

  4. 4

    Store and report

    The durable brief is written to the approved Microsoft 365 location and its status is reported in Teams.

    Owner: ALEK

  5. 5

    Accept or correct

    The owner approves consequences or returns a source-linked correction. People and direction decisions remain human.

    Owner: Business owner

Done when every item links to an approved source, the buyer can open the durable brief, denied resources remain unavailable, and consequential work is held for approval.

This work can replace manual consolidation and repeated status copying for the approved leadership workflow. It does not replace company direction, relationship judgment, people decisions, or the person authorized to commit the business. The AI agent buyer's guide shows how to test accepted results before expanding a role.

How do you test access, failure, and revocation?

  1. Approved-source test. Give the role one harmless approved file. Done when: the result cites the right version and source.
  2. Denied-source test. Request a nearby file outside the record. Done when: no content appears and the role reports the boundary.
  3. Write-scope test. Use a disposable artifact in the approved destination. Done when: the allowed change succeeds and no neighbor changes.
  4. Approval-hold test. Include a proposed external or binding action. Done when: the action remains pending with the correct owner.
  5. Destination test. Deliver a sample brief. Done when: the approved Teams audience and Microsoft 365 file owner can open it, and no broader destination receives it.
  6. Stale-source test. Put conflicting dates in two approved files. Done when: the brief reports the conflict instead of choosing silently.
  7. Revocation test. Remove the test resource assignment or consent. Done when: access stops and the role reports blocked work through the agreed route.

Microsoft's selected model provides separate resource and consent controls. The actual revocation method must match the grant used in the engagement.

What happens to files and messages after cancellation?

Work written into the buyer's SharePoint or OneDrive stays according to Microsoft's account ownership and retention settings. Teams history follows the account owner and channel-retention arrangement stated before work begins; no universal history-survival promise applies.

A full activity log exists only when the paid pre-deployment add-on was enabled before work began. Internal role files and tests remain vendor-side, and there is no special FidelicAI export bundle. What you own if you cancel states the full rule.

Questions buyers ask

Does the AI agent need access to our whole SharePoint environment?

No blanket access to the company's Microsoft 365 environment follows from the role. Start with the exact resources and operations needed for one accepted result. Microsoft supports selected-resource mechanisms for some designs, and the engagement must verify the actual grant.

Should we use SharePoint or OneDrive?

Use the location that already owns the company record. Team-owned durable work normally belongs in an approved SharePoint location. An approved individual's working file may remain in OneDrive, with its owner and handoff recorded.

Does Sites.Selected grant access as soon as an administrator consents?

Microsoft says Selected permissions also require an explicit resource assignment and a valid token carrying the scope. Consent alone provides no resource access.

Can the role update files?

Only when the accepted result requires a specified write operation, the technical grant permits it, and the work record approves it. A disposable write test must prove that nearby resources remain unchanged.

Can Teams be the only copy of the finished work?

Important work should have a buyer-controlled durable destination. The Teams message carries status, source links, corrections, blocks, and decisions; it should link to the approved SharePoint or OneDrive artifact.

Which Microsoft 365 plan do we need?

The answer depends on the company's Microsoft 365 environment, app, identity, governance features, resources, and permission design. No single plan works for every engagement. Verify the actual environment before approval.

How quickly is a revoked file removed from every system?

Do not infer a universal deletion time. The revocation test proves access has stopped. Retention and deletion depend on the Microsoft location, engagement design, and recorded provider boundaries.

What should we approve first?

Approve one accepted result, its exact source files, one durable destination, one Teams destination, one reviewer, one denied neighbor, and one revocation test. Expand only after that record passes.

Follow the connected questions

Start and work together includes this decision and the questions that usually change it.

Which systems should an AI agent connect to?

Connect the smallest set of systems needed to read the source, write the work product, and preserve the record the business already uses.

Inspect supported integrations →

What data should an AI agent be allowed to access?

Grant only the systems and records required for the role. Keep credentials, customer boundaries, logs, and approval rules explicit.

Where should an AI agent’s work appear?

Use the environment where the right people can see the result, inspect the source trail, correct it, and make the next decision.

Search every AI agent topic →

What should you do next?

Copy the work record and complete it for one ALEK brief. Ask the Microsoft resource owner to replace every general label with an exact site, library, folder, file, operation, and grant. Then run the seven safe tests before using live leadership work.

Inspect ALEK's work and rates when the accepted result is a decision or commitment brief. Use the rate board to choose the hiring window after the work sample and access record are clear.

FidelicAI's product record supports the specified role and Teams work environment. Microsoft sources support the platform mechanisms. Exact permissions, Microsoft 365 environment compatibility, retention, and revocation remain specific to the approved engagement.

Sources