Microsoft Announces New OneDrive CLI for Windows, Coming in March 2027
Microsoft is developing a new OneDrive command-line tool for Windows that will allow IT administrators to manage accounts, check sync status, and troubleshoot issues without opening the OneDrive interface.
According to Microsoft 365 roadmap entry 578910, the new tool, called odcli, is expected to become generally available in March 2027.
New OneDrive CLI will help administrators troubleshoot sync issues
The upcoming command-line interface will give administrators direct access to OneDrive diagnostic and configuration information.
Administrators will be able to check sync status, view configured accounts, inspect folder backup settings, and identify applied policies. The tool will also provide information about OneDrive client health and installed versions.
Microsoft previously demonstrated a similar OneDrive Sync CLI using the odsync command.
The new tool will support multiple OneDrive accounts, allowing administrators to filter results by account and access verbose diagnostic information when troubleshooting problems.
OneDrive CLI will support automation and AI agents
Microsoft is also adding JSON output support, making it easier for IT teams to integrate OneDrive diagnostics into PowerShell scripts and other management tools.
This will allow administrators to automate checks for sync errors, account configurations, and client health across managed Windows devices.
Microsoft has also identified AI agents as a potential use case. These systems could use structured commands to retrieve OneDrive information and automate troubleshooting tasks.
Microsoft plans to release OneDrive CLI in March 2027
Microsoft currently lists the OneDrive CLI as in development, with general availability scheduled for March 2027.
However, the roadmap date remains an estimate, and Microsoft could change the release schedule before launch.
The announcement follows other changes to Microsoft’s cloud services. The company recently announced plans to retire Office 365 A1 and remove 100 TB of free storage for schools.
Microsoft is also removing PC-to-PC migration in favor of OneDrive in Windows 11, further emphasizing its cloud storage service.
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
User forum
0 messages