Thank you.
I have been using "Microsoft.Xrm.Data.PowerShell" module for awhile.
I'm able to create "Owner" teams and assigning security roles to existing Teams.
The challenge I have is with creating AAD Security Teams because of the attribute types.
e.g. I don't know how to set teamtype (Edm.Int32) to 2 (AAD Security Group). The type of it is Emd.Int32, so I cannot set it to just 2 (int) or "2" (string).
That is why I'm looking for sample code to show me how to do it.