Share via

Calling Sharepoint Rest API

Anonymous
2018-02-09T10:51:38+00:00

Q: I want to get the items of a Sharepoint list, i created my app in the Azure and gived the correct permissions.

when i call the sharepoint API using this URL: "https://Server.sharpoint.com/_api/web/lists/GetByTitle('Test')/items" , i get this Error as response:

<?xml version="1.0" encoding="utf-8"?><m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><m:code>-2147024891,

System.UnauthorizedAccessException</m:code>

<m:message xml:lang="en-US">Access denied. You do not have permission to perform this action or access this resource.</m:message></m:error>

Could you please help me?

Thank you.

Microsoft 365 and Office | SharePoint | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-02-09T16:45:08+00:00

Hi Madiha,

Based on your description, you have question about the SharePoint rest API. We suggest posting your query in MSDN forum. It is a specific channel handling this kind of queries and questions.

Thanks,

Rena

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2018-02-15T10:23:02+00:00

    Thanks, i will do that.

    Was this answer helpful?

    0 comments No comments