You can find your Microsoft Outlook application credentials by visiting your Microsoft Azure Portal.You’ll need the following information to set up your Microsoft Outlook app with Paragon Connect:
Since Microsoft Outlook does not automatically provide you with a Client Secret for your application, we’ll need to make one. To get your Client Secret:
Navigate to Manage > Certificates & secrets in the sidebar.
Under Client Secrets, press the + New client secret button.
Name your client credentials and select an expiry that works best for your application. Press Add to create your credentials.
Copy the displayed Client Secret under the Value column.
Note: You will need to periodically create new and update your Client Secret as they expire for all Microsoft integrations.
To allow Microsoft users from outside of your organization to connect to your Outlook application, you must specify this as an option within the Outlook application registration.
Select Microsoft Outlook from the Integrations Catalog.
Under Integrations > Connected Integrations > Microsoft Outlook > App Configuration > Configure, fill out your credentials from the end of Step 1 in their respective sections:
Client ID: Found under Essentials > Application (client) ID on your Microsoft Azure Portal app page.
Client Secret: Found under Manage > Certificates & secrets on your Microsoft Azure Portal app page.
Permissions: Select the scopes you’ve requested for your application. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Press the purple “Save Changes” button to save your credentials.
Note: You should only add the scopes you’ve requested in your application page to Paragon.
Once your users have connected their Microsoft Outlook account, you can use the Paragon SDK to access the Microsoft Outlook API on behalf of connected users.See the Microsoft Outlook REST API documentation for their full API reference.Any Microsoft Outlook API endpoints can be accessed with the Paragon SDK as shown in this example:
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Get user's calendar eventsawait paragon.request("outlook", "/me/calendar/events", { method: "GET",});// Get messages in user’s mailboxawait paragon.request("outlook", "/me/messages", { method: "GET",});// Create a calendar eventawait paragon.request("outlook", "/me/calendar/events", { method: "POST", body: { "subject": "Let's go for lunch", "body": { "contentType": "HTML", "content": "Does mid month work for you?" }, "start": { "dateTime": "2019-03-15T12:00:00", "timeZone": "Pacific Standard Time" }, "end": { "dateTime": "2019-03-15T14:00:00", "timeZone": "Pacific Standard Time" }, "location":{ "displayName":"Harry's Bar" }, "attendees": [ { "emailAddress": { "address":"[email protected]", "name": "Adele Vance" }, "type": "required" } ]}});
Webhook triggers can be used to run workflows based on events in your users’ Microsoft Outlook accounts. For example, you might want to trigger a workflow whenever new events are created Microsoft Outlook to sync your users’ Microsoft Outlook events to your application in real-time.
You can find the full list of Webhook Triggers for Microsoft Outlook below: