From 9b672d94be09835465dc05ed762ff7b564fa9d8e Mon Sep 17 00:00:00 2001 From: Tyler Gill Date: Tue, 10 Apr 2018 10:57:21 -0600 Subject: [PATCH 1/3] Add note pointing out that the MS Groups backend requires admin permissions to use. --- docs/05-storage-providers.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/05-storage-providers.md b/docs/05-storage-providers.md index ecb4343..d88d607 100644 --- a/docs/05-storage-providers.md +++ b/docs/05-storage-providers.md @@ -457,6 +457,10 @@ The username used to connect to the server. This may also be supplied as the env ## Microsoft Office 365 Group (Microsoft Graph API) +***** +> ![](icon_important.png) Using this backend requires the [`Groups.ReadWrite.All` permission scope](https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions) in the Microsoft Graph APIs. These permissions require [admin consent](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#admin-restricted-scopes) to enable. +***** + This backend can store backups in the document library associated with a Microsoft Office 365 Group, using the following URL format: `msgroup://folder/subfolder` From 2b89e62b00c51175a69279f57638e2fc0febaf1a Mon Sep 17 00:00:00 2001 From: Tyler Gill Date: Tue, 10 Apr 2018 12:19:23 -0600 Subject: [PATCH 2/3] Fix typo in permission name. --- docs/05-storage-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05-storage-providers.md b/docs/05-storage-providers.md index d88d607..6c0b912 100644 --- a/docs/05-storage-providers.md +++ b/docs/05-storage-providers.md @@ -458,7 +458,7 @@ The username used to connect to the server. This may also be supplied as the env ## Microsoft Office 365 Group (Microsoft Graph API) ***** -> ![](icon_important.png) Using this backend requires the [`Groups.ReadWrite.All` permission scope](https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions) in the Microsoft Graph APIs. These permissions require [admin consent](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#admin-restricted-scopes) to enable. +> ![](icon_important.png) Using this backend requires the [`Group.ReadWrite.All` permission scope](https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions) in the Microsoft Graph APIs. These permissions require [admin consent](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#admin-restricted-scopes) to enable. ***** This backend can store backups in the document library associated with a Microsoft Office 365 Group, using the following URL format: From 25163f2b1e89ef81912df32c83e4b46973a2e89f Mon Sep 17 00:00:00 2001 From: Tyler Gill Date: Fri, 13 Apr 2018 10:32:27 -0600 Subject: [PATCH 3/3] Add message about required 'Group.Read.All' scope to MS Group backend. --- docs/05-storage-providers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/05-storage-providers.md b/docs/05-storage-providers.md index 6c0b912..b90bedf 100644 --- a/docs/05-storage-providers.md +++ b/docs/05-storage-providers.md @@ -458,7 +458,8 @@ The username used to connect to the server. This may also be supplied as the env ## Microsoft Office 365 Group (Microsoft Graph API) ***** -> ![](icon_important.png) Using this backend requires the [`Group.ReadWrite.All` permission scope](https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions) in the Microsoft Graph APIs. These permissions require [admin consent](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#admin-restricted-scopes) to enable. +> ![](icon_important.png) Specifying the group's email address when using this backend requires the [`Group.Read.All` permission scope](https://developer.microsoft.com/en-us/graph/docs/concepts/permissions_reference#group-permissions) in the Microsoft Graph APIs. These permissions require [admin consent](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-scopes#admin-restricted-scopes) to enable. +You can use this backend without this permission by using an AuthID generated for the `SharePoint v2` backend and passing the `--group-id` instead of `--group-email`. You can lookup the group ID by using the [Microsoft Graph Explorer](https://developer.microsoft.com/en-us/graph/graph-explorer). ***** This backend can store backups in the document library associated with a Microsoft Office 365 Group, using the following URL format: