parallelizing fix when using service principal credentials