I want to to search for teams in my organisation (using powerShell or other scripting) which have a connector of a certain type configured in one or more channels. I want to use it for some monitoring if team owners follow our guidelines of not configuring certain connectors, in teams with guests or public teams.
If this can be done you probably have to do this through the Microsoft Graph! You can list all teams/groups here, and probably the connectors as well so you have to write something up to get what you want! I'd also post this into the DEV section here on the teams forum!!
You can also if you have defined teams which you want to prohibit certain connectors, disable these on these teams/groups: