Forum Discussion
setting onelake security column level security programmatically
- 9 months ago
Hi kjetil_hamre,
Welcome to the fun of preview features - don't try and push this into production until it becomes GA.
This is interesting, the error message you are getting states that lakehouses with schemas (also in preview and should not be in use in production) aren't supported, but the documentation seems to say otherwise:
Are you able to do this via the UI at all?
https://learn.microsoft.com/en-us/fabric/onelake/security/get-started-onelake-securityIf you can, there might be a bug with the API.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
The first link is to the documentation I was looking for! Thank you. I am now able to set column level security on specific columns in the lakehouse. Just what I was looking for. As for the schema enabled lakehouse there might be a bug, but otherwise it works. Thanks!!!
regards,
Kjetil