base functionallity for OneDrive