Either scp or roles claim need to be present in the token using when application permissions to read sharepoint sites
问题 I created an app in Azure and set it up to use Access and ID tokens. I want to connect to different tenants and read SharePoint sites. Here are the permissions I've requested and received Admin Consent for: For now, I have set up an App Secret but I do plan to move to a certificate later. I have this code to get the access token and I do get an access token back: const params = new URLSearchParams(); params.append("grant_type", "client_credentials"); params.append("scope", "https://graph