You need to provide more information about your configuration.
Are you using powershell to setup a remote Virtual Machine on Office 365 connector for tenants or in Azure directory to set it up for your customer ?
I am asking this because there is different role and attribution for Administrator, Sub Administrator, and authorisation and parameters need to be set prior running the command, in your case, you can try to connect the VM first without a password, test it yourself, then add the parameter for remote control by another user in your active role management.
Can you be more specific please.
Thank you,
Regards, Armand B.
Manually Configure DNS Access Settings
Office 365: Office 365 Groups and domain removals