SharePoint Online allows you to modify the document library by adding additional fields to expand the view for the library. One of these is called “Shared With.” If you wonder what it shows, look no further: here is a detailed explanation.
Recently we needed to retrieve a list of SharePoint site collections associated with our Microsoft Teams.This proved more difficult than we anticipated and could not find a straightforward solution. So in case somebody else stumbles upon this.
This is a developer-oriented post, so a basic understanding of OAuth2 and Azure Active Directory authentication is required.
If it were up to Microsoft, farm solutions would be long forgotten, and not without a good reason.