Monitor free disk space of Microsoft OneDrive?


I would like to monitor the free disk space of my personal Microsoft OneDrive.
I already searched a lot, but didn’t find a check plugin or similar.
Does anyone monitor his OneDrive or does someone have an idea how to do it (without writing an own plugin)?

Thanks, Alex

onedrive access requires you to create an azure app to get an appid and a client secret.
then you can connect to via graph api to the onedrive storage and check the quota.

{‘deleted’: 0, ‘remaining’: 5359645283, ‘state’: ‘normal’, ‘total’: 5368709120, ‘used’: 9063837, ‘storagePlanInformation’: {‘upgradeAvailable’: True}}