@Steve Cobb
Thank you for your post!
To edit your Tenant's domain name, you'll first have to Add your custom domain name to Azure AD, and then make that domain your Primary domain.
If you're looking to just change your Tenant name, you can do this via Tenant Properties.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.