Internal 500 Server Error after trying to Manage who can create Office 365 Groups

Author by Craig Jahnke

I came across an unexpected error after trying to manage who could create Office 365 Groups by using a Security group called "SharePoint Admins" I followed the instructions here: and ran the PowerShell scripts needed: