SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Use Microsoft 365 Cloud SDK to Create Calendar Events

Use Microsoft 365 Cloud SDK to automate calendar activities in SAP Build Process Automation.

Overview

🎓 beginner 40 min. SAP Build Process AutomationBeginnerSAP Business Technology PlatformFree Tier

You will learn

  • How to use Microsoft 365 Cloud SDK activities
  • How to check users availability and send a meeting request
  • How to update, search for and delete a calendar event
Céline Audin C Céline Audin March 20, 2024
Created by August 3, 2023
Contributors

Prerequisites

Steps

Intro

IMPORTANT: Please refer to sample Manage calendar events with Microsoft Office 365 in the SAP Build Store if you face any issues while following the tutorial. To retrieve the sample refer to step 13 of this tutorial

In this tutorial, you will build an automation that will check availabilities of a candidate and a list of interviewers. Depending on attendees’ availabilities, a meeting request for an interview is sent. You will then update the meeting request sent. Finally, you will search for the meeting request sent and delete it from the calendars.


Step 1 Create the external authentication

Once you have successfully configured the Azure application as mentioned in Prerequisites, you are now ready to create an external authentication in SAP Build Process Automation tenant.

  1. Log in to SAP Build Process Automation tenant.

  2. Navigate to Control Tower > External Authentication.

    External authentication
    External authentication

  3. On the External Authentication page, click Create New Authentication.

    Create new authentication
    Create new authentication

  4. On the Create Authentication popup window, select Microsoft 365.

  5. Enter a name in the Name field such as Office 365.

  6. Optional: Enter a short description in the Description field.

  7. Enter the Client ID received at step Configure Azure Application > Find Relevant IDs that Define the Application > Application (client) ID.

  8. Enter the Client Secret received at step Configure Azure Application > Create a Client Credential.

  9. Enter the Tenant ID received at step Configure Azure Application > Find Relevant IDs that Define the Application > Application (tenant) ID.

  10. Select the desired scope in the Scope field.

    For this tutorial, you will need Calendars Read/Write scope.

  11. Choose Create.

    Create authentication
    Create authentication

Step 2 Register the external authentication
+
Step 3 Create a project
+
Step 4 Add Microsoft 365 Cloud SDK
+
Step 5 Create a data type
+
Step 6 Create input parameters
+
Step 7 Build an automation to send a meeting request
+
Step 8 Test the automation
+
Step 9 Build an automation to update the calendar event
+
Step 10 Test the automation
+
Step 11 Build an automation to search and delete the calendar event
+
Step 12 Test the automation
+
Step 13 Retrieve sample project from the store (Optional)
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 13
1. Create the external authentication 2. Register the external authentication 3. Create a project 4. Add Microsoft 365 Cloud SDK 5. Create a data type 6. Create input parameters 7. Build an automation to send a meeting request 8. Test the automation 9. Build an automation to update the calendar event 10. Test the automation 11. Build an automation to search and delete the calendar event 12. Test the automation 13. Retrieve sample project from the store (Optional)

Learn more →