youtube image
From YouTube: Exploring the depths of undocumented admin REST API through an SPFx solution

Description

In this 16-minute developer-focused demo, Michaël Maillot points out there is no SharePoint Admin REST API documentation as the APIs are not intended for external use. The APIs do provide a means to address admin actions without using external tools, requires no back-end, and uses current user context. The presenter’s AdminSpoWebPart app is used to manage sites in tenant specifically - Site capabilities, CDN, Themes, and External Users. Caution: Use undocumented APIs at your own risk.

This PnP Community demo is taken from the Viva Connections & SharePoint Framework Bi-weekly sync call recorded on February 23, 2023.

Demo Presenter
• Michaël Maillot (onepoint) | @michael_maillot

Supporting materials
• Resource - SharePoint REST API Metadata Explorer | https://s-kainet.github.io/sp-rest-explorer
• Library - PnP/PnPjs sp-admin | https://pnp.github.io/pnpjs/sp-admin
• Repo – michaelmaillot / spfx-form-boilerplate | https://github.com/michaelmaillot/spfx-form-boilerplate

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/community/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/community/videos
• Microsoft 365 Platform Community - http://aka.ms/community/home