Register an app so Chordalia products can access files in your OneDrive.
Microsoft doesn't let arbitrary desktop applications read your OneDrive directly. Instead, apps identify themselves to Microsoft using a Client ID — a unique identifier created when you register an "app" in Azure Active Directory (now rebranded as Microsoft Entra ID, but everyone still says Azure AD).
When a Chordalia product needs OneDrive access, it opens a browser where you sign in to your Microsoft account and approve the request ("This app wants to read your OneDrive files — allow?"). Microsoft remembers your approval and sends the product a token it can use to fetch files.
The Client ID doesn't grant any access on its own. It just tells Microsoft which app is asking when you sign in. The actual permissions are granted (or denied) by you, one user at a time.
Nothing. Azure AD app registrations are a free identity feature; they don't consume any of your Azure OpenAI, AI Search, or free-trial credit.
You need a personal Microsoft account (an
@outlook.com, @hotmail.com, or
@live.com address, or any address you've attached to
a Microsoft account) with OneDrive enabled.
You do not need an active Azure subscription for this — app registrations are a free Microsoft Identity service and don't touch Azure billing. (If you happened to create an Azure account following the Azure Account Setup guide, that works fine too.)
Go to entra.microsoft.com → and sign in with your personal Microsoft account.
In the left sidebar, expand Applications and click App registrations.
At the top of the App registrations page, click + New registration.
Arion Document Search or
Chordalia OneDrive. You'll see this name on
consent prompts when the product connects later.Click Register. Azure AD creates the app and drops you on its overview page.
Chordalia desktop apps are "public" clients (they can't keep a secret since the app runs on your computer). Public-client flows are off by default, so you need to switch them on.
An app that asks for no permissions can't read anything. Here you tell Microsoft what categories of data the app is allowed to request when a user signs in.
User.Read already listed under
Microsoft Graph — that's added by default. Keep it.Files.Read and tick
the box next to it. This lets the app read files in the user's
OneDrive.offline_access. Tick that too. This lets the app
get refresh tokens so you don't have to sign in every time.Your permissions list should now contain three entries under Microsoft Graph:
User.ReadFiles.Readoffline_accessGo back to the app's Overview page (top of the left sidebar). You'll see two IDs near the top of the page:
2e2d805c-a543-4482-b7fe-1753879a7149.
This is what you need. Click the copy icon
next to it.Open Settings → Cloud Sources → enable OneDrive. Paste:
/ (whole OneDrive) or a specific folder like /DocumentsClick Authorize with Microsoft… — a dialog shows a short code and URL. Open the URL in your browser, sign in, enter the code, and approve the access request. Arion stores the resulting refresh token in an encrypted file and uses it silently for future syncs.
Then Tools → Sync Cloud Sources to index your OneDrive files for the first time.
You added the wrong kind of permission. Go back to API
permissions and check that Files.Read and
offline_access are listed under Delegated
permissions, not Application permissions.
You didn't enable Allow public client flows. Go back to Authentication → Advanced settings and toggle it to Yes.
You picked the wrong account type when registering. Open the
app → Manifest, find
"signInAudience", and change its value to
"PersonalMicrosoftAccount". Save. (Alternatively,
delete the registration and create a new one with the correct
Supported account types.)
You're signing in with a work or school account where the admin has locked down personal app usage. You'll need to either get admin consent for this app in your organisation, or sign in with a personal Microsoft account instead.
In the Chordalia product, open Settings, clear the OneDrive section, and click Authorize with Microsoft… again. Microsoft will present a fresh consent prompt. On Microsoft's side you can see (and revoke) granted consents at account.microsoft.com/privacy/app-access →
On the app's Overview page, click Delete at the top. The Client ID stops working immediately, which will also revoke any Chordalia product sessions that were using it.