User Profile
Jerror
Copper Contributor
Joined 2 years ago
User Widgets
Recent Discussions
trying to get access token using sharepoint onpremise api but getting error in first step
We are making SharePoint API calls for our on-premises SharePoint website We are following the rest API's to get access token in the first step Request https://sharepoint.tenat.com:*****/sites/live/_layouts/15/OAuthAuthorize.aspx?client_id=*************&scope=Web.Manage&response_type=code&redirect_uri=https://sharepoint.tenant.com:*****/sites/live/_layouts/15/viewlsts.aspx after recalling this request getting the trust it option but after that instead of code, we are getting this unauthorized error Error error=server_error&error_description=The%20remote%20server%20returned%20an%20error%3A%20%28401%29%20Unauthorized%2E We also tried from the owner account still getting this error In a normal SharePoint website, the API is working fine getting errors in the on-premises website We are using Sharepoint 2016 on-premise4KViews0likes7Comments
Recent Blog Articles
No content to show