<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue: Lakeflow Connect Microsoft Teams Community Connector - No module named 'databricks.labs' in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163801#M55188</link>
    <description>&lt;P&gt;Both issues trace back to running on non-serverless compute. Community connectors were designed to run on serverless Spark Declarative Pipelines (SDP), and serverless is on by default in the CLI config for a reason.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The &lt;CODE&gt;No module named 'databricks.labs'&lt;/CODE&gt; error&lt;/STRONG&gt; happens because the pipeline relies on &lt;CODE&gt;root_path&lt;/CODE&gt; (set to the repo's &lt;CODE&gt;src/&lt;/CODE&gt; directory in the workspace) to put &lt;CODE&gt;databricks.labs.community_connector&lt;/CODE&gt; on the Python path. That &lt;CODE&gt;root_path&lt;/CODE&gt; mechanism is specific to serverless DLT. On classic/non-serverless compute, that path isn't added automatically, so the import fails. Adding &lt;CODE&gt;sys.path.insert&lt;/CODE&gt; in the notebook itself can work as a workaround, but only if you point it at the correct workspace path where the repo was cloned, like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-python"&gt;import sys
sys.path.insert(0, "/Workspace/Users/&amp;lt;you&amp;gt;/.lakeflow_community_connectors/&amp;lt;pipeline_name&amp;gt;/src")
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure that path matches where the pipeline's repo was actually checked out (you can find it in the pipeline's notebook location or the Workspace Files browser).&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;UNSUPPORTED_LANGUAGE&lt;/STRONG&gt; error for the generated Python notebook is a separate quirk. The Lakeflow Connect UI generates the pipeline notebook in a format that gets flagged as unsupported when serverless is off. Your workaround of manually recreating the notebook is the right call for now. The "Default file format for notebooks" setting doesn't affect auto-generated pipeline files, which is why changing it didn't help.&lt;/P&gt;
&lt;P&gt;The cleanest path forward, if your network constraints allow it at all, is to use serverless compute. Community connectors just aren't tested or supported on classic clusters, and you'll keep running into friction. If you're blocked on serverless due to a private network/VPC requirement, you'd need to set up a private endpoint for serverless compute, which is a workspace-level network config, not something you can work around in the pipeline itself.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 18:54:43 GMT</pubDate>
    <dc:creator>iyashk-DB</dc:creator>
    <dc:date>2026-07-22T18:54:43Z</dc:date>
    <item>
      <title>Issue: Lakeflow Connect Microsoft Teams Community Connector - No module named 'databricks.labs'</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163789#M55185</link>
      <description>&lt;P&gt;Hi there, I'm trying to run a pretty barebones test here with community connectors. I'm trying out the "vanilla" Microsoft Teams connector by:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;(A) going to the Data Ingestion tab in our workspace,&lt;/LI&gt;&lt;LI&gt;(B) selecting the Microsoft Teams community connector,&lt;/LI&gt;&lt;LI&gt;(C) creating a new basic connection based on what the Microsoft Teams connection requires (connection name, tenant id, client id, client secret), and&lt;/LI&gt;&lt;LI&gt;(D) setting up the ingestion pipeline (pipeline name, event log location, root path).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Very basic stuff.&lt;/P&gt;&lt;P&gt;Additionally, due to the way our network is setup, we can't leverage Serverless, so a small modification needed for us is to go to the pipeline settings (gear icon) &amp;gt; compute &amp;gt; untoggle Serverless. For simplicity, I'm keeping all the default non-serverless settings.&lt;/P&gt;&lt;P&gt;However, even with this extremely basic setup I'm seeing two issues when attempting to Dry run the microsoft teams ingestion pipeline (I have a workaround for the 1st, but not the 2nd issue):&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;1. Failed to load notebook due to error UNSUPPORTED_LANGUAGE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Failed to load notebook '/Users/***/lakeflow_connect/microsoft_teams_pipeline_test1/src/ingest.py'. Only SQL and Python notebooks are supported currently.
UNSUPPORTED_LANGUAGE
Failed to load  notebook '/Users/***/lakeflow_connect/microsoft_teams_pipeline_test1/src/ingest.py'. Only SQL and Python notebooks are supported currently.&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;The default generated ingest.py file is.. well it's a python file of course, but it's not being recognized.&lt;/LI&gt;&lt;LI&gt;I thought this might be due to "Default file format for notebooks" being set incorrectly. I updated it from Jupyter to Source, but I'm still seeing the issue.&lt;/LI&gt;&lt;LI&gt;My workaround here, is to create a new ingest file (notebook), copy the contents of the originally generated ingest.py file into the notebook, go to the pipeline settings (gear icon) &amp;gt; repoint the source code to the new ingest notebook, and run it again.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;2. ModuleNotFoundError: No module named 'databricks.labs'&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianRRL_1-1784735725394.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29321i7CCD27BD46DC090E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristianRRL_1-1784735725394.png" alt="ChristianRRL_1-1784735725394.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This error is pretty self-explanatory&lt;/LI&gt;&lt;LI&gt;There are a few attempted workarounds but &lt;U&gt;&lt;STRONG&gt;none&lt;/STRONG&gt;&lt;/U&gt; have worked so far:&lt;UL&gt;&lt;LI&gt;Approach 1: import sys + sys.path.insert(0, ...)&lt;/LI&gt;&lt;LI&gt;Result 1: No change, same error&lt;/LI&gt;&lt;LI&gt;Approach 2: pip install -e ... + dbutils.library.restartPython()&lt;/LI&gt;&lt;LI&gt;Result 2: No change, same error&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Hunch: I can't personally test this on Serverless, but maybe this works differently between Serverless and non-serverless (job compute I assume)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Not sure if there's something else, I would need to do here with the non-serverless compute configuration to make sure that this runs successfully. If not that, then I have no clue what may be going on.&lt;/P&gt;&lt;P&gt;Would heavily appreciate some assistance with this!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 16:00:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163789#M55185</guid>
      <dc:creator>ChristianRRL</dc:creator>
      <dc:date>2026-07-22T16:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue: Lakeflow Connect Microsoft Teams Community Connector - No module named 'databricks.labs'</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163801#M55188</link>
      <description>&lt;P&gt;Both issues trace back to running on non-serverless compute. Community connectors were designed to run on serverless Spark Declarative Pipelines (SDP), and serverless is on by default in the CLI config for a reason.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The &lt;CODE&gt;No module named 'databricks.labs'&lt;/CODE&gt; error&lt;/STRONG&gt; happens because the pipeline relies on &lt;CODE&gt;root_path&lt;/CODE&gt; (set to the repo's &lt;CODE&gt;src/&lt;/CODE&gt; directory in the workspace) to put &lt;CODE&gt;databricks.labs.community_connector&lt;/CODE&gt; on the Python path. That &lt;CODE&gt;root_path&lt;/CODE&gt; mechanism is specific to serverless DLT. On classic/non-serverless compute, that path isn't added automatically, so the import fails. Adding &lt;CODE&gt;sys.path.insert&lt;/CODE&gt; in the notebook itself can work as a workaround, but only if you point it at the correct workspace path where the repo was cloned, like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-python"&gt;import sys
sys.path.insert(0, "/Workspace/Users/&amp;lt;you&amp;gt;/.lakeflow_community_connectors/&amp;lt;pipeline_name&amp;gt;/src")
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Make sure that path matches where the pipeline's repo was actually checked out (you can find it in the pipeline's notebook location or the Workspace Files browser).&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;UNSUPPORTED_LANGUAGE&lt;/STRONG&gt; error for the generated Python notebook is a separate quirk. The Lakeflow Connect UI generates the pipeline notebook in a format that gets flagged as unsupported when serverless is off. Your workaround of manually recreating the notebook is the right call for now. The "Default file format for notebooks" setting doesn't affect auto-generated pipeline files, which is why changing it didn't help.&lt;/P&gt;
&lt;P&gt;The cleanest path forward, if your network constraints allow it at all, is to use serverless compute. Community connectors just aren't tested or supported on classic clusters, and you'll keep running into friction. If you're blocked on serverless due to a private network/VPC requirement, you'd need to set up a private endpoint for serverless compute, which is a workspace-level network config, not something you can work around in the pipeline itself.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 18:54:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163801#M55188</guid>
      <dc:creator>iyashk-DB</dc:creator>
      <dc:date>2026-07-22T18:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue: Lakeflow Connect Microsoft Teams Community Connector - No module named 'databricks.labs'</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163931#M55205</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/112558"&gt;@iyashk-DB&lt;/a&gt;&amp;nbsp;, cross-posting your solution from the related post:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.databricks.com/t5/data-engineering/lakeflow-community-connector-issue-modulenotfounderror-no-module/m-p/163809/highlight/true#M55190" target="_blank" rel="noopener"&gt;Solved: Re: Lakeflow Community Connector Issue - ModuleNot... - Databricks Community - 163634&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;Resolution Summary: The issue seems to be that since I have my pipeline compute settings using job compute (&lt;STRONG&gt;I toggled Serverless off&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because we can't currently use it in our organization), I was missing a couple of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;U&gt;Pipeline environment Dependencies&lt;/U&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which are now allowing my pipeline to run!&lt;/DIV&gt;&lt;PRE&gt;/Workspace/Users/{username}/lakeflow_connect/microsoft_teams_pipeline_test1
/Workspace/Users/{username}/lakeflow_connect/microsoft_teams_pipeline_test1/src/databricks/labs/community_connector/sources/microsoft_teams&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianRRL_0-1784816934253.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29384i29BB8341C514DEC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristianRRL_0-1784816934253.png" alt="ChristianRRL_0-1784816934253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once both dependencies were added, I was able to finally Dry run the ingest pipeline, troubleshoot some lingering configuration issues, and finally get the ingest pipeline to run:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianRRL_1-1784816933942.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29383i16AB062198EAD55C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChristianRRL_1-1784816933942.png" alt="ChristianRRL_1-1784816933942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help here!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2026 14:31:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-lakeflow-connect-microsoft-teams-community-connector-no/m-p/163931#M55205</guid>
      <dc:creator>ChristianRRL</dc:creator>
      <dc:date>2026-07-23T14:31:54Z</dc:date>
    </item>
  </channel>
</rss>

