This blog walks you through the end-to-end process of granting a managed identity read/write access to a specific SharePoint Online site using Microsoft Graph and PowerShell.
Updated May 02, 2025
Version 1.0Managed identities are not available under Microsoft Entra ID > App registrations
I couldn't find system assigned managed identity in app registration. was able to assign msgraph sites.selected permission to it using Powershell.