Forum Discussion

jragan's avatar
jragan
Frequent Visitor
2 years ago
Solved

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...
  • jragan's avatar
    jragan
    2 years ago

    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.