If the script succeeds, it means that your machine is able to connect to the XMLA endpoint using the Microsoft client libraries. If, simultaneously, you're not able to connect using Tabular Editor, ...
Note The described workaround isn't officially supported by Microsoft. There's no guarantee that it works for every model. Specifically, if you've added custom partitions or other objects listed here, ...