Schedule an automatic out-of-office reply in Microsoft Teams so people know you are away.
Click your profile picture in the top-right corner of Teams. In the menu, click "Set status message," or click your current status (like Available) to find more options.
Select "Schedule out of office" at the bottom of the status message panel. This opens the out-of-office settings.
Toggle "Turn on automatic replies" and type your message, for example "I am out until Monday and will respond when I return." You can write a different reply for people outside your organization.
Check "Send replies only during a time period," then pick your start and end date and time. This auto-clears the status when you return.
Click "Save." Because Teams and Outlook share the same setting, this also enables your Outlook email auto-reply for the same period.