We are trying to get an access token in SharePoint on-premises 2016 server version.

Creating an app successfully using these steps in our SharePoint on-premise 2016: https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs

Following these steps for an access token:

Get code request:


Not getting code.

But getting 401 unauthorized error in the access token process


Note: I am using admin account.

  • @rob-windsor Hi can you look up in this question
    – Jay
    Aug 2 at 5:42


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.