Overview
In this page, we will walk through the process of integrating EasyLife 365's APIs with Power Automate. After completing the setup, users will be able to create Microsoft Teams or invite guest accounts directly from Power Automate workflows, automating governance tasks across Microsoft 365. This integration leverages custom connectors and API permissions to enhance cross-platform synchronization and resource provisioning.
For example, when a new client is added to the CRM, a Power Automate flow can automatically provision Microsoft Teams or SharePoint sites for collaboration, streamlining processes while maintaining governance and compliance standards.
By following this guide, you will be able to:
- Register an application in Microsoft Entra ID for use with Power Automate.
- Configure necessary API permissions for EasyLife 365.
- Create a custom Power Automate connector using OpenAPI files.
- Test the connector to ensure seamless functionality in creating Teams and managing guest accounts.
After successfully completing these steps, you can begin automating the creation of teams or inviting guest accounts via Power Automate, significantly improving your workflow efficiency.
Step 1: App Registration Setup
Follow these steps to create and configure an app registration in Microsoft Entra ID for Power Automate.
Create the App Registration
- In the Microsoft Entra admin center, go to the application registration page: App Registration.
- Click on Add New Application.
- On the Register an application page, enter the name of your application, select the appropriate Supported account types, and click Register.
Enable Public Client Flows
- Go to the Enterprise applications page, search for the application you registered in Step 1, and select the application.
- On the application page, go to Properties, then click on Application registration.
- Under the Authentication settings of the app registration, enable public client flows.
Add API Permissions
- Navigate to API permissions and, on the API Permissions page, click on the + Add a permission button.
- In the Request API permissions pane, go to the APIs my organization uses tab, search for
EasyLife 365
, and add the permissionApp.ReadWrite.All
.
Ensure the necessary permissions are granted for the API to function properly.
Permission Type | Permissions (Scope) |
---|---|
Delegated (work or school account) | https://api.insiders.easylife365.cloud/collab/App.ReadWrite.All |
Application | Not supported |
Create a Client Secret
In the Certificates & Secrets section, generate a new client secret and store it securely.
After setting up the flow in Power Automate, ensure that the redirect URI shown in Power Automate is added in Entra ID as well.
Step 2: Create the Power Automate Connector
You can use an OpenAPI file to create a new custom connector in Power Automate. Follow these steps for the configuration:
Create New Connector
-
Go to Power Automate.
-
In the main menu on the left, go to More > Discover All.
-
On the Discover all you can do with Power Automate page, go to the Data section, click on Custom connectors, then select + New custom connector > Import an OpenAPI file.
-
In Power Automate, create a new custom connector from the OpenAPI file. The EasyLife 365 Collaboration file for updating properties for objects can be downloaded Download Insiders or Download Production.
-
Upload the downloaded file during custom connector creation.