check onedrive sync status

Andy Doe
Andy Doe used Ask the Experts™
Hi everyone.

just started at a new job at an MSP and as part of my role we are checking if users have auto-save turned on in onedrive so the desktop, documents and other important folders are synced

currently this is a long drawn out process as it takes a long time to call each user connect to their machine etc etc.

is there some way we can automate this task so we could get connected to say one machine and run a powershell script to probe each PC on the network some customers have a domain some do not

basically we need to find out

is auto-save enabled
is it working
when was the last sync.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018
As you should know by now, there are two onedrives.

Onedrive for business (ofB) and Onedrive

They talked about Status, but I tried to import the module, and it doesn't' work
so probably it should be recompiled and then used on your computer.


Another approach would be to create an app registration, and try
but It not worth the pain.

If it's just Onedrive for business:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial