Forum Discussion
jragan
2 years agoFrequent Visitor
Access OneLake Storage from Runbook
Hello, I would like to write a CSV or Parquet directly into OneLake storage from a runbook. I am using the following code in the runbook: $ctx = New-AzStorageContext -StorageAccountName 'onela...
GilbertQ
2 years agoSuper User
Hi jragan
As far as I am aware, it is currently not supported to use managed identities or automation accounts into one lake. You might. be able to do this using your account, which I know is not great, but that is the only current workaround I am aware of.
jragan
2 years agoFrequent Visitor
GilbertQ After a lot of trial and error and following dark paths into rabbit holes, I came across this Post which highlights the new Tenant option to allow Service Principal Authentication.
once I enabled it and granted my Service Principal, the code in my OP executed perfectly.