NetSuite Integration with Microsoft Graph API

Joseph Wylie 0 Reputation points

I am working on an application that will allow me to retrieve data from my OneDrive account (data from files) within NetSuite. This is going to be an application that run exclusively on the backend and has no UI.
I am having a difficult time figuring out a way to grant NetSuite access to my OneDrive without running into consent/authentication issues.

Do anyone have any ideas how I can manage this with no UI?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,060 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
646 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 28,281 Reputation points

    Hi @Joseph Wylie

    You need to register your app to Azure AD, next grant Files.ReadWrite.All application permission for this app and grant admin consent.

    User's image

    Since your working scenario has no UI view, then you need to use the unattended client credentials flow to obtain an access token.

    After that, you will be able to use this token to get files hosted in OneDrive.{drive id}/root/children

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.