OneDrive
Owlie syncs Microsoft 365 users, OneDrive drives, files, folders, and observed sharing through Microsoft Graph. It supports Microsoft 365 account lifecycle and four explicit file-sharing or account-detail actions. File access Grants are read-only.
Capabilities
| Capability | Support |
|---|---|
| Sync | Users, drives, drive items, user-sharing observations, and drive containment. |
| Incremental sync | Drive-item changes through Microsoft Graph delta. |
| Account provisioning | Create, update, enable, disable, and delete Microsoft 365 users. |
| Grant writes | No. Both existing Grant kinds are read-only. |
| Custom operations | Create Sharing Link, Grant Drive Item Access, Revoke Drive Item Permission, and Get Connected Account Details. |
Authentication
| Option | Choose it when |
|---|---|
| OAuth 2.0 | A signed-in Microsoft work or school user should authorize delegated access to their OneDrive and allowed Graph resources. |
| Client Credentials | A customer-owned Microsoft Entra application should use app-only access to a configured user's drives. |
Register an application in the Microsoft Entra admin center and record its tenant ID, client ID, and client secret. Add the Owlie redirect URL for OAuth. Grant Microsoft Graph permissions for the operations you use and any required admin consent. Client Credentials uses Graph .default. Configure Target User ID or UPN for user-scoped drive operations because app-only tokens cannot call /me. Default Drive ID can select a drive for item delta scans and item operations.
User account writes require the Graph permissions for each lifecycle operation and a supported Microsoft 365 tenant. Guest onboarding uses Microsoft's separate invitation API, which this connector does not implement. Drive and item reads require file-read permission, and explicit sharing actions require file-write permission and access to the selected item. Check the Graph permission tables for the operation and auth option you use.
OAuth defaults to offline_access, User.Read.All, and Files.Read.All for
sync. Select User.ReadWrite.All for account creation and general updates or
Files.ReadWrite.All for explicit sharing, then reauthorize. Enabling or disabling
an account requires User.EnableDisableAccount.All with User.Read.All and a
sufficiently privileged actor. Setting a user's password (a password change) requires
User-PasswordProfile.ReadWrite.All, which the picker offers but does not request by default, and a
directory role: Microsoft's Update user
reference requires at least User Administrator for the application (even for a user who isn't an
administrator), or a signed-in User Administrator, or Privileged Authentication Administrator for an
administrator's password, for delegated access. Scope the role to an
administrative unit
that holds only the users Owlie manages to limit what the app can reset. Owlie hasn't verified these
requirements against a live tenant, so try a password change on a test account first. OneDrive,
Microsoft Teams and Microsoft Entra ID write the same user, so link only one of them to a person's password.
For Client Credentials, add the corresponding application permissions to the app
registration and grant consent. The delegated picker does not configure .default.
Entities and Grants
| Entity | In OneDrive or Microsoft 365 | Sync | Create | Update | Delete | Grants (as target) |
|---|---|---|---|---|---|---|
| User | Microsoft Entra user | Yes | Yes | Yes | Yes | No |
| Drive | OneDrive or document-library drive | Yes | No | No | No | No |
| Drive Item | File or folder | Yes | No | No | No | No |
user_drive_item_access describes observed user access to a drive item. Graph returns effective permissions, and a caller who does not own the item may see only permissions applying to themselves. One permission can cover several recipients. OneDrive for Business omits the inheritedFrom field. A missing observation does not prove absence, so Owlie does not add or remove this Grant automatically. drive_contains_item describes where an item belongs. It is not an access grant.
Drive-item delta scans cover one selected drive. The final Graph delta link is saved for later incremental sync, and deleted items are reported through Graph's deleted facet. These scans do not inventory all drives in a tenant.
Explicit file actions
Create Sharing Link creates a view or edit link. OneDrive Personal also supports embed links and link passwords, while organization-scoped links apply to OneDrive for Business. Link visibility also depends on your Microsoft sharing policy.
Setting retainInheritedPermissions to false when first sharing an item can remove existing inherited permissions. Leave it enabled unless you intend that access change.
Grant Drive Item Access invites one email recipient with read or write access. Revoke Drive Item Permission removes one native permission ID. That ID may cover several recipients. Check the item and permission before using it. Get Connected Account Details returns the delegated user or the configured target user for app-only auth. These actions are not managed Grant writes.
Microsoft Graph cannot invite a new guest to an item with app-only access, but an
existing guest can receive an app-only item invitation.
Changelog
OneDrive remains at connector version 1. Owlie displays its changelog in the integration catalog.