Some files are stored on onedrive which does not allow the creation of links. Maybe we should implement this: https://github.com/OneDrive/onedrive-sdk-python