Once configured my VM with Ubuntu 18.04 and joined to an AD domain, when trying to do sudo operation with my domain user, the error message is always:
"domainuser is not in the sudoers file. this incident will be reported."
I have an AD group with a domain user that can do sudo operations, and
I have also configured the group in visudo and in sssd.conf.
The VM is querying the domain successfully, and I can view it with 'kinit' or 'id' operation with my domain user.