[Bug] Error when using New-Team with spaces in Group Name/Description
It seems there is a bug where trying to use PowerShell module 0.9.3, New-Team with a groupID that has a space in the name/description seems to fail. Our format would be "<projNum>.<Client> - <Proj Name>" which doesn't work and returns the following error:
<code>
New-Team : Error occurred while executing
Code: ItemNotFound
Message: Failed to execute MS Graph backend request GetGroupInternalApiRequest. The server failed to respond correctly.
Response Code: NotFound, Reason: Reason: Not Found, Correlation headers: request-id: de35f8e6-b504-43bc-8c0b-7f5930c9966d
client-request-id: de35f8e6-b504-43bc-8c0b-7f5930c9966d
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"East
Asia","Slice":"SliceC","Ring":"5","ScaleUnit":"001","Host":"AGSFEIN4","ADSiteName":"EAS"}}
Duration: 77.9862
Date: Thu, 26 Jul 2018 04:12:00 GMT
InnerError:
RequestId: bc243285-be3f-480b-be82-82977a823c20
DateTimeStamp: 2018-07-26T04:12:01
HttpStatusCode: ItemNotFound
At line:1 char:1
+ New-Team -Group $GroupID
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-Team], ApiException
+ FullyQualifiedErrorId : Microsoft.TeamsCmdlets.PowerShell.Custom.ErrorHandling.ApiException,Microsoft.TeamsCmdlets.Power
Shell.Custom.NewTeam
</code>
