Hi,
If they created a domain "company.local " instead of "company.com" it's not a problem. You can fix it by adding a additional UPN suffix "company.com" in your on-premisis AD. The link below can help you:
Prepare-a-non-routable-domain-for-directory-synchronization
Check also if your domain name is configured in azure based on the following link:
Add your custom domain name using the azure active directory portal
Please don't forget to mark helpful reply as answer