if you're doing a hard reset, then yes, remove the sd card, not because it might be affected by the hard reset but because it might be one of the reasons you wish to do a hard reset. So remove it, do the hard reset, update core apps and when finished syncing and all, then add back the sd card
Hard reset does nothing to onedrive since this is in the cloud.