
Microsoft graph API to access sharepoint
Recently I’ve had to setup a few different app registration using Azure AD to access sharepoint sites.
Once you get the process down its pretty easy.
Create the Azure AD app registration and give it Sites.Selected API permissions.
Then use PnP.Powershell to assign the permisisons.
Grant-PnPAzureADAppSitePermission -AppId $appId -DisplayName $appName -Permissions Read -Site $siteUrl
Thats it.
If you want a more details step by step post. Check Leon’s post here.
https://www.extendm365.com/2022/04/how-to-give-app-access-on-specific.html
More Stories
Sync Active directory user data with SharePoint
If you want to sync standard common attributes from active directory to sharepoint. Its easy, AD sync to Azure AD...
SQL upgrades
We have a few SQL servers that need to be upgraded before they go end of life. We are looking...
How to manage the local administrators group on Azure AD joined devices
After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the...
Azure AD and Windows hello for business, SSO for on-premises resources
We disabled WFB when we first rolled out autopilot because we are not ready to deploy and support passwordless at...
Recover Microsoft forms from old users
Microsoft forms are a great way to collect data from the user. However, what happens when the user leaves the...
Creating a document management system with SharePoint
Searching for documents can be a cumbersome and time-consuming task, especially if there is no proper system in place for...