{"id":24225830,"url":"https://github.com/mmsharepoint/assignpermissions","last_synced_at":"2025-07-30T00:33:23.798Z","repository":{"id":248656187,"uuid":"829320241","full_name":"mmsharepoint/AssignPermissions","owner":"mmsharepoint","description":"This small demo repository show how to handle the new SharePoint granular list(item) permissions for Microsoft Graph","archived":false,"fork":false,"pushed_at":"2024-07-16T08:57:22.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:13:36.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmsharepoint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T07:40:51.000Z","updated_at":"2024-12-30T22:30:03.000Z","dependencies_parsed_at":"2024-07-16T10:15:25.922Z","dependency_job_id":"67bc031b-34db-414f-b24b-caeb2f34923d","html_url":"https://github.com/mmsharepoint/AssignPermissions","commit_stats":null,"previous_names":["mmsharepoint/assignpermissions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmsharepoint/AssignPermissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmsharepoint%2FAssignPermissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmsharepoint%2FAssignPermissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmsharepoint%2FAssignPermissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmsharepoint%2FAssignPermissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmsharepoint","download_url":"https://codeload.github.com/mmsharepoint/AssignPermissions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmsharepoint%2FAssignPermissions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267785731,"owners_count":24144119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-14T08:16:35.895Z","updated_at":"2025-07-30T00:33:23.771Z","avatar_url":"https://github.com/mmsharepoint.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assign Permissions\nThis small demo repository show how to handle the new SharePoint granular list(item) permissions for Microsoft Graph\n\n## Summary\n\nThe repository consists of three parts: AssigPermissionsBeta realizes the assignment of permissions using Microsoft Graph Beta. \nTestPermissions tests the granted permissions. \nPSScript contains a PowerShell script to do the same.\n\nFor further details see the author's [blog post](https://mmsharepoint.wordpress.com/2024/07/16/new-granular-permission-model-in-sharepoint/)\n\n## Version history\n\nVersion|Date|Author|Comments\n-------|----|--------|--------\n1.0|July 16, 2024|[Markus Moeller](http://www.twitter.com/moeller2_0)|Initial release\n\n\n## Disclaimer\n\n**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**\n\n## Minimal Path to Awesome\n\n- Clone this repository\n    ```bash\n    git clone https://github.com/mmsharepoint/AssignPermissions.git\n    ```\n- You will need to register TWO apps in Entra ID \n  - Platform Desktop and Redirect http://localhost\n  - with **delegated** Graph permissions:\n    - App 1 Sites.FullControl.All\n    - App 2 Lists.SelectedOperations.Selected, ListItems.SelectedOperations.Selected\n- Copy AssignPermissionsBeta\\appsettings.sample.json to AssignPermissionsBeta\\appsettings.json and fill in your data, use app 1\n- Copy TestPermissions\\appsettings.sample.json to TestPermissions\\appsettings.json and fill in your data, use app 2\n- In AssignPermissionsBeta press F5 to debug and assign permissions\n- In TestPermissions press F5 to debug and test permissions\n- Alternatively, fill in your data into PSScript\\AssignPermissions.ps1 and test here, potentially stey-by-step (F8)\n\n## Features\n\nThis small demo illustrates the following concepts:\n\n- [Overview of Selected permissions in OneDrive and SharePoint](https://learn.microsoft.com/en-us/graph/permissions-selected-overview?view=graph-rest-1.0\u0026tabs=http\u0026WT.mc_id=M365-MVP-5004617)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmsharepoint%2Fassignpermissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmsharepoint%2Fassignpermissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmsharepoint%2Fassignpermissions/lists"}