Just in case, like me, you are looking here because you have warnings like:
The supplied option --auth-username is not supported and will be ignored
The supplied option --auth-password is not supported and will be ignored
Initially I configured my backup job to use OneDrive for Business, but then could not do any operations afterwards due to limits for OneDrive for Business. I reconfigured the job to use OneDrivev2 which fixed my issues, but then got the errors above.
This happens, as @ts678 suggests above, because “changing types can leave leftovers…”. To clean things up, edit the configuration of the job then choose your previous type (in my case OneDrive for Business), remove the data (username and password) then switch back to your new type before clicking Next through the screens then click Save. If you check the Commandline before and after you should see the extraneous options disappear.