Forum Discussion
david.calabro
Mar 21, 2017Brass Contributor
{AssociatedOwnerGroup} error
After using NuGet to update the SharePoint PnPCore2013 package I now get the following error while deploying the security section of my site. "Additional information: Object reference not set to ...
- Mar 21, 2017
15.0.4797.1000
I did get this to work by recreating default groups but i'm not sure why this was necessary.
$web = Get-SPWeb http://myweb
$web.CreateDefaultAssociatedGroups("domain\account,"domain\account",$SiteName)
Mar 21, 2017
Do you have your build number of SharePoint 2013?
- david.calabroMar 21, 2017Brass Contributor
15.0.4797.1000
I did get this to work by recreating default groups but i'm not sure why this was necessary.
$web = Get-SPWeb http://myweb
$web.CreateDefaultAssociatedGroups("domain\account,"domain\account",$SiteName)
- Mar 21, 2017
I think that PnP simply doesn't create SharePoint groups. Any of the seurity elements is expected to exist already. In general I exclude security anyway (-Excludehandlers option). When moving templates from one farm/tenant to another security accounts often do not match.