Over the past year Microsoft have released Sites.Selected permissions for both Microsoft Graph & SharePoint which can be given to an Azure AD App (App Registration). When created the app by default with Sites.Selected permissions does not have access to any SharePoint sites and has to be explicitly added added using Microsoft Graph or PnP PowerShell (Grant-PnPAzureADAppSitePermission) to the site(s) to be administered. Both processes only give the access Read or Write permissions to the site and not Full Control.
Today some people who are running targeted release on their M365 Tenant have been able to add the Board view to new and existing Microsoft/SharePoint Lists. I wanted to automate this creation of the Board View and following on from a previous blog post I did where I created a Modern Calendar on a list. I realised to add board view it followed the same pattern – using SharePoint Rest API. Through using the Edge Developer tools I figured out the JSON & Rest call required and that the view type was ViewType2: “KANBAN”
Today quietly Microsoft released a SharePoint Azure AD app registration permission level Sites.Selected. This allows PnP PowerShell cmdlets and CSOM to be used using SharePoint application permissions to a specific site(s). This is independent & different to the Microsoft Graph permission level Sites.Selected.
Recently we have finally been able to add a modern calendar view to a list in SharePoint Online through the UI. Before this a calendar view was only available in SharePoint classic mode. I wanted to automate this view creation and in order to do this I turned to my trusty friend PnP PowerShell. I figured it needed to be done using SharePoint REST API by creating a new SharePoint list view using ViewType2: "MODERNCALENDAR".
Yesterday Viva Connections (31/Mar/2021) was launched to the world and this allows you to create and then install the Viva Connections app in Teams so your SharePoint home site can be available in Teams. The Viva Connections app needs to be generated exclusively for your environment i.e. generate the app to point to your SharePoint home site url and this is done through PowerShell. I will show you how you can build a Viva Connections app using just one PnP cmdlet Publish-PnPCompanyApp
Testing out the new Microsoft Graph permission level Sites.Selected which allow an app access to just specific SharePoint site collections rather than all.
There have been several new Power Automate/Flow commands added to PnP.PowerShell (v1 released this week). In this blog article I will test these new commands out and show you how…