OAuth App must be created in Microsoft Azure AD. These settings typically found here https://docs.microsoft.com/en-us/graph/auth-v2-service
[API reference]
Parameter |
Label |
Required |
Default value |
Options |
Description |
TokenUrl |
Token URL |
YES
|
|
Name |
Value |
For Single Tenant |
https://login.microsoftonline.com/{ENTER-TENANT-ID-HERE}/oauth2/v2.0/token |
For Multi Tenant |
https://login.microsoftonline.com/common/oauth2/v2.0/token |
|
|
ClientId |
Client ID |
YES
|
|
|
|
ClientSecret |
Client Secret |
YES
|
|
|
|
Scope
|
Scope |
|
https://graph.microsoft.com/.default
|
|
Permissions you want to use.
|
RetryMode |
RetryMode |
|
RetryWhenStatusCodeMatch
|
Name |
Value |
None |
None |
RetryAny |
RetryAny |
RetryWhenStatusCodeMatch |
RetryWhenStatusCodeMatch |
|
|
RetryStatusCodeList |
RetryStatusCodeList |
|
429|503
|
|
|
RetryCountMax |
RetryCountMax |
|
5
|
|
|
RetryMultiplyWaitTime |
RetryMultiplyWaitTime |
|
True
|
|
|
SearchOptionForNonIndexedFields |
Search Option For Non-Indexed Fields (Default=Blank - Search Only Indexed) |
|
|
Name |
Value |
Search Only Indexed |
|
Search Both Indexed and Non-Indexed |
HonorNonIndexedQueriesWarningMayFailRandomly |
|
If you wish to do certain operations e.g. search / order by on non-indexed fields then you have to set this option to HonorNonIndexedQueriesWarningMayFailRandomly. By default filter / orderby on non-indexed fields not allowed.
|
ExtraHeaders |
Extra Headers (e.g. Header1:AAA||Header2:BBB) |
|
|
Name |
Value |
MyHeader1:AAA |
MyHeader1:AAA |
MyHeader1:AAA||MyHeader2:BBB |
MyHeader1:AAA||MyHeader2:BBB |
|
|