Power Automate can help you monitor your team's availability in the office. Here's how to set up an automated system using Power Automate's Outlook connector. First, customize the user entity by creating an "Availability" Boolean field and adding it to the user entity form. Then, create a scheduled trigger in Power Automate to execute the flow daily. Use the Microsoft Dynamics connector to access the list of active users. Iterate through the list and use the "Get mail tips for a mailbox (V2)" action to retrieve details about each user's out-of-office status. Verify if the fields for Automatic Replies Message, Scheduled Start Time, and Scheduled End Time are not null to determine if the user has configured an out-of-office message. Compare the current datetime with the converted timestamps to determine if the user is currently out of the office. Finally, update the user entity with the availability status.
Login now to access my digest by 365.Training