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
- Host: GitHub
- URL: https://github.com/nikiforovall/sharepoint-cli
- Owner: NikiforovAll
- License: mit
- Created: 2022-08-05T17:53:50.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-06T15:06:21.000Z (almost 4 years ago)
- Last Synced: 2025-02-12T11:53:54.308Z (over 1 year ago)
- Topics: cli, microsoft-graph, microsoftgraph, sharepoint
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.