The platform's standard library adds Microsoft OneDrive and SharePoint as callable services under the Ax.cloud.microsoft namespace. Both clients use the Microsoft Graph SDK, isolated behind a child classloader so Graph library dependencies cannot conflict with the platform's own classpath. Credential resolution follows the same three-step chain as the AWS clients: the platform credential store, a direct OAuth token, or the MSAL4J provider chain.
OneDrive
- File and folder operations. Upload, download, list, create, move, copy, and delete files and folders in personal and shared drives. Upload accepts a JDBC blob directly, avoiding filesystem staging.
- Delta queries. Poll for changes to a folder since a known state token, enabling synchronisation workflows that process only new or modified files.
SharePoint
- List and site access. Read and write items in SharePoint lists; retrieve site metadata and drive roots for document-library access.
- Document library operations. Upload and download documents using the same Graph drive-item API as OneDrive, so a single script can target either service by changing the drive root reference.
Both clients are subject to the platform's role model on the calling side: a script that does not hold Graph permissions cannot invoke these methods even if the underlying OAuth token is valid. The MSAL4J library is compiled against the compileOnly scope and loaded behind a child classloader, keeping it out of the main server classpath.