In this video, the speaker discusses the process of creating discovery tasks in on-demand migration for Teams. It explains that there are two ways to create discovery tasks: through the front dashboard, where you can run a discovery across the entire tenant or choose to focus on Teams or Office 365 groups separately, or by mapping from a file if you only want to discover a specific set of teams. Also it mentions that future releases may include the ability to create a discovery for a separate group of teams.