diff --git a/disk/Onedrive.php b/disk/Onedrive.php index ab8ce45..6d56419 100644 --- a/disk/Onedrive.php +++ b/disk/Onedrive.php @@ -16,7 +16,7 @@ class Onedrive { } $this->oauth_url = 'https://login.microsoftonline.com/common/oauth2/v2.0/'; $this->api_url = 'https://graph.microsoft.com/v1.0'; - $this->scope = 'https://graph.microsoft.com/Files.ReadWrite.All offline_access'; + $this->scope = 'https://graph.microsoft.com/Files.ReadWrite.All https://graph.microsoft.com/Sites.ReadWrite.All offline_access'; $this->client_secret = urlencode($this->client_secret); $this->scope = urlencode($this->scope); $this->DownurlStrName = '@microsoft.graph.downloadUrl';