Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 484 Bytes

graph-sites-selected.md

File metadata and controls

7 lines (6 loc) · 484 Bytes

Give a Managed Identity write access to a sigle Sharepoint Site

This example shows how to give a Managed Identity Graph API write access to a sigle Sharepoint site using the Graph API Permission "Sites.Selected".

Step 1

Give the managed identity the 'Sites.Selected' permission using this code.

Step 2

Use the PnP api to add write permission to the Managed Identity. Using this code.