Access Token to SharePoint 0365
I am using the Web Tenant version of AgilePoint where I am the Tenant Administrator. I am attempting to access SharePoint 0365 with an Access Token. This is the error I get:
I have a sinking feeling I need to use the OAuth2 option which is what we tried and failed to use to access Google Drive. Surely SharePoint is easier.
-
Hi Ron,
Does the user account you are using to authenticate the access token have multi-factor authentication enabled? If yes, then you must use the OAuth2 option in the access token to connect to Microsoft 365.
Please see below link for more information on creating Microsoft 365 tokens with OAuth2 option.
https://www.agilepointnxblog.com/create-non-expiring-access-tokens-for-office-365/
You can also use the Azure AD app only option in access token by following below link:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread
Thanks,
Sandeep
Please sign in to leave a comment.
Comments
1 comment