The connector_spec.yaml isn't what controls the UI for custom connectors. When you use the "Add Custom Community Connector" path in the workspace UI, Databricks shows a generic connection form with all available auth types. That form is the same for every custom connector regardless of what's in your spec file.
The reason the Microsoft Teams connector looks different is that Teams is an officially registered connector on the Databricks platform. Its connection form is rendered from Databricks' own UI definitions, not from the community repo's connector_spec.yaml.
Your connector_spec.yaml is read and enforced by the CLI tool, not the UI. The CLI (community-connector create_pipeline) reads the spec to validate that the connection options you pass actually match what the connector expects, and it uses the external_options_allowlist to populate the UC connection correctly. The UI flow bypasses all of that.
So the short answer is: there's no way to make the "Add Custom Community Connector" UI respect your spec's connection parameters the same way Teams does. The way around it is to use the CLI to set up your connector:
cd tools/community_connector
pip install -e .
community-connector create_pipeline <your_source> <pipeline_name> -n <connection_name> --repo-url https://github.com/your-org/your-repo
This path does use connector_spec.yaml to validate your connection options and wire up the pipeline correctly.