If the team owner does not have a teams license (Example: student employees) then the process to create the team fails.
Exception
EXCEPTION: Failed to generate the team off of the existing unified group
Type : System.Management.Automation.RuntimeException
Known workarounds
Setting a different requestor and re-running the TD workflow
Manually editing the owner of the existing group, and then teams enabling the group using the Microsoft Teams web GUI
Proposed change
Add additional check to the "resolving team owner" step. Check if the user has a teams license, if not, default back to the user's onid account and test for a teams license.
If the ONID has a teams license, create the team with the ONID account as the owner.
If the ONID does not have a teams license or if the ONID fails to be found, throw a more clear error message
Context
Creation of new team via TD ticket workflow.
Issue
If the team owner does not have a teams license (Example: student employees) then the process to create the team fails.
Exception
Known workarounds
Proposed change