Forum Discussion

david.calabro's avatar
david.calabro
Brass Contributor
Mar 21, 2017

{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 ...
  • david.calabro's avatar
    david.calabro
    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)

Resources