A domain is required in that scenario. The reason for this is EffectiveUserName. The Analysis Services instance has to be on a domain joined machine. And, the gateway has to be on a machine in the same domain, or in a domain where a trust exists.
This works fine in Power BI Desktop as that doesn't use EffectiveUserName to connect.