Authentication :: Application Credentials [OAuth]
Contents
Description
OAuth App must be created in Microsoft Azure AD. These settings typically found here https://docs.microsoft.com/en-us/graph/auth-v2-service
Instructions
Firstly, login into Azure Portal and there create an OAuth application:
- Go to Azure Portal and login there.
- Then go to Azure Active Directory.
- On the left side click menu item App registrations
- Then proceed with clicking New registration.
- Enter a name for your application.
- Select one of Accounts in this organizational directory only as supported account type to access data in your company.
- In Redirect URI section leave option selected at Web.
- Copy Application (client) ID and paste it into API Connection Manager configuration grid in Client ID row.
- Then click on Endpoints link and copy second, Token, URL to Token URL field in configuration grid. Usually they look similar to these:
- https://login.microsoftonline.com/daed1250-xxxx-xxxx-xxxx-ef0a982d3d1e/oauth2/v2.0/token
- https://login.microsoftonline.com/common/oauth2/v2.0/token
- Close "Endpoints" and create a Client Secret by clicking Certificates & secrets.
- Proceed by clicking New client secret and setting expiration period. Copy the client secret and paste it into configuration grid in Client Secret row.
- Go to API Permissions section and add Microsoft Graph permissions. Then and add Drive permissions, e.g. Files.Read.All, Files.ReadWrite.All.
- Use these scopes in Scopes field: offline_access Files.Read Files.Read.All Files.ReadWrite Files.ReadWrite.All openid profile User.Read email
- Finally, Grant admin consent for your domain for your permissions.
- That's it!
Parameters
Parameter | Label | Required | Options | Description | Help | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TokenUrl | Token URL | YES |
|
|
|||||||||
ClientId | Client ID | YES |
|
||||||||||
ClientSecret | Client Secret | YES |
|
||||||||||
Scope | Scope | NO |
|
||||||||||
RetryMode | RetryMode | NO |
|
|
|||||||||
RetryStatusCodeList | RetryStatusCodeList | NO |
|
||||||||||
RetryCountMax | RetryCountMax | NO |
|
||||||||||
RetryMultiplyWaitTime | RetryMultiplyWaitTime | NO |
|
||||||||||
SearchOptionForNonIndexedFields | Search Option For Non-Indexed Fields (Default=Blank - Search Only Indexed) | NO |
|
|
|||||||||
ExtraHeaders | Extra Headers (e.g. Header1:AAA||Header2:BBB) | NO |
|
|