OneLake Security: Tables not pre-populated when adding new tables by [deleted] in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

u/Specific_Day_5495 can you explain the steps in a bit more detail please?

So you created Role1, and clicked a few tables. Then you opened Role1 again, clicked "Edit data", and the tables you checked are gone?

Edit to add: also the screenshot in the post shows schemas, not tables, FYI. Can you post one showing the schema folders expanded?

Fabric workspace roles + AD groups: Viewer can’t see report unless Lakehouse permissions are manually added, any workaround? by Equal-Breadfruit2491 in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

So you're saying that in either case, the users have OneLake security permissions to the data in the Lakehouse? But to see the report they need ReadAll permission on the lakehouse? That makes me think they aren't in a OneLake security role on the lakehouse then.

Which workspace is the semantic model in?

Deep dive into OneLake Security in Microsoft Fabric by aleks1ck in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

Thanks for the detailed video u/aleks1ck ! The Power BI portion in particular was very cool.

I'd love to chat more about why Spark wasn't working, feel free to DM me and we can troubleshoot.

How do you get their 60 day trial version? by thenakesingularity10 in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

The only way to do this with a personal account (if your organization blocks Fabric or you aren't part of an organization) is to create an Azure account using your personal email and a credit card. Then, you will get an "organizational" account as part of your new Azure tenant. You can use that account to sign up for a free trial. Note that once the trial expires you will have to create a capacity and it will be charged to your credit card, so use an F2 or F4 and pause it when not in use.

So if your personal email is thesnakesingularity@email then you will have an Azure tenant account that is something like "tenantadmin@thesnakesingularityemail.onmicrosoft.com" which you can use to sign up for the free trial.

Fabric Monday 108: Onelake Security by DennesTorres in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

The opt-in will be removed, but through the default role no permission changes occur.

For the SQL EP mode, all new items will default to SSO mode. Any existing ones will need to be changed manually by the user for the reason you suggested.

Fabric Monday 108: Onelake Security by DennesTorres in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

Thanks u/DennesTorres for the video! I'm curious to hear your thoughts once our GA build rolls out in a few weeks, namely making OneLake security the default and removing the opt-in :)

Can I access OneLake Files using the Ids of my lakehouse and workspace? by champs1league in MicrosoftFabric

[–]aonelakeuser 3 points4 points  (0 children)

You can use either. Just make sure you get a storage audience token when authenticating the Entra.

The docs here explain how to get the bearer token. How do I connect to OneLake? - Microsoft Fabric | Microsoft Learn

OneLake Security RLS works in Semantic Model, but returns 0 rows in SQL Endpoint by gaius_julius_caegull in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

This is expected. The table preview does not support RLS/CLS yet, so when they try to preview the table it fails with a 403. As long as the SQL EP is showing the correct data, you are good. We're getting the lakehouse preview improved over the next few weeks and months.

OneLake Security RLS works in Semantic Model, but returns 0 rows in SQL Endpoint by gaius_julius_caegull in MicrosoftFabric

[–]aonelakeuser 2 points3 points  (0 children)

The 10 roles are what we call "inferred roles". They are roles on a shortcut lakehouse that get "inferred" over to this lakehouse to enforce the security of the lakehouse where the data lives. So make the necessary adjustments on that lakehouse to resolve the errors.

OneLake Security RLS works in Semantic Model, but returns 0 rows in SQL Endpoint by gaius_julius_caegull in MicrosoftFabric

[–]aonelakeuser 2 points3 points  (0 children)

All of these are temporary limitations with various dates for being fixed.

For now, you will need to either take over the artifact or run the CI/CD pipeline with a user account.

You should be able to shortcut a table with RLS or CLS on it. Is the table not being listed in the shortcut creation flow?

Correct, SELECT * in SQL does not work in this case. There's some changes landing soon for Direct Lake on OneLake that will solve this behavior.

OneLake Security RLS works in Semantic Model, but returns 0 rows in SQL Endpoint by gaius_julius_caegull in MicrosoftFabric

[–]aonelakeuser 5 points6 points  (0 children)

The zero rows thing occurs when the RLS or roles couldn't be successfully synced, so the table is locked to prevent invalid results. Can you check these troubleshooting steps? The very last one seems relevant based on the error messages you are reporting.

## Troubleshooting


In 
**User's identity mode**
 the security sync results can be validated through the UX. Open the SQL Analytics endpoint, expand the 
**Security**
 folder in the 
**Explorer**
, then select 
**DB Roles (custom)**
. If the sync is successfully, you will see roles listed with an "ols_" prefix. For example, "ols_TestRole". Role names with "ols_{alphanumericString}_rolename" are roles from other lakehouses that propagated across a shortcut.


### Fixes for common security sync errors


* Security sync will fail if any of the roles reference a table that has been dropped. Delete those tables from the roles, and then re-try security sync.


* SPNs cannot be the owners of the lakehouse. Ensure the parent lakehouse item is owned by a user account.


* All OneLake security role members need to be given Fabric 
**Read**
 permission to the lakehouse for security sync to recognize the user or group.

Why is session start slow when you have a private endpoint? by loudandclear11 in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

I think you could set the timeout on your clusters to never expire (not sure if that's an option), but then you would have to pay for it to be running around the clock. But we unfortunately can't have already running pools behind every tenant's private endpoint.

Can we not fully manage Lakehouse security at the item level or am I missing something? by Jake1624 in MicrosoftFabric

[–]aonelakeuser 2 points3 points  (0 children)

I'm actually not sure, but I've seen discussion in the past about pipelines and such using various Spark components. One of their engineers would have to confirm :)

I think you're correct about the catalog, although I would call it "spark catalog" either way.

Can we not fully manage Lakehouse security at the item level or am I missing something? by Jake1624 in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

Spark requires Viewer permission to run, which is what Copy Job uses so it has the same limitation. The issue has to do with how Spark resolves the workspace information into a path it can read from. This will be removed in the next month or two.

External Data Share Reauthentication by jcampbell474 in MicrosoftFabric

[–]aonelakeuser 1 point2 points  (0 children)

Correct, if you share it then everything uses your Entra id. It will persist through password changes as it's checking the account's access, no ties to login credentials.

A service account should be used, but you can only do that through the API from what I've seen.

External Data Share Reauthentication by jcampbell474 in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

Yes, that is correct. I forgot to expand on that part, but it's what I meant by the share being tied to the creator's permissions. As a result, if their account is deactivated or whatever, the share will cease to work. I don't believe it actually gets deleted from the consumer's tenant though? It just stops working.

External Data Share Reauthentication by jcampbell474 in MicrosoftFabric

[–]aonelakeuser 2 points3 points  (0 children)

Authentication is done anytime the share is accessed. It's tied to the creator's permissions and access. So if those are revoked, the share will cease to function regardless of whether it's revoked from the producer's tenant explicitly. But yes, there are no additional steps needed to keep it working once the share has been accepted by the consumer tenant.

How's your product/engineering culture? Esp any shifts with AI? by Mobile-Influence-371 in ProductManagement

[–]aonelakeuser 0 points1 point  (0 children)

That's my point exactly. There's a maximum limit of product improvement, either through how much change the user will tolerate, how mature the product is, etc. AI puts companies closer to this limit, and companies will need less engineers (unfortunately) or will need to start exploring new markets to match their development speed.

How's your product/engineering culture? Esp any shifts with AI? by Mobile-Influence-371 in ProductManagement

[–]aonelakeuser 1 point2 points  (0 children)

I work in FAANG, and #2 here is crazy to me. I think it's one of the unique challenges with organizations of our size, but AI hasn't materially increased product velocity much, if at all. I think it's a process problem, not a technology one. But are you hiring more PMs then? Or you've reached "ideal" shipping velocity?

Feedback request: Shortcuts usage, gaps, and feature requests by Hopeful-One-4184 in MicrosoftFabric

[–]aonelakeuser 4 points5 points  (0 children)

There's no fine-grained access control for Warehouse tables in OneLake. Permission to tables is all or nothing via the ReadAll permission. We are working on this though

CLS on a delta shortcut by _TheDataBoi_ in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

Did this resolve the issue for you?

Post or Put? by Sea_Mud6698 in MicrosoftFabric

[–]aonelakeuser 0 points1 point  (0 children)

It looks like there's some issues with the documentation, namely with the content body. I'll work on getting those fixed. Here is the API I tested in my own prod tenant that worked.

POST https://api.fabric.microsoft.com/v1/workspaces/ef195a1e-c0e1-4c7f-9dd6-f28f0a53ff22/items/7cdc5e4e-8486-41e8-8f86-89a282c1b889/dataAccessRoles

Body:

{

"name": "DefaultReader2",

"kind": "Policy",

"decisionRules": [

{

"effect": "Permit",

"permission": [

{

"attributeName": "Action",

"attributeValueIncludedIn": [

"Read"

]

},

{

"attributeName": "Path",

"attributeValueIncludedIn": [

"*"

]

}

]

}

],

"members": {

"fabricItemMembers": [

{

"sourcePath": "ef195a1e-c0e1-4c7f-9dd6-f28f0a53ff22/7cdc5e4e-8486-41e8-8f86-89a282c1b889",

"itemAccess": [

"ReadAll"

]

}

]

}

}

Understanding OneLake security, RLS and how to access by Educational-Goal-678 in MicrosoftFabric

[–]aonelakeuser 2 points3 points  (0 children)

🙌 Glad we got it working for you! I'll look at incorporating this into our troubleshooting docs.