This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
versago3:oauthsetup [2025/05/16 14:36] afernandes created |
versago3:oauthsetup [2025/05/16 16:30] (current) afernandes |
||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * Aplication (client) ID -> Client ID | * Aplication (client) ID -> Client ID | ||
| * Directory (tenant) ID -> Tenant ID | * Directory (tenant) ID -> Tenant ID | ||
| - | + | ||
| + | {{ : | ||
| + | |||
| + | |||
| + | ===== Create a Client Secret ===== | ||
| + | * In your app registration screen, click on "Add Certificate & secret" | ||
| + | * Click "+New client secret" | ||
| + | {{ : | ||
| + | * Provide a description (e.g. SMTP Auth Secret). | ||
| + | * Set an expiry (6 months, 12 months or 24 months) | ||
| + | * Click " | ||
| + | {{ : | ||
| + | |||
| + | Copy the value immediately - it is your Client Secret. You cannot view it later. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ===== Assign API Permissions ===== | ||
| + | * Go to API permissions in the app. | ||
| + | * Click "+Add a permission" | ||
| + | {{ : | ||
| + | * Select "APIs my organization uses" | ||
| + | * Search for and select " | ||
| + | * Choose " | ||
| + | * Expand Mail and check " | ||
| + | * Click "Add permissions" | ||
| + | * Click "Grant admin consent" | ||
| + | {{ : | ||
| + | |||
| + | |||
| + | ===== Summary of Required Information ===== | ||
| + | * Tenant ID: Found in Azure AD -> Directory ID. | ||
| + | * Client ID: Found in Azure AD -> Application ID | ||
| + | * Client Secret: Copied from Certificates & Secrets | ||
| + | * SMTP Scope: Mail.Send for Microsoft Graph. | ||