I am trying to register a data set programmatically using azurecli authentication
What I tried
authentication = AzureCliAuthentication()
workspace = Workspace.from_config( "config.json"), auth=authentication)
store = Datastore.get(workspace, datastore_name)
path = [(store, filePath)]
dataset = Dataset.Tabular.from_delimited_files(path=path)
I am logged in using azure-cli
az login
I am currently the owner of the datastore_name which is a gen2 datalake instance in the same subscription / region as the Azure ML workspace
Question
I get an interactive login each time I get to the
Dataset.Tabular.from_line. How can make it use the azure cli creds ?I plan to use the same python script as part of CI/CD pipeline azurecli task to register the datasets across multiple workspaces