An open API service indexing awesome lists of open source software.

https://github.com/nikiforovall/sharepoint-cli

Proof of Concept of SharePoint CLI via Microsoft Graph
https://github.com/nikiforovall/sharepoint-cli

cli microsoft-graph microsoftgraph sharepoint

Last synced: about 1 year ago
JSON representation

Proof of Concept of SharePoint CLI via Microsoft Graph

Awesome Lists containing this project

README

          

# SharePointDemo CLI

```bash
$ dotnet run --
Required command was not provided.

Description:
SharePoint CLI

Usage:
SharePointDemo [command] [options]

Options:
--version Show version information
-?, -h, --help Show help and usage information

Commands:
sites
drives
```

It is possible to grant one service account "Sites.Selected" permission and grant an access to a specific site. By doing this, the granted application can access SharePoint DriveItems and grant permissions on per-item basis.

Ref:

Sharing could be achieved in various ways:

* Direct invite of a User
* Create and managed Share Link
* Delegated access via Group
* Delegated access via access to parent resource

Granting same permission could be safely performed, but side effects should be expected. For example, you can send invites multiple times, but only one permission record is maintained. Although, a user receives multiple emails.