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
Windows Deployment with the Next Generation of Windows Autopilot
Microsoft's latest update to Windows Autopilot brings significant enhancements to the deployment process of Windows devices, catering to the needs...
Shrink PowerPoint files
Need to reduce the size of your PowerPoint file that contain a large number of pictures. Give this a try...
Setting the exchange online max send and receive size
Quick post today around setting exchange online max send and receive size. It can be set using the GUI in...
How to find your Microsoft Exchange build number
When documenting your environment, it’s important to keep track of the build number of your Exchange server. To get the...
Micrsoft Defender for Endpoints
We use Microsoft Defender for endpoints on our physical workstations. I'm now looking at it for our servers. The servers...
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...