As Vijaya suggested, you can use Microsoft's Graph API.
You can generate an iCal file if you want a simpler solution. The contents are purely text so you can create it in a microflow. The downside is that you must download this file after the appointment is created and can't update it.