So I have a site collection that is in a state where it acts as though it is connected to an Office 365 group, but the group doesn't exist and the "connect to group" menu option is missing. This is causing several minor issues throughout the root site. This is what happened:
- Connected site to Office 365 Group.
- A week later, someone deleted the 365 group, which then deleted the connected site collection and all of our solutions therein.
- The site collection was subsequently restored, the group was not.
So, are there PowerShell commands or site properties I can use to clear the references to the nonexistent group and either leave the site in classic or allow me to "connect to group" again? Reconnecting to a new office 365 group is my preference.