Using LMS365 Connectors in Microsoft Power Automate
LMS365 give you an ability to automate some of the most common actions and manual processes in the LMS365 via Microsoft Power Automate. It means to react on the events happening LMS365 and send data to the LMS. You can use for your flow or create your own one.
To create your own flow:
2. Click My Flows section, and then click the New button in the top navigation bar and select Instant − from blank button:
3. On the creation page, you can see the full list of the MS Power Automate connectors. Search for the LMS365 to see all actions related to the learning system:
The Connector consists of two groups of items:
Triggers – give you the ability to subscribe to some events in the LMS. Each trigger has a proper title that describes when the event is triggered. Usually, that is the starting point of the flow.
For example, the trigger “When a user has been deleted” means that the operation will be triggered when a user has been disabled/deleted from LMS365.
Actions – give you the ability to affect LMS. That means these are the set of predefined API calls to the LMS service.
For example, an action “Approve enrollment request” will approve the enrollment request.
For more information about the actions, visit .
4. Select the desired trigger from the list.
5. Add the steps.
6. Search for the required action that can be performed within the LMS365.
7. Fill in the required fields.
8. Add other actions if needed.
Let us create a simple flow which reacts to the Course Published event, gets the course information, and sends an email with the course information to the specified users. To perform this action:
•Choose the “When training has been published to a catalog” trigger:
If you use the LMS365 Connector for the first time, enter connection name (LMS365) and credentials for the LMS API service. Please use the API key for both username and password fields.
•After the connection is set, you will see a message that your flow has only a starting point and you need to add new steps:
•Click the New step button.
•Enter LMS365 in the search box to find the available LMS connector action.
In our example, we want to get information about the course that has been published – we select “Get course details” action:
•Specify the Course Id value in order to get the information about the specific course. Click the field to see all available data you can operate with. Select the Course Id from the list to proceed:
•After the Course Id value is selected, you can choose what to do with the data returned by the ‘Get course details’ action (by adding new action).
In our example, we will select the Office 365 Outlook Connector and search for the ‘Send an email’ action:
and fill in some course data (e.g. title and description):
That is all, we are ready with the Flow that is triggered when a Course has been published, gets the detailed information about it, and sends Course’s description via email to the specified recipients.
The logic and approach are the same for all other cases.
You can make a request to get the desired data from API via Microsoft Power Automate as well. Let us create one more flow to get the list of all Courses and the enrollments withing the Course Catalog:
•Choose the “Send an HTTP request” trigger and define the methods for the HTTP request. In our case use the GET as method as we need to receive the information.
There are 5 HTTP methods: GET, PUT, POST, PATCH, DELETE.
•Specify the path in the Uri field. You can get these data from . Navigate to the desired endpoint. In our case we use the endpoint
GET /odata/v2/Courses that returns the list of all Courses. As we want to have all enrollments, we need to specify the “Enrollments” as the parameter. So the path will be Courses?$expand=Enrollments:
Once you have tried out the endpoint you can find the Uri in the Request URL field as well.
When you run the flow, you will find required information in the Body field. The API will response in the JSON format:
To apply it for each course you need to add the new “Apply to each” action, click Expression and specify the following expression, which is the output from the previous step and looks like:
•To get all enrollments add one more “Compose” action.
In the Input field add the desired expression. As we want to get the enrollments for each of the courses, we need to specify the following expression:
That is all, we are ready with this flow and get all enrollments: