When invoking `az.getCredential()` it will fail while calling it from a resource group works just fine. ```text Cannot read private member #credentialFactory from an object whose class did not declare it ```