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

Build Your Automation Using Microsoft 365 Cloud SDK of SAP Build Process Automation

Use Microsoft 365 Cloud Office SDK to automate Microsoft Cloud products

Overview

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

You will learn

  • โœ”How to use Microsoft 365 Cloud Office SDK activities
Paulina Bujnicka P Paulina Bujnicka September 16, 2024
Created by January 2, 2023
Contributors

Prerequisites

Prerequisites

Steps

Intro

IMPORTANT: Please refer to sample Automate Microsoft Office 365 applications in the SAP Build Store if you face any issues while following the tutorial. To retrieve the sample refer to step 9 of this tutorial.

After completing this tutorial, you will be able to search for an Excel file on SharePoint or OneDrive, download it and store it on your local machine, read Excel data for a given range and send an email via Outlook Online with the new Excel file as an attachment.


Step 1 Create External Authentication
โ€”

Once you have successfully configured the Azure Application as mentioned in Pre-requisites, 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.

    Office
    Office

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

    Office
    Office

  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.

  11. Choose Create.

    Office
    Office

Step 2 Register External Authentication
+
Step 3 Create a project
+
Step 4 Set up the dependency
+
Step 5 Build the automation to retrieve the file details
+
Step 6 Create Input Parameter
+
Step 7 Build the automation to send an email
+
Step 8 Test the automation
+
Step 9 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 9
1. Create External Authentication 2. Register External Authentication 3. Create a project 4. Set up the dependency 5. Build the automation to retrieve the file details 6. Create Input Parameter 7. Build the automation to send an email 8. Test the automation 9. Retrieve sample project from the store (Optional)

Learn more →