versago3:oauthsetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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
- + 
 + {{ :versago3:Oauth-Email1.png?direct&800 |}} 
 + 
 + 
 +===== Create a Client Secret ===== 
 +  * In your app registration screen, click on "Add Certificate & secret"
 +  * Click "+New client secret"
 + {{ :versago3:Oauth-Email2.png?direct&800 |}} 
 +  * Provide a description (e.g. SMTP Auth Secret). 
 +  * Set an expiry (6 months, 12 months or 24 months) 
 +  * Click "Add" 
 + {{ :versago3:Oauth-Email3.png?direct&800 |}} 
 + 
 +Copy the value immediately - it is your Client Secret. You cannot view it later. 
 + 
 + {{ :versago3:Oauth-Email4.png?direct&800 |}} 
 + 
 + 
 +===== Assign API Permissions ===== 
 +  * Go to API permissions in the app. 
 +  * Click "+Add a permission"
 + {{ :versago3:Oauth-Email5.png?direct&800 |}} 
 +  * Select "APIs my organization uses"
 +  * Search for and select "Microsoft Graph"
 +  * Choose "Application permissions"
 +  * Expand Mail and check "Mail.Send"
 +  * Click "Add permissions"
 +  * Click "Grant admin consent" to approve. 
 + {{ :versago3:Oauth-Email6.png?direct&800 |}} 
 + 
 + 
 +===== 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.
versago3/oauthsetup.1747420597.txt.gz · Last modified: 2025/05/16 14:36 by afernandes