diff --git a/src/quantum/azext_quantum/operations/job.py b/src/quantum/azext_quantum/operations/job.py index bf086815287..bf3cd6ff322 100644 --- a/src/quantum/azext_quantum/operations/job.py +++ b/src/quantum/azext_quantum/operations/job.py @@ -271,7 +271,7 @@ def run(cmd, program_args, resource_group_name=None, workspace_name=None, locati if not job.status == "Succeeded": return job - return output(cmd, job.id, resource_group_name, workspace_name) + return output(cmd, job.id, resource_group_name, workspace_name, location) def cancel(cmd, job_id, resource_group_name=None, workspace_name=None, location=None):