The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @Kristina Razmoska,
You could post request to https://accounts.accesscontrol.windows.net/"Tenant ID"/tokens/OAuth/2 and the request body should be like following
|
|
|grant_type|client_credentials|client_credentials|
|client_id|ClientID**@TenantID|Refer below for the value|
|client_secret|ClientSecret|Refer below for the value|
|resource|resource/SiteDomain@**TenantID|Refer below for the value|
Here is the article for the detail steps https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/
---If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.