r/MicrosoftFabric • ‪ ‪Microsoft Employee ‪ • 25d ago

Community Request Microsoft Fabric Spark Feedback

Hello Fabric Enthusiasts 😄

The Microsoft Fabric Data Engineering team is currently conducting a series of customer and practitioner feedback sessions to better understand real-world experiences with Fabric Spark, including what's working well, current challenges, and areas where the product can be improved.

This would also be a great opportunity for you to interact directly with the product team, share feedback from your experience, and influence future improvements based on real-world usage.

Please fill out this form if you're willing to talk to us - Microsoft Fabric Spark Feedback

Feel free to dm me regarding this!

23 Upvotes

24 comments sorted by

28

u/frithjof_v Fabricator 25d ago • Bravo

I'd love to see Workspace Identity become a first-class authentication option in Fabric notebooks, allowing us to authenticate against more Azure services, data sources and custom APIs.

Currently, notebookutils.credentials.getToken() supports only four predefined audience keys: storage, pbi, keyvault, kusto

Proposed improvements:

Add more predefined audiences

For example, add support for Azure SQL Database:

token = notebookutils.credentials.getToken("sql")

Support arbitrary audiences

Allow users to specify a custom resource URI instead of being restricted to predefined audience keys.

For example:

token = notebookutils.credentials.getToken( "https://my-api.com" )

This would enable Workspace Identity to authenticate against custom APIs and other Entra ID-protected services.

Alternatively, provide a dedicated Python credential class

Expose Workspace Identity through a Python TokenCredential implementation, similar to ManagedIdentityCredential in the Azure Identity SDK.

This would allow Workspace Identity to be used directly with Python libraries that support Azure Identity authentication.

Benefits:

  • Eliminate the need for manually managed service principal credentials.
  • Eliminate the need for Azure Key Vault.
  • Support more Azure services as data sources.
  • Enable authentication against custom APIs.

This is my top request for Spark notebooks (and Python notebooks as well) :)

4

u/jorel43 25d ago

This right here

1

u/lavaniya_h ‪ ‪Microsoft Employee ‪ 25d ago

Thank you for the detailed feedback, if you've not responded to the form, please do if you're interested to talk to us. Your detailed feedback will be valuable to us.

2

u/QixiaoW ‪ ‪Microsoft Employee ‪ 25d ago

u/frithjof_v

we do have a planned update on this, which basically for the interactive run, you should be able to pick the workspace identity and trigger the run, and I believe for current pipeline run, this has been enabled with the new Connection option.

the pending scenario is for the run triggered by Rest API. would you also like have that path enabled?

2

u/frithjof_v Fabricator 25d ago edited 25d ago

Hi u/QixiaoW,

Interactive Run would be great! :)

Triggering runs through the REST API is not a high priority on my personal wish list.

Yes, pipeline runs already work through a connection.

However Workspace Identity only supports a few data sources.

The only way I'm aware of to mint access tokens for a Workspace Identity is using notebookutils.credentials.getToken, which only supports Azure Storage Accounts, Key Vault, Kusto and Pbi audiences.

I'd therefore encourage you to expand Workspace Identity support to more data sources (Azure SQL Database, Entra ID-backed custom APIs, etc.), either through "notebookutils.credentials.getToken()" or a new Python credential class for Fabric Workspace Identity.

That would go a long way towards making Fabric a more self-sufficient platform, with built-in support for credential-free authentication rather than relying on Azure Key Vault to manage credentials.

2

u/QixiaoW ‪ ‪Microsoft Employee ‪ 25d ago

ok. then there are two separate ask here.

  1. support interactive run with WI.
  2. need more audience type support of the getToken method, beside SQL Database and Entra ID-backed custom API, any other source you like to have?
→ More replies (1)

7

u/benamino2 25d ago

User permissions with directlake semantic models are a confusing mess.

The permissions are poorly labelled and don't align well with the concepts defined over 10 years in power bi. Eg Read permission doesn't work, need query execution permissions to see a report's data. Why??

It leads to user confusion and admin embarrassment.

1

u/lavaniya_h ‪ ‪Microsoft Employee ‪ 25d ago

Thank you for the feedback, if you're interested to talk to us, please fill the form, we will reach out to you.

→ More replies (1)

3

u/Mobile_Education5413 25d ago

I would love to provide feedback.

Can I do that here for discussion, or is it form or DM only?

2

u/lavaniya_h ‪ ‪Microsoft Employee ‪ 25d ago

We have a set of questions that we've prepared for this purpose, it would be better if you could book through the form to talk to us.

4

u/[deleted] 25d ago • Bravo

Every time I have to setup permissions on this platform, playing in traffic suddenly becomes an appealing activity.

My biggest issues are permissions for DirectLake and DirectQuery models. The documentation around setting this up for consumers has to be so poor on purpose because I refuse to believe a human wrote this with the intention of being helpful.

Another thing is with the Teams and Outlook pipeline activities. Why are those so poorly implemented? You used to be able to use a service principal to execute them on ADF, now its tied to a connection that only has a single user account. If someone else wants to run or deploy this pipeline, they cant because the stupid connection can't be shared.

1

u/lavaniya_h ‪ ‪Microsoft Employee ‪ 25d ago

Thank you for the feedback, if you're interested to talk to us, please fill the form, we will reach out to you.

7

u/pl3xi0n Fabricator 25d ago

Ansi mode for NEE

5

u/suburbPatterns Fabricator 25d ago

Please add support schema-enabled lakehouses in spark temporary view in spark SQL.

→ More replies (3)

2

u/MonkeyDDataHQ 25d ago

Whatever the RPC context failure is. How it randomly hangs.

It feels like it's running on windows. NEE is frustratingly broken.

I'll fill out the form. But I'd much rather it be with whomever designed the security and identity model spaghetti. 🤣

→ More replies (1)

3

u/ironwaffle452 25d ago

Internal tabs are the worst thing/decision choice ever !!!!

1

u/SentenceSenior7481 24d ago

i kinda like it

1

u/suburbPatterns Fabricator 18d ago

Don't know if it's spark, but it would be cool that notebook support mermaid diagram.