Forum Discussion

sivas's avatar
sivas
Copper Contributor
Apr 12, 2024

SharePoint Rest API in Postman

Hi All, I am using Postman tool to test SharePoint API with below details

URI: https://m365.sharepoint.com/sites/siteName/_api/web/lists/GetByTitle('Search')

Configure New Token in Authorization tab.

Grant type: Client Credentials
Access Token URL: https://login.microsoftonline.com/common/oauth2/token
Client ID: from Azure App registration

Client Secret: from Azure App registration

Scope : empty
Client Authentication: Send as Basic Auth header
 
after clicking in the Get new access token i am getting below error.

Error: invalid_request, Description: AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials. Trace ID: 15300f72-63fe-4660-a83f-5a8b40b19d00 Correlation ID: 9a56f975-4113-4d15-a361-87b510af77ff Timestamp: 2024-04-12 05:00:13Z

 

Could you please help me to resolve this issue?
 
below is azure app permission i provided

 

 
 
 

 

No RepliesBe the first to reply

Resources