<?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: Need help: Databricks Apps in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178840#M12762</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195849"&gt;@suranga&lt;/a&gt; this is very helpful. How about apps service principal? How can I tell our admin to provide an access to it? My app has 2 options 1 is user authorization and 1 for SP. Currently the user authorization is working while SP is still pending and I am having a difficulties to explain it with the admin on how to provide an access to the schema and tables.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2026 01:22:50 GMT</pubDate>
    <dc:creator>MarcusDB</dc:creator>
    <dc:date>2026-12-05T01:22:50Z</dc:date>
    <item>
      <title>Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178711#M12756</link>
      <description>&lt;P&gt;Can someone please help me on how can I give access to my colleagues to my databricks apps. My colleagues are none databricks users and I want them to access the apps even without workspace access..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2026 12:51:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178711#M12756</guid>
      <dc:creator>MarcusDB</dc:creator>
      <dc:date>2026-12-04T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178821#M12758</link>
      <description>&lt;P&gt;Hi Marcus, short answer: they don't need workspace access, but they do need to be users in your Databricks account. Databricks Apps can't be made public, and anonymous access that skips single sign-on isn't supported.&lt;/P&gt;&lt;P&gt;What works:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Make sure your colleagues are account users.&lt;/STRONG&gt; If your identity provider is synced to Databricks (SCIM or just-in-time provisioning), they may already be there. Otherwise an account admin adds them.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Share the app with them.&lt;/STRONG&gt; On the app's overview page, click Share and give them (or better, a group) &lt;STRONG&gt;CAN USE&lt;/STRONG&gt;. That's enough to open the app, even without access to any workspace. "Anyone in my organization can use" gives CAN USE to all account users, if that's what you want.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Optional: give them consumer access.&lt;/STRONG&gt; With the Consumer access entitlement instead of Workspace access, they get Databricks One, a simpler view where the apps shared with them show up under Apps.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;One thing to check: if your app uses user authorization, it runs with each person's own permissions, so they also need Unity Catalog grants on the data the app reads. With app authorization, the app's service principal does the data access instead.&lt;/P&gt;&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/permissions" target="_blank" rel="noopener"&gt;Configure permissions for a Databricks app&lt;/A&gt;, &lt;A href="https://docs.databricks.com/aws/en/ai-bi/consumers" target="_blank" rel="noopener"&gt;Consumer access&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2026 19:07:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178821#M12758</guid>
      <dc:creator>suranga</dc:creator>
      <dc:date>2026-12-04T19:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178840#M12762</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/195849"&gt;@suranga&lt;/a&gt; this is very helpful. How about apps service principal? How can I tell our admin to provide an access to it? My app has 2 options 1 is user authorization and 1 for SP. Currently the user authorization is working while SP is still pending and I am having a difficulties to explain it with the admin on how to provide an access to the schema and tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2026 01:22:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178840#M12762</guid>
      <dc:creator>MarcusDB</dc:creator>
      <dc:date>2026-12-05T01:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178848#M12763</link>
      <description>&lt;P&gt;Databricks App runs inside the Databricks account and every request is authenticated. App users do not need to be members of the workspace. Account only users are effectively view only consumers - they can use apps and shared content but cannot see no workspace notebooks, data or navigation.&lt;/P&gt;&lt;P&gt;You can get your colleagues recognized by the account first via identity federation. Account admin can sync users from your identity provider (Entra ID etc) using account level SCIM provisioning or user based Just in time provisioning so they are recognized on first sign in (without adding them to the workspace). Then as the &lt;STRONG&gt;app owner&lt;/STRONG&gt;, you can grant them &lt;STRONG&gt;CAN_USE&lt;/STRONG&gt;.&amp;nbsp;You can do this in the &lt;STRONG&gt;UI&lt;/STRONG&gt; (app Overview page - Click Share - Choose user/group - Select CAN_USE). You can prefer granting it to a group instead of individuals - onboarding and offboarding can be handled by the identity provider.&amp;nbsp;&lt;SPAN&gt;When they open the app URL - they authenticate via SSO and land in the app.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;More details &lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/permissions/" target="_blank"&gt;here&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2026 04:51:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178848#M12763</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-12-05T04:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178883#M12764</link>
      <description>&lt;P&gt;Hi Marcus, for your service principal follow-up, ask your admin to grant permissions to the dedicated service principal created automatically for your app.&lt;/P&gt;&lt;P&gt;You can find its ID on the app Authorization tab. Your personal permissions do not automatically transfer to that identity.&lt;/P&gt;&lt;P&gt;For an app that reads a Unity Catalog table through a SQL warehouse, it needs:&lt;/P&gt;&lt;P&gt;- CAN USE on the SQL warehouse.&lt;BR /&gt;- USE CATALOG on the parent catalog.&lt;BR /&gt;- USE SCHEMA on the parent schema.&lt;BR /&gt;- SELECT on the required table.&lt;/P&gt;&lt;P&gt;For example, if the app reads production.reporting.sales_summary, an admin or another principal authorized to grant these permissions can run:&lt;/P&gt;&lt;P&gt;GRANT USE CATALOG ON CATALOG production&lt;BR /&gt;TO `&amp;lt;app-service-principal-application-id&amp;gt;`;&lt;/P&gt;&lt;P&gt;GRANT USE SCHEMA ON SCHEMA production.reporting&lt;BR /&gt;TO `&amp;lt;app-service-principal-application-id&amp;gt;`;&lt;/P&gt;&lt;P&gt;GRANT SELECT ON TABLE production.reporting.sales_summary&lt;BR /&gt;TO `&amp;lt;app-service-principal-application-id&amp;gt;`;&lt;/P&gt;&lt;P&gt;Replace the placeholder with the service principal application ID. Keep the backticks around it.&lt;/P&gt;&lt;P&gt;For warehouse access, add the SQL warehouse under app Settings &amp;gt; Resources and select Can use. This permission is separate from the table grants above.&lt;/P&gt;&lt;P&gt;Also check that the service principal branch of your app actually uses app authorization. If it still forwards the logged-in user token, granting permissions to the service principal will not change that request. Databricks provides OAuth credentials automatically inside the app runtime, so you do not need a personal access token.&lt;/P&gt;&lt;P&gt;After these changes, test the same table query through the app using its service principal option.&lt;/P&gt;&lt;P&gt;Use this approach when all approved app users should access the same data. If access must vary by user, keep user authorization for those queries.&lt;/P&gt;&lt;P&gt;Official references:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/sql-warehouse" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/sql-warehouse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/data-governance/unity-catalog/access-control/privileges-reference" target="_blank"&gt;https://docs.databricks.com/aws/en/data-governance/unity-catalog/access-control/privileges-reference&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2026 19:04:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178883#M12764</guid>
      <dc:creator>tajamulkhan</dc:creator>
      <dc:date>2026-12-05T19:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need help: Databricks Apps</title>
      <link>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178892#M12767</link>
      <description>&lt;P&gt;hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/276012"&gt;@MarcusDB&lt;/a&gt;&amp;nbsp; , for the service principal mode the admin grants Unity Catalog access to the app's own service principal (not to you), and your SP code path has to authenticate with the app's credentials instead of the user's token. Below is a message you can forward to your admin as-is, plus the code check on your side.&lt;/P&gt;&lt;P&gt;Message for your admin:&lt;/P&gt;&lt;P&gt;"My Databricks App &amp;lt;app name&amp;gt; has its own service principal (it has the same name as the app; its application ID is on the app's Authorization tab). Please grant it:&lt;/P&gt;&lt;P&gt;- USE CATALOG on catalog &amp;lt;catalog&amp;gt;&lt;/P&gt;&lt;P&gt;- USE SCHEMA and SELECT on schema &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt; (SELECT on the schema covers all current and future tables in it, so no per-table grants are needed)&lt;/P&gt;&lt;P&gt;- CAN USE on SQL warehouse &amp;lt;warehouse name&amp;gt;&lt;/P&gt;&lt;P&gt;In Catalog Explorer: open the catalog/schema, Permissions tab, Grant, search for the app name, tick the privileges. For the warehouse: SQL Warehouses, the warehouse, Permissions, add the same service principal with Can use."&lt;/P&gt;&lt;P&gt;Or in SQL:&lt;/P&gt;&lt;P&gt;GRANT USE CATALOG ON CATALOG &amp;lt;catalog&amp;gt; TO `&amp;lt;app-sp-application-id&amp;gt;`;&lt;/P&gt;&lt;P&gt;GRANT USE SCHEMA, SELECT ON SCHEMA &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt; TO `&amp;lt;app-sp-application-id&amp;gt;`;&lt;/P&gt;&lt;P&gt;Once the warehouse permission is in place, add the warehouse as a resource on the app (Edit, App resources, SQL warehouse, Can use) so its ID is passed to the app.&lt;/P&gt;&lt;P&gt;On your side, make sure the SP option really uses the app's identity. The user option reads the forwarded user token, the SP option should use the default credentials Databricks injects into the app:&lt;/P&gt;&lt;P&gt;from databricks.sdk.core import Config&lt;/P&gt;&lt;P&gt;from databricks import sql&lt;/P&gt;&lt;P&gt;import os&lt;/P&gt;&lt;P&gt;cfg = Config()&amp;nbsp; # picks up the app service principal's client ID/secret automatically&lt;/P&gt;&lt;P&gt;conn = sql.connect(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; server_hostname=cfg.host,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; http_path=f"/sql/1.0/warehouses/{os.getenv('DATABRICKS_WAREHOUSE_ID')}",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; credentials_provider=lambda: cfg.authenticate,&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;If the SP branch still passes access_token=request.headers.get("x-forwarded-access-token"), it is running as the user, and the grants above won't change anything.&lt;/P&gt;&lt;P&gt;To verify: run the same query through the SP option. A PERMISSION_DENIED that names the service principal means a grant is still missing; it tells you which object.&lt;/P&gt;&lt;P&gt;Docs: &lt;A href="https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/databricks-apps/auth&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2026 20:47:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/need-help-databricks-apps/m-p/178892#M12767</guid>
      <dc:creator>SumeshKashyap</dc:creator>
      <dc:date>2026-12-05T20:47:41Z</dc:date>
    </item>
  </channel>
</rss>

