Note, with the Exchange Online Archive (EOA) service, you are unable to login to OWA and change the domain type.  Instead you must use remote powershell:

Set-AcceptedDomain contoso.com -DomainType internalrelay