PreviousNext
Help > Programming with LAUNCHER Office > Advanced programming > Obtain an OAuth2 access token
Obtain an OAuth2 access token

To use the GRAPHSEND, ONEDRIVPUT, SHRDPTPUT, or SHRDPTLIST commands, you must obtain an OAuth2 access token via Microsoft Identity Platform.

To do this, you must create an application via the Azure portal. This will give you a client ID and client secret with specific permissions: Files.ReadWrite.All (OneDrive) and/or Sites.ReadWrite.All (SharePoint) and/or Mail.Send.

The following are the steps to follow via the Azure portal.