How AI assistants sign in to Fabric, and how you stay in control

AI assistants such as Claude Code, Claude Desktop and claude.ai can now look things up in Fabric's products for you: an LR in LR Document Check, a facility in Locations, a user in Identity. They do it through small connectors called MCP servers. MCP is short for Model Context Protocol, the standard way to give an assistant tools.

This page explains, in plain terms, how an assistant gets permission to act for you, why that permission keeps expiring, how longer jobs keep going anyway, and how you take the permission back.

The short version

What happens when you connect an assistant

  1. You add a Fabric connector to the assistant, for example the LR Document Check one, using its web address.
  2. The first time it tries to use the connector, Fabric answers "sign in first, and here is where". The assistant opens Fabric's normal sign-in page in your browser.
  3. You sign in as you always do, with your password, one-time code, passkey or company login. That happens on Fabric's page, not in the assistant.
  4. Fabric hands the assistant two things:
    • an access token, a pass that proves "this is you" and works for a few minutes;
    • a refresh token, which lets the assistant ask Fabric for a fresh access token when the old one expires, without bothering you.
  5. Each time the assistant uses a tool, Fabric checks the pass. It then calls the product as you, so the product's own rules decide what comes back. If you can't see something in the product, the assistant can't either. The product's records show that you asked, through an assistant.

One more safeguard: the connector itself never holds your pass. Fabric swaps it, on each call, for a narrower one that only works for the one product being asked. A connector for LR Document Check can't use your pass anywhere else.

Why the passes are so short-lived

An access token is like a day ticket that anyone holding it can use. If one leaks, through a log file, a misbehaving tool or a stolen laptop, the damage is limited by how long it stays valid. So Fabric keeps access tokens short, about 5 minutes by default, and makes the assistant renew them often.

Every renewal is a fresh check. Fabric asks: is this person still enabled? Is their sign-in session still open? Have they revoked this assistant? If the answer to any of them is no, the renewal is refused and the assistant stops.

How long-running work keeps going

Short passes don't mean short jobs. An assistant working through a long task simply renews its pass in the background, every few minutes, for as long as your sign-in session lasts.

Your sign-in session has two limits, which your company's Fabric administrator sets:

A working session therefore covers most interactive work: an hour-long investigation, or an assistant helping you through the day. When the session ends, the assistant asks you to sign in again.

Assistants that run for days or weeks

Some agents are meant to keep working long after you've walked away: a nightly check, a weekly report, a job that watches for a condition. Asking you to sign in every day defeats the purpose, but handing out a permanent key is risky. The usual answer across the industry, and the one we're adopting, has four parts.

Status: today, Fabric's assistant connectors only support working sessions as described above. This section is how longer-lived access will work once it's switched on; we'll update this page when it is.

  1. You approve it once, on purpose. When an agent asks to keep working while you're away, Fabric shows a consent screen: which app is asking, what it wants to do, and the line "Stay signed in when you're away (offline access)". Nothing long-lived is issued unless you approve that screen.
  2. It gets a long-lived refresh token that is tightly watched, not a permanent key.
    • It's replaced on every use. Each renewal hands back a new refresh token and retires the old one. If an old one is ever used again, which means a copy leaked, Fabric cancels the whole chain and the agent has to be approved again.
    • It expires if it's not used. An agent that goes quiet for a long stretch (for example 30 days) loses its access by itself.
    • It has an outer limit. Even a busy agent must be re-approved after a set period, for example a few months, so no grant lives forever.
    • It still checks on you every time. If you're disabled or leave the company, the next renewal fails, however long the token has left.
  3. It asks again only when it wants more. An agent approved to read uploads keeps working without new prompts. If it later wants to change something, or reach a product you haven't approved it for, Fabric shows the consent screen again for just the new part. What you already approved stays approved. This is often called incremental consent.
  4. You can see it and stop it. Every agent you've approved is listed on your account page, with what it can do and when you approved it (see below).

The key idea is that the refresh token lasts long, but it is never trusted blindly. Every renewal is a fresh decision.

How other companies do it

The big platforms all land in the same place: long-lived refresh tokens, guarded by rotation, idle expiry, revocation and a page where you can see and remove what you've approved. Nobody hands out a permanent key without those guards. The details below are as published at the time of writing and change over time.

Company How long access lasts How you take it back
Google Refresh tokens have no fixed end date. They stop working if unused for about six months, if you revoke them, or in some cases if you change your password. Apps still in testing get short ones. Your Google Account, under third-party apps and services
Microsoft (Entra ID) Refresh tokens last about 90 days and renew as they're used, so an active app keeps working. Browser-only apps get about a day. The My Apps or account page, or an administrator ends all sessions
GitHub Access tokens for GitHub Apps last about 8 hours. The refresh token lasts about 6 months and is replaced on each use. Settings, then Applications, then authorized apps
Salesforce The administrator chooses per app: valid until revoked, expires after a set time, or expires when unused. The user's or administrator's connected-apps page
Okta, Auth0 and similar Refresh tokens are replaced on each use, with reuse detection, an idle limit and an absolute limit, all set by the administrator. Account settings, or the administrator's session controls

The MCP standard itself follows the OAuth 2.1 security rules. One of those rules says that an app which can't keep a secret, such as a desktop or command-line assistant, must have its refresh token replaced on every use, or bound to its device.

How to cut an assistant off

You don't need to change your password, and you don't need to ask anyone. In Fabric, open your account page for your company:

If you think a device or an assistant has been compromised, sign out all other sessions and tell your Fabric administrator. An administrator can also end every session for a person, or turn off an assistant connector for the whole company.

Questions people ask

Can the assistant see more than I can? No. Every request runs as you, and each product applies its normal rules. An assistant that's refused gets the same "not allowed" that you would.

Does the assistant know my password? No. You sign in on Fabric's own page. The assistant only ever receives short-lived passes.

Why did my assistant suddenly ask me to sign in again? Your session reached its idle or maximum limit, you signed out somewhere, or your administrator ended your sessions. Signing in again picks up where it left off.

Does a long-running agent keep working if I leave the company? No. Every renewal checks that your account is still active. When your account is disabled, the agent stops at its next renewal.

Can an assistant act for someone else? No. It acts only for the person who signed it in, and only with that person's access.