Using the script posted here:
https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-connect-to-office365-group
I am trying to add an Office 365 group to a standard Team site collection (classic experience).
Log records just before error show:
Enabling modern page feature, disabling modern list UI blocking features
Call groupify API with following settings:
Alias=classic3grp, IsPublic=True, Classification=Low Impact
Alias name is classic3grp
, no spaces or special chars, yet continue to get an error trying to add a group with that alias.
PnP cmdlet rejects the alias string.
In Groups Admin, that group alias is not already out there.
Add-PnPOffice365GroupToSite : {"odata.error":{"code":"Request_BadRequest","message":{"lang":"en","value":"Property
classification has an invalid value."},"requestId":"dbd96438-56a5-4aa8-88d4-722a63893eca","date":"2018-06-27T18:09:50",
"values":[{"item":"PropertyName","value":"classification"},{"item":"PropertyErrorCode","value":"InvalidValue"}]}}
At C:\downloads\absolutt\sharepointmodernizationscanner\PerformConnectToGroup.ps1:251 char:9
+ Add-PnPOffice365GroupToSite -Url $siteCollectionUrl -Alias $a ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Add-PnPOffice365GroupToSite], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Admin.AddOffice365GroupToSite
Does anyone know why?