Error validating client secret
After you get the response token, you need to verify it within two minutes with re CAPTCHA using the following API to ensure the token is valid.See Register your application and get a client ID and secret.Permission scopes represent levels of access to One Note content.An application permission is granted to an application by an organization's administrator, and can be used only to access data owned by that organization and its employees.Admins don't have to consent to permissions again unless they revoke permissions.When an access token expires, requests to the API return a response.
If you sign the user in to your app, you can identify the organization to which the user belongs before you ask the user to approve the application permissions.GET https://login.microsoftonline.com//login Additional technical information: Correlation ID: f3817dd1-8476-46c2-a81b-fdefd209f988 Timestamp: 2017-01-18 Z AADSTS90093: This operation can only be performed by an administrator.Sign out and sign in as an administrator or contact one of your organization's administrators.When you're ready to request permissions from the organization's admin, you can redirect the user to the admin consent endpoint.
You can make the API call such as the following: // Line breaks are for legibility only.
// Replace with the tenant (GUID or name) you need admin consent for // Replace with your Azure AD assigned application id GET https://login.microsoftonline.com//adminconsent?