Another script from a couple of months ago
With Microsoft pushing "Service Update XX" almost every week it became hard to track down when particular update is going to be released.
Powershell script uses application registered in AAD with privileges to read messages from Office 365 Communication API and access D365 to create appointments. Appointments are set category and subcategory to identify unique messages without customizations. Recipients of the appointment are defined as a list of activity parties.