Yeah, that's a really odd problem. I tried using the same machine-id you provided on a Xenial container but was unable to reproduce any of the problems here. The enable operation was successful even using the machine-id with a newline character.
Can you run the following python script and append the result here: -------------- from uaclient.config import UAConfig from uaclient.util import get_machine_id get_machine_id(UAConfig()) ---------------- When I run this, this is the output I am getting on my Xenial machine: '1ec59c1328c24dc88642e5ba37159708\\nf81' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950433 Title: Enabling service results in error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1950433/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs